Author: Andrey N. Bolkonsky
Candlestick Momentum Index (CMI, based on Candlestick Momentum Indicator) is described by William Blau in the book "Momentum, Direction, and Divergence: Applying the Latest Momentum Indicators for Technical Analysis".
The values of Candlestick Momentum Indicator are normalized (by absolute values) and mapped into the [-100,+100] interval. Due to normalization, the positive values of CMI correspond the overbought states of the market, the negative values correspond to the oversold states of the market.

Candlestick Momentum Index
Calculation:
The Candlestick Momentum Index is calculated by formula:
100 * EMA(EMA(EMA( cmtm(price1,pric2,q) ,r),s),u) 100 * CMtm(price1,pric2,q,r,s,u)
CMI(price1,price2,q,r,s,u) = –––––––––––––––––––––––––––––––––––––––––––– = –––––––––––––––––––––––––––––––––––––––––
EMA(EMA(EMA( |cmtm(price1,pric2,q)| ,r),s),u) EMA(EMA(EMA( |cmtm(price1,pric2,q)| ,r),s),u)
if EMA(EMA(EMA(|cmtm(price1,pric2,q)|,r),s),u)=0, then CMI(price1,price2,q,r,s,u)=0
where:
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/378
Candlestick Momentum Blau_CMtm
Candlestick Momentum Indicator by William Blau.
Ergodic MACD Oscillator Blau_Ergodic_MACD
Ergodic MACD Oscillator by William Blau.
Candlestick Index Blau_CSI
Candlestick Index (CSI) Indicator by William Blau.
Ergodic CMI-Oscillator Blau_Ergodic_CMI
Ergodic CMI-Oscillator by Willam Blau.