The Expert Advisor Exp_AMkA based on signals of the AMkA indicator. The signal is formed when a bar is closing if there is a new colored point and the last, the previous and colored points were of a different color.
Place AMkA.ex5 compiled file to the terminal_data_folder\MQL5\Indicators.
Default Expert Advisor's input parameters have been used during the tests shown below. Stop Loss and Take Profit have not been used during the tests.
Fig. 1. The instances of history of deals on the chart.
Testing results for 2011 at NZDUSD H4:
Fig. 2. Charts of testing results
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/1064
The Expert Advisor tries "to catch" rollbacks after a strong movement. Candlestick analyses is usediMa_HTF
Good old Moving Average drawn using DRAW_SECTION style is a usual mean to draw ZigZag. Time Frame on which it is calculated can be set in input parameters. That is why such an unusual style of drawing is used.