A trading system based on the signals of the 2XMA_Ichimoku_Oscilator indicator. The signal is formed when a bar is closing if the indicator direction has changed.
For the generated EA to operate correctly, the compiled files of indicators XMA_Ichimoku.ex5 and 2XMA_Ichimoku_Oscillator.ex5 in the <terminal_data_directory>\MQL5\Indicators folder.
Note that library file TradeAlgorithms.mqh is designed for using EAs with the brokers that offer a nonzero spread and a possibility to set Stop Loss and Take Profit simultaneously with opening a position. You can download the other versions of this library at Trade Algorithms.
The EA default input parameters were used in tests below. Stop Loss and Take Profit were not used in testing.
Fig. 1. Example trades on the chart
Testing results for GBPUSD H1 over the year 2016:
Fig. 2. Testing results chart