Home Technical Indicator Post

Understanding the Variable Index Dynamic Average (VIDYA) for MetaTrader 5

Attachments
75.zip (1.25 KB, Download 0 times)

The Variable Index Dynamic Average (VIDYA) is a unique technical indicator crafted by Tushar Chande that every trader should have on their radar.

Unlike the standard Exponential Moving Average (EMA), VIDYA features a dynamically changing averaging period based on market volatility. This volatility is gauged using the Chande Momentum Oscillator (CMO).

The CMO measures the ratio of positive price changes to negative price changes over a specified period. This value is then utilized as the smoothing factor for the EMA, which means you'll need to set parameters for both the CMO and EMA periods when using VIDYA.

How to Use VIDYA

Typically, traders don't solely rely on VIDYA itself but rather on its upper and lower bands, which are set N% above and below the VIDYA line. This interpretation is akin to how you’d analyze Bollinger Bands® for trade signals.

Variable Index Dynamic Average Indicator

Variable Index Dynamic Average Indicator

How is VIDYA Calculated?

The standard Exponential Moving Average is calculated using the following formula:

EMA(i) = Price(i) * F + EMA(i-1) * (1 - F)

Where:

  • F: Smoothing factor = 2 / (Period_EMA + 1);
  • Period_EMA: The length of the EMA period;
  • Price(i): Current price;
  • EMA(i-1): Previous EMA value.

The VIDYA value is then calculated similarly using the CMO:

VIDYA(i) = Price(i) * F * ABS(CMO(i)) + VIDYA(i-1) * (1 - F * ABS(CMO(i)))

Where:

  • ABS(CMO(i)): Absolute value of the current Chande Momentum Oscillator;
  • VIDYA(i-1): Previous VIDYA value.

Finally, the CMO itself is calculated using this formula:

CMO(i) = (UpSum(i) - DnSum(i)) / (UpSum(i) + DnSum(i))

Here:

  • UpSum(i): Current sum of positive price changes over the period;
  • DnSum(i): Current sum of negative price changes over the period.

Related Posts

Comments (0)