This is a classic trading strategy based on two Moving Averages crossover. Buys when fast MA crosses slow MA from below and sells when fast MA crosses slow MA from above.
This code can be used in both MetaTrader5 and MetaTrader4.Β Just change the file extension from .mq5 to .mq4Β and compile the file in MetaEditor.
This expert advisor is designed withΒ visual strategy builder –Β Mission Automate. Code is generated automatically. More info:Β
This EA is available as a template in a free demo version, so you can easily modify / customise it without programming.