RobotFX curates the best open-source MetaTrader code to inspire your trading automation.
Indicator Directional Trend Index from the book "Momentum, Direction and Divergence" by William Blau, implemented in the form of a color histogram.
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".

Trade Renko charts automatically using the advanced Renko Expert Advisors. Clean trends, better entries. Discover them here.
Fig.1. BlauHLM Indicator
Level up your trading with professional RobotFX expert advisors and indicators. Visit www.robotfx.org for proven MT4/MT5 tools.
2421