The Expert Advisor uses two MACD indicators. The first MACD is used to find the deal entry, the second is used to determine the trend.
The money management is based on the fixed part and martingale system with limited number of doubles.
The libraries must be placed to the terminal_data_folder\MQL5\Include folder of the client terminal.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/155
The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.Average Directional Movement Index (ADX)
The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.