Author: Andrey N. Bolkonsky
Stochastic Index (normalized smoothed q-period Stochastic) by William Blau, described in the book Momentum, Direction, and Divergence: Applying the Latest Momentum Indicators for Technical Analysis.
The values of q-period smoothed Stochastic is normalized and mapped into the [0,+100] interval. It allows to determine the overbought/oversold of the market.

Stochatic Index Indicator by William Blau
Calculation:
The Stochastic Index Indicator is calculated by formula:
100 * EMA(EMA(EMA( price-LL(q) ,r),s),u) 100 * TStoch(price,q,r,s,u)
TStochI(price,q,r,s,u) = ------------------------------------------------- = ----------------------------------
EMA(EMA(EMA( HH(q)-LL(q) ,r),s),u) EMA(EMA(EMA( HH(q)-LL(q) ,r),s),u)
where:
if EMA(EMA(EMA(HH(q)-LL(q),r),s),u)=0, the TStochI(price,q,r,s,u)=0.
Input parameters:
Note:
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/364
Stochastic Indicator Blau_TStoch
Stochastic Indicator (smoothed q-period Stochastic) by William Blau.
Blau_Ergodic
Ergodic Oscillator by William Blau.
Stochastic Oscillator Blau_TS_Stochastic
Stochastic Oscillator by William Blau.
Stochastic Momentum Blau_SM
Stochastic Momentum by William Blau.