MOVING AVERAGE CROSS 2ND TIME
-
Hi friends,
My EA wants to place the order when the moving averages (FMA & SMA) cross happens for the SECOND time. Please advise which block would be ideal to form this.? Below is the screenshot of the EA.

-
You will likely need a variable to add up the crosses, then if variable = 1 we take trade and reset variable.
-
@jstap Can you explain it please because I created a robot that trade when the moving averages cross, but the robot automatically begins to trade when I open Mt4, I would like it to wait until the next cross please
-
@jstap Btw I am a complete beginner
-
Set up a small test project, just doing the first cross and adding into a variable, display this in a comment. once working, adjust to reset to 0 when the cross = 2, this way you can watch on back test and vissualy check it's what you want.