Author: Andrey N. Bolkonsky
Ergodic DTI-Oscillator (based on Directional Trend Index) is described by William Blau in the book "Momentum, Direction, and Divergence: Applying the Latest Momentum Indicators for Technical Analysis".

Ergodic DTI-Oscillator by William Blau
Calculation:
The Ergodic DTI-Oscillator is defined as follows:
Ergodic_DTI(q,r,s,u) = DTI(q,r,s,u)
SignalLine(q,r,s,u,ul) = EMA( Ergodic_DTI(q,r,s,u) ,ul)
where:
Translated from Russian by MetaQuotes Ltd.
Original code: /ru/code/385
Directional Trend Index Blau_DTI
Directional Trend Index (DTI) Indicator by William Blau.
Composite High/Low Momentum Blau_HLM
Composite High-Low Momentum Indicator by William Blau.
BrainTrend2
BrainTrend2 is an indicator of the market trends that assigns colours to candlesticks according to the trend direction.
BrainTrend2Sig
BrainTrend2Sig is an indicator of the market trends that assigns colors to candlesticks according to the trend direction.