Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2014.01.16 11:26

BlauErgodicMDI - indicator for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

votes: 20

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".

The BlauErgodicMDI indicator

The BlauErgodicMDI indicator

Translated from Russian by MetaQuotes Software Corp.
Original code:


Two pairs of support and resistance levels based on the candlesticks of the timeframe specified in the input parameters.


The indicator fixes the moments when the volatility of the financial asset takes to a minimum value and puts colored dots on the chart in the middle of the range of the candlestick movement.


Three Commodity Channel Index indicators from three different timeframes displayed on the same chart.

RS_session RS_session

The indicator allows to use a special background color for marking the price chart in the period of day selected in the input parameters.