Variable Index Dynamic Average (VIDYA) technical indicator was developed by Tushar Chande.
It is an original method of calculating the Exponential Moving Average (EMA) with the dynamically changing period of averaging. Period of averaging depends on the market volatility; as the measure of volatility Chande Momentum Oscillator (CMO) was chosen.
This oscillator measures the ratio between the sum of positive increments and sum of negative increments for a certain period (CMO period). CMO value is used as the ratio to the smoothing factor EMA. Thus VIDYA has to setup parameters: period of CMO and period of EMA.
Usually not VIDYA itself is used in trading systems, but its upper and lower borders (Upper band & Lower band), that are by N% above and below VIDYA. Interpretation of the indicator for receiving trade signals in this form is performed similar to Bollinger Bands ®.
Variable Index Dynamic Average Indicator
The standard Exponential Moving Average is calculated according to the below formula:
The value of Variable Index Dynamic Average is calculated in the analogous way using CMO:
The value of CMO is calculated according to the below formula:
TEMA can be used instead of traditional moving averages. It can be used for smoothing price data, as well as for smoothing other indicators.Double Exponential Moving Average (DEMA)
It is used for smoothing price series and is applied directly on a price chart of a financial security.
It's an oscillator of the overbought/oversold market conditions. It can also be used as the Momentum indicator. Triple smoothing is used for removing the cyclic components in price movements with the period less than that of TRIX.MovingAverages
The MovingAverages library contains functions for calculation of different types of moving averages.