Variable Moving Average (VMA/VIDYA)

Technical Indicators
intermediate
5 min read
Updated Feb 20, 2026

What Is the Variable Moving Average?

The Variable Moving Average (VMA), often called VIDYA (Volatility Index Dynamic Average), is an exponential moving average that automatically adjusts its smoothing sensitivity based on the volatility of the underlying asset.

The Variable Moving Average (VMA), also widely known as VIDYA (Volatility Index Dynamic Average), is a sophisticated technical indicator designed to adapt to changing market conditions. Traditional moving averages (like the SMA or EMA) have a fixed "lookback" period. A 20-day SMA always treats the last 20 days the same way, regardless of whether the market is exploding higher or sleeping sideways. This rigidity creates a dilemma: a short-term average is great for catching trends but generates many false signals ("whipsaws") in choppy markets. A long-term average avoids whipsaws but lags significantly, identifying trends only after they are well underway. The VMA solves this by being "smart." It uses a volatility measure to dynamically adjust its own sensitivity. When volatility is high (indicating a strong trend or breakout), the VMA becomes more sensitive, mimicking a short-term average to get you in the trade. When volatility is low (indicating consolidation), it desensitizes, mimicking a long-term average to keep you out of bad trades.

Key Takeaways

  • VMA adjusts its speed based on market volatility.
  • It was developed by Tushar Chande to solve the lag problem of standard moving averages.
  • In volatile markets, the VMA speeds up (becomes more sensitive) to capture trends.
  • In sideways/quiet markets, the VMA slows down (becomes less sensitive) to avoid false signals.
  • It uses a volatility index (like CMO or Standard Deviation) as the weighting factor.

How It Works

The math behind the VMA is based on the Exponential Moving Average (EMA) formula. The standard EMA uses a constant "smoothing factor" (typically 2 / (N+1)). The VMA replaces this constant smoothing factor with a "variable" one. This variable factor is calculated by multiplying a standard smoothing constant by a "Volatility Index" (VI). The Volatility Index is usually normalized to be between 0 and 1. Tushar Chande, the creator, originally used the standard deviation, but later recommended the Chande Momentum Oscillator (CMO) as the volatility driver. * High Volatility: The Volatility Index increases -> The smoothing factor increases -> The VMA reacts faster to price. * Low Volatility: The Volatility Index decreases -> The smoothing factor decreases -> The VMA reacts slower (flattens out).

Comparison: VMA vs. SMA

How the Variable Moving Average compares to a Simple Moving Average.

FeatureSimple Moving Average (SMA)Variable Moving Average (VMA)
ResponsivenessFixed / ConstantDynamic / Adaptive
LagSignificant in fast movesReduced in fast moves
False SignalsFrequent in chopReduced in chop
CalculationAverage of closing pricesEMA adjusted by volatility ratio
Best ForIdentifying long-term trendTrend following in changing volatility

Real-World Example: Breakout Trading

Imagine a stock has been trading in a tight range between $100 and $102 for weeks. Volatility is very low. 1. Low Volatility Phase: A standard 20-day EMA might drift right through the middle of the price action, generating buy/sell signals on every small wiggle. The VMA, sensing low volatility, flattens out completely, staying away from the price and generating NO signals. 2. The Breakout: Suddenly, news hits and the stock jumps to $105. Volatility spikes. 3. Reaction: The standard EMA lags, slowly curving up. The VMA detects the volatility spike. Its internal "speed" increases. It turns sharply upward, potentially crossing above the price or providing a support level much faster than the EMA, allowing the trader to enter the trend early.

1Price moves sideways.
2Volatility Index (VI) is near 0.
3VMA line is flat (horizontal).
4Price spikes.
5VI jumps to near 1.
6VMA line angles sharply up, tracking price closely.
Result: The VMA successfully filtered out the noise during the consolidation but caught the trend immediately when it started.

Advantages of VMA

The biggest advantage is noise reduction. By flattening out during consolidation, it keeps traders on the sidelines when they should be. Conversely, its ability to speed up allows traders to capture more of the meat of a trend than a sluggish SMA. It effectively combines the best traits of short-term and long-term averages.

Disadvantages of VMA

Complexity is the main barrier; it is harder to calculate and understand than a simple average. Additionally, because it relies on volatility, it can sometimes be "faked out" by a single massive candle (volatility spike) that immediately reverses, causing the VMA to react too aggressively to a false breakout.

FAQs

VIDYA stands for Volatility Index Dynamic Average. It is the specific name given to the Variable Moving Average developed by Tushar Chande in 1992. The terms VMA and VIDYA are often used interchangeably.

Common strategies include looking for price crossovers (price crosses above VMA = Buy) or using the VMA as a dynamic trailing stop-loss. Because the VMA flattens in sideways markets, a break of the VMA line often signals a significant trend change.

A common default is a 9-period setting for the volatility index (CMO) and a 12 or 21-period setting for the average itself. However, traders should backtest different settings to fit the specific volatility personality of the asset they are trading.

In theory, yes, because it adapts. In practice, "better" depends on the market. In a smooth, steady trend, an EMA works perfectly well. The VMA shines in markets that alternate between quiet consolidation and explosive moves.

The Bottom Line

The Variable Moving Average (VMA) represents an evolution in trend-following technology. By acknowledging that markets are not static, it provides a tool that adapts to the changing "weather" of price action. For traders frustrated by the constant whipsaws of sideways markets or the painful lag of traditional averages, the VMA offers a compelling solution. It offers the discipline of a mechanical system with the nuance of an adaptive approach. While no indicator is perfect, the VMA's ability to filter noise while remaining responsive makes it a favorite among algorithmic and technical traders. Using it as a trend filter or a trailing stop can significantly improve the risk-adjusted returns of a trading strategy.

At a Glance

Difficultyintermediate
Reading Time5 min

Key Takeaways

  • VMA adjusts its speed based on market volatility.
  • It was developed by Tushar Chande to solve the lag problem of standard moving averages.
  • In volatile markets, the VMA speeds up (becomes more sensitive) to capture trends.
  • In sideways/quiet markets, the VMA slows down (becomes less sensitive) to avoid false signals.