RobotFX curates the best open-source MetaTrader code to inspire your trading automation.
The indicator is drawn as a colored cloud between a price and its double averaging.
The indicator uses SmoothAlgorithms.mqh library classes (must be copied to the terminal_data_folder\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".
Originally this indicator has been written in MQL4 and was first published in the Code Base on 22.10.2007.
Trade the powerful Traders Dynamic Index strategy automatically with this dedicated TDI Expert Advisor. More details.

Figure 1. Indicator XDPO
Level up your trading with professional RobotFX expert advisors and indicators. Visit www.robotfx.org for proven MT4/MT5 tools.
2100