Trading signals are generated based on a comparison of two trend indicators: iMA (Moving Average, MA) and iSAR (Parabolic SAR). The EA works on the zero bar, only one position can be open. Position trailing.
Input parameters are divided into two groups. The main group contains trading settings:
Indicator parameters are set in the second group. A different timeframe can be specified in indicator settings.
Results of testing in the "Every tick" mode on EURUSD, H1:
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/19608
The Expert Advisor trades using the "Japanese Doji Candlestick" pattern.Dealers Trade v 7.91 ZeroLag MACD
A further development of code "Dealers Trade v 7.74 MACD" (https://www.mql5.com/en/code/19535). "Zero-lag MACD" (https://www.mql5.com/en/code/170) is used. When the number of positions increases, the following is also increased: step between positions, lot size, take profit (martingale).