Single moving average ea
-
please how do l set this below EA up

-
Here you have it:
-
thanks but l have few questions
1.what is "once per bar"
2.why candle is greater than (>) MA, and MA period is 2100 and not 100
3.why candle ID is set to 1 and not 0 -
-
That block is limiting the number of executions of all blocks below it. This means that both conditions blocks and the sell now bloc will be checked just once per bar, ie the first tick opening a new candle.
-
My mistake, LOL. It should be 100 and not 2100.

-
If you use candle ID 0 weird results can happen because it is the current candle right now, whereas candle ID 1 is the the previous candle. At it is definitely closed, comparison will be more reliable.
-
-
thank you so much
-
please l correct another thing as well, you put candle "is above" (>) MA 100 but l change it to "is below" (<) MA 100 for sell EA and just want to be sure am correct

-
Well seen. That's correct.
