How to close trade on MA crossover? To add comments, please log in or register

Dear all,

I would like to know how can I tell my EA to close the trade on (or after) MA crossover? So, when I have a buy order and 10EMA crosses below 20EMA I close the order.

The problem here is that a lot of times the Fast EMA crosses below Slow EMA for just a second and then continues up. This can’t be considered the real crossover.

Don’t look at the forming bar’s values.