Author: Andrey N. Bolkonsky
Stochastic Indicator (smoothed q-period Stochastic) by William Blau is based on Stochastic Indicator (see Momentum, Direction, and Divergence: Applying the Latest Momentum Indicators for Technical Analysis).
It shows the distance between the close price and lowest price of the q bars. The numerical value of Stochastic shows the price position relative to the lowest price of the period (q bars), the values are >=0.


Stochastic Indicator Blau_TStoch
Calculation:
The following formula is used for the calculation of q-period Stochastic:
stoch(price,q) = price - LL(q)
The smoothed q-period stochastic is calculated as follows:
TStoch(price,q,r,s,u) = EMA(EMA(EMA( stoch(price,q) ,r),s),u)
where:
Input parameters:
Note:
Translated from Russian by MetaQuotes Ltd.
Original code: /ru/code/363
Blau_Ergodic
Ergodic Oscillator by William Blau.
Blau_TSI
True Strength Index (TSI) indicator by William Blau.
Stochastic Index Blau_TStochI
Stochastic Index Indicator (normalized smoothed q-period Stochastic) by William Blau.
Stochastic Oscillator Blau_TS_Stochastic
Stochastic Oscillator by William Blau.