I observe a very interesting phenomenon. I found an indicator whose value of the previous candle correlates well with the direction of the current candle. For example, if the indicator value of a candle with index 3 is greater than 0, then it is more likely that the candle with index 2 will be “green”. If less than 0, then red. Spearman’s correlation, at different stages, is from 0.7 to 0.76. It follows that at the time of the birth of the candle, if the indicator of the candle with index 1 is greater than zero, then it is more likely that the candle will be “green”. And Vice versa. Below, a graphical representation of the correlation.
I wrote an expert Advisor that has a very simple logic. At the moment of the appearance of the candle, it looks at what the indicator of the candle with the index 1 is equal to, and accordingly opens a position. When the next candle appears, it decides to leave the position or close and open in the other direction.
It would seem logical that the permanent work of the adviser, he should earn more than squander. It can be improved so that it opens a position only if the indicator shows a sufficiently large value.
The question is, why, despite the seemingly obvious, the adviser does not earn, but revolves around the initial Deposit?