Variable Moving Average

VMA
Indicator

TrendOn the price chartFree on ChartLabs

The Variable Moving Average starts at the first close and then steps toward price by a fraction that grows when recent moves are one-sided.

Tushar S. Chande, Adapting Moving Averages to Market Volatility, Technical Analysis of Stocks & Commodities, March 1992, and Chande and Kroll, The New Technical Trader (1994). Reviewed by the ChartLabs team, updated Nov 2026.

Example market1hIndicatorsAtlas AIVMAchartlabs.co/charts
Atlas reads it

VMA is 66,960.3.

VMA 66,960.3

Atlas reads it

VMA is 66,960.3.

VMA 66,960.3

Illustration on simulated data.

Variable Moving AverageWhat is the VMA indicator?

Length is 9 and Volatility period is 9, each from 1 to 5,000. Source is Close. The line is #999999, 1 px, on the price panel.

A close of 10 prints 10.0000. The next close, 11, prints 10.2000. That step is 2/(9+1) times a volatility of 1 times the 1-point gap. The volatility is Chande's CMO on the changes seen so far, until nine changes exist. A flat stretch, where the up moves and the down moves sum to 0, leaves the line where it is.

A non-numeric close resets the line. The next real close starts again, as if it were record 0. This is not a plain EMA with a fixed fraction.

The fraction

EMA would always step by 2/(length+1). Here that fraction is multiplied by the absolute CMO, which is 0 when the window is flat and 1 when every change has the same sign.

The seed

The first close is the first value. There is no waiting period and no simple-average seed.

VMA signalsFour patterns to know.

1Bullish lean

One-sided rises

The second bar is 10.2000. Every change so far is up, so the fraction is the full EMA step.

2Bearish lean

One-sided falls

A string of lower closes also has a CMO of 1 in absolute value, so the line chases price at the full step.

3Inconclusive

Up and down in balance

When the absolute CMO is 0 the line does not move, even if the latest close changed.

4Inconclusive

A reset

A missing close wipes the seed. The next close is a fresh start, printed as itself.

VMA formulaHow it is calculated.

VMA=VMA+2n+1×|CMO|×(P−VMA)
STEP 1

Seed with the first close

The example prints 10.0000.

STEP 2

Measure the recent pushes

Add the up changes and the down changes over the volatility period, or fewer at the start.

STEP 3

Step toward price

The second bar moves to 10.2000 because the one change was entirely up.

VMA settingsEvery setting, explained.

SettingDefaultRangeWhat it changes
Length91 to 5,000Sets the biggest step, 2 divided by length plus 1.
Volatility period91 to 5,000How many changes enter the CMO. Fewer are used until that many exist.
SourceCloseAny listed priceThe series the line follows.
Line#999999FixedOne line, 1 px, on the price panel.
Setting
Length
Default
9
Range
1 to 5,000
What it changes
Sets the biggest step, 2 divided by length plus 1.
Setting
Volatility period
Default
9
Range
1 to 5,000
What it changes
How many changes enter the CMO. Fewer are used until that many exist.
Setting
Source
Default
Close
Range
Any listed price
What it changes
The series the line follows.
Setting
Line
Default
#999999
Range
Fixed
What it changes
One line, 1 px, on the price panel.
918 bars in the step size
70,20866,82563,44360,06164,803.7

Drag to see how the setting changes the lines and how many signals you get. Illustration on simulated data.

VMA strategiesUse it in 3 setups.

A full step on a one-way move

Thesecond bar is10.2000

Traders often compare that path with a plain EMA of length 9, which would take the same step here because the CMO is 1.

A balanced window stalls the line

Ifup changes equal down changesthenthe line stays

The fraction goes to 0. Price can move while the average waits.

A gap in the closes starts over

Aftera non-numeric closethenext close is the new seed

The old value is not carried across the gap.

Test a rule in the Strategy TesterFree with 1 year of history. Past results do not guarantee future results.

VMA mistakesCommon mistakes.

Calling it an EMA that is built for quiet markets

The fraction shrinks when up and down changes cancel. It is Chande's variable step, not a special sideways tool with a different default.

Waiting 9 bars for the first print

Record 0 is the first close, 10.0000. The volatility window is partial until it fills.

Using a fixed 2/10 step on every bar

That is the cap. A mixed window uses less, down to none.

VMA combinationsPair it with these.

VMA FAQQuestions traders ask.

What are the VMA settings?

Length 9, volatility period 9, source Close. Each length runs from 1 to 5,000. The line is #999999 on the price panel.

What is the worked pair?

Close 10, then 11. The line is 10.0000, then 10.2000.

Why 10.2000?

The step is 2/10 times 1 times 1 point, added to 10.

What if the market chops?

When the up changes and the down changes cancel, the line does not step.

Does it wait to seed?

No. The first close is the first value.

What does a missing close do?

It resets the line. The next real close starts a new seed.

Does VMA repaint?

No. A closed bar stays. The live bar moves until it closes.

Who published it?

Tushar S. Chande, Stocks & Commodities, March 1992, and Chande and Kroll, The New Technical Trader (1994).

Related indicatorsMore trend tools.

All trend indicators

Try VMA on a live chart.
Free. No download.

Works in your browser and on iPhone too.

Example market1h
VMA