BLACK FRIDAY 30% OFF
BLACK FRIDAY SALE 30% OFF MASTERCLASSES USE CODE BLACKFRIDAY SALE STARTS IN 02d 13h 36m 28s
Skip to main content

VWMA vs SMA: How High-Volume Candles Change a Moving Average

A volume-weighted moving average (VWMA) weights each closing price by the traded volume of that bar, while a simple moving average (SMA) gives every closing price the same weight. The resulting lines can differ even over only three bars. A VWMA is not the same as a cumulative VWAP: it usually uses a rolling lookback that drops older bars.

Take three hypothetical closing prices of £10, £11 and £12, on volumes of 100, 100 and 800 shares. The 3-period SMA is £11. The 3-period VWMA is (10×100 + 11×100 + 12×800)/(100+100+800) = £11.70. The final high-volume candle exerts more influence without implying that every trade actually occurred at £12.

Illustration of VWMA vs SMA: How High-Volume Candles Change a Moving Average
Worked example — assumptions and calculation
MeasureIllustrationInterpretation
Prices£10 / £11 / £12Three closes
Volumes100 / 100 / 800Weight assigned to each close
3-period SMA£11.00Arithmetic mean of closes
3-period VWMA£11.70Weighted close sum / total volume
Illustrative values, not current prices or a recommendation.
Trader’s verification sequence
1. Select N bars
2. Multiply each close by its volume
3. Divide by sum of volumes
4. Compare with ordinary SMA

VWMA and SMA equations

SMA is the sum of the last N closes divided by N. VWMA is the sum of close multiplied by volume divided by the sum of volume across the same N bars. The numerator and denominator both change when the rolling window advances. If all three volumes are equal, the two indicators are identical for that window.

TradingView documents the VWMA as a close-and-volume rolling average. Platforms can differ in their volume data, extended-hours inclusion and candle aggregations, so nominally identical indicator settings need not yield identical results across feeds.

Why a high-volume bar matters

In the worked example, the £12 close carries eight times the weight of either earlier bar. The VWMA is therefore nearer £12 than the SMA. This describes participation during the interval, but volume can be driven by both aggressive buyers and sellers. Heavy trading does not label the participants’ intentions.

If price reverses on the next bar with still greater volume, the VWMA can also respond quickly in the opposite direction. An upward VWMA slope is not an independent predictor of profitability.

How VWMA differs from VWAP

A 20-period VWMA drops the oldest bar and adds a new one as time advances. A session VWAP accumulates from a session boundary and resets at the next anchor. A session’s first bars can dominate VWAP later, while a VWMA focuses only on its finite rolling window.

An anchored VWAP from a specific earnings date can continue across sessions. Comparing that value with a 20-bar VWMA is useful only if the analyst explicitly recognises their different lookbacks.

Testing realistic trading uses

VWMA-SMA differences can be used as a descriptive indicator of volume concentration, but a trader needs rules for signal, entry, stop, sizing and invalidation. An indicator crossover on a low-liquidity instrument may be fragile and expensive to execute. Avoid backtests without realistic commissions, spreads and out-of-sample periods.

The close of a candle is not the volume-weighted execution price of every trade during it. Apply the same data vendor, adjustments and bar intervals when evaluating strategies.

Why changing the last bar’s volume changes VWMA but not SMA

In the three-bar example, the closes are £10, £11 and £12. The SMA is £11 regardless of volume. When the third bar carries 800 shares, the VWMA is £11.70. If instead that third bar had only 100 shares, leaving all other closes and volumes unchanged, total weighted value becomes (10×100 + 11×100 + 12×100) ÷ 300 = £11.00. VWMA and SMA are now identical. This controlled comparison isolates the effect of volume weights without inventing a change in price.

A VWMA based on closing prices and aggregate bar volume is not the exchange’s true transaction-level volume-weighted execution price. For a candle with trades at several prices, multiplying its close by its volume approximates a distribution concentrated at the close; cumulative session VWAP usually uses either a typical price proxy or actual trade data. Do not interpret a VWMA crossover as evidence of hidden order-book demand.

Common mistakes

  • Calling VWMA a session-reset VWAP
  • Using the high-volume close as the true average trade price
  • Comparing different lookback periods
  • Treating volume weighting as directional insider information

Continue your learning with technical analysis foundations and learning pathways and moving-average ribbons.

Frequently asked questions

Why is my VWMA above my SMA?

Higher-volume bars had relatively higher closing prices during the selected window.

Does VWMA work without actual market volume?

It can be computed on proxy tick counts, but the interpretation differs from exchange-traded volume.

Primary references

Related Traders MBA guide: Anchored versus session VWAP.

Educational content only. Real-market pricing, contract conventions and investment outcomes can differ. This is not personalised trading, investment, tax or legal advice.


Stay Ahead of the Markets

Get market analysis, financial news and practical trading insights delivered straight to your inbox.