If you use bars zero and one, you might see multiple crosses as price moves up and down. You might see a cross and uncross leading to a false trade.
If you use bars one and two, price has definitely crossed.
You use zero and one but only look at the start of a new bar. That means the difference between the open and the previous bar's close. Of course, you are delayed a bar.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello everyone, the title says it all. I'm trying to develop an EA that detects two moving averages crossover and open a trade at that point of intersection. All is going well except that the trade is happening some two or three candles late as seen on the graph (I've attached a photo of that). The point of intersection itself is detected late.