Idea Contributor — John Smith, MQL5 Code Author — barabashkakvn.
This EA is designed to trade the following currency pairs:
- AUDCAD
- AUDJPY
- AUDNZD
- AUDUSD
- CHFJPY
- EURAUD
- EURCAD
- EURCHF
- EURGBP
- EURJPY
- EURUSD
- GBPCHF
- GBPJPY
- GBPUSD
- NZDUSD
- USDCAD
- USDCHF
- USDJPY
This EA employs trailing stops for open positions and utilizes signals from two Moving Averages (MA). You have the flexibility to adjust various indicator parameters, including the averaging period, horizontal shift, smoothing type, and the price type. This means you can thoroughly backtest the strategy using a wide range of settings. The EA operates during specific hours of the day and analyzes every tick, but it relies on the indicator values from the bar with the Signal Candle index.
For instance, when trading the EURUSD on the M5 timeframe over the period from January 1, 2016, to February 28, 2017, with an initial balance of 3000, the results are as follows:

Comments 0