VIDYA: an average that speeds up when momentum is one-sided
How the Variable Index Dynamic Average uses the Chande Momentum Oscillator to vary its own smoothing, and how it differs from KAMA.
Variable Index Dynamic Average is free on Basis — the button opens a live crypto chart with it already applied. No account, no trial and no limit on how many indicators you add.
Open the chartWhat it measures
VIDYA varies its smoothing constant according to how one-sided recent momentum has been, measured by the absolute value of the Chande Momentum Oscillator.
When momentum is strongly directional the average accelerates toward price; when up and down movement are balanced it barely moves.
It solves the same problem KAMA solves and measures it differently: KAMA asks how efficiently price travelled, VIDYA asks how lopsided the buying and selling were.
How it is calculated
These are the steps Basis performs, verified against the published definition.
- 1
Compute the Chande Momentum Oscillator over the momentum period and take its absolute value, scaled to a fraction between zero and one.
- 2
Multiply the base smoothing constant by that fraction to get this bar’s effective smoothing.
- 3
Apply that constant to the previous VIDYA value and the current price.
Settings
| Setting | Default | Range |
|---|---|---|
| Momentum | 14 | 1 – 500 |
| Smoothing | 20 | 1 – 500 |
| Source | close | price source |
A momentum period around nine with a base period of fourteen is common. The momentum period decides how far back "one-sided" is measured, and shortening it makes the average far twitchier than shortening the base period would.
How to read it
- A flat VIDYA through an active market means the movement has been two-sided, which is a range regardless of how large the swings were.
- The line accelerating is momentum becoming one-sided, which usually precedes the visible part of a trend.
- Crossings mean more here than on a fixed average, because the line only moves quickly when the underlying condition justifies it.
- Because the smoothing constant is bounded below by zero, VIDYA can stop almost completely in a balanced market and stay flat through a great deal of price movement. A flat line here means the movement was two-sided, and that is a statement worth reading rather than a failure to track price.
Where it misleads
VIDYA and KAMA disagree in a specific and useful way. A market that grinds steadily in one direction scores high on KAMA’s efficiency ratio and high on VIDYA’s momentum measure, so both speed up. A market that makes one enormous move and then chops scores high on efficiency and low on momentum lopsidedness — KAMA accelerates and VIDYA does not. Neither is wrong; they are answering different questions, and running both is more informative than picking one.
Plot Variable Index Dynamic Average on a live chart
Basis is free. Every indicator, every chart type, order flow, derivatives, screening and backtesting — no paid tier and no account needed to open a chart.
Open a chart with VIDYARelated indicators
Updated 2026-08-22 · Educational reference, not financial advice.