New free code from MQL5: indicators, EAs, and scripts for traders.
The Ergodic MDI Oscillator from the book "Momentum, direction and divergence" by William Blau, implemented in the form of a color histogram with a signal line implemented as a colored cloud.
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".

Never miss news-driven moves – use the News OCO Expert Advisor to place pending orders safely around economic releases. Find out more.
The BlauErgodicMDI indicator
Thanks for reading. Discover premium MetaTrader solutions at RobotFX.
1958