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

Ergodic CSI-Oscillator by William Blau
Calculation:
The CSI Oscillator is defined as follows:
Ergodic_CSI(price1,price2,q,r,s,u) = CSI(price1,price2,q,r,s,u)
SignalLine(price1,price2,q,r,s,u,ul) = EMA( Ergodic_CSI(price1,price2,q,r,s,u) ,ul)
where:
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/381
Ergodic CMI-Oscillator Blau_Ergodic_CMI
Ergodic CMI-Oscillator by Willam Blau.
Candlestick Index Blau_CSI
Candlestick Index (CSI) Indicator by William Blau.
Composite High/Low Momentum Blau_HLM
Composite High-Low Momentum Indicator by William Blau.
Directional Trend Index Blau_DTI
Directional Trend Index (DTI) Indicator by William Blau.