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
Dual Trix Upgrade 1.MACD - Any higher timeframe
This indicator is based on simple MACD but allows you to choose also timeframe of indicator, different from current. You can choose current timeframe of chart (then indicator shows the same values as common MACD) or any higher timeframe.