MA Cross reversal

 

Hi everyone,


I want to add the program linked below that each time the MA crosses, the bot revert the opened trade.


Example:

MA 9 cross MA 21 in long -> open a trade long

MA 9 cross MA 21 in short -> close the long trade and open the short trade

MA 9 cross MA 21 in long -> close the short trade and open the long trade


Can someone help me introducing this condition on this program?


Thank you in advance!

Mattia

Files: