Volume-Weighted Moving Average (VWMA)VWMA
The volume-weighted moving average weights each closing price by that bar's volume, so heavily traded bars count more. Comparing it with a simple average of the same length shows whether volume is backing the move.
A simple moving average gives every close in its window the same weight. The volume-weighted moving average lets volume decide instead: a bar on which many shares changed hands pulls the average harder than a quiet one.1 It uses a fixed, rolling window of bars, so it is not cumulative.2 That makes it different from VWAP, which builds up from the session open and starts again each day.3 This entry shows the formula, three worked calculations and how traders read VWMA against a simple average.
- Category
- Indicators and Tools
- Reading time
- 6 min
- Also called
- Volume-weighted MA
- Updated
VWMA in plain words
Picture three days of closing prices. If almost all the trading happened on the third day, that day tells you more about where buyers and sellers agreed. VWMA counts each close as many times as it has volume, so busy days dominate.1
Put a VWMA and a simple average of the same length on one chart. When VWMA is above the simple average, volume was generally heavier on up days; when it is below, volume was heavier on down days.1
How to build and read VWMA, step by step
Multiply each close by its volume
For every bar in the window, calculate close × volume.4
Add up and divide
VWMA = sum of (close × volume) ÷ sum of volume over the last N bars.4 With equal volume on every bar it gives the same value as a simple average.
Roll the window forward
Each new bar enters and the oldest bar drops out, so the window always holds N bars.2
Compare with a simple average
Plot an SMA of the same length. VWMA above the SMA points to heavier volume on up days, below it to heavier volume on down days.1 See Moving Average.
Worked examples
Example 1 — A 3-bar VWMA in a rising market
Volume-backedA hypothetical stock closes at $20.00, $21.00 and $22.00 on volumes of 1,000, 2,000 and 5,000 shares.
| $20.00 × 1,000 | $20,000 |
| $21.00 × 2,000 | $42,000 |
| $22.00 × 5,000 | $110,000 |
| Sum of close × volume | $172,000 |
| Sum of volume | 8,000 |
| VWMA = $172,000 ÷ 8,000 | $21.50 |
| SMA = $63.00 ÷ 3 | $21.00 |
The heavy volume came on the highest close, so VWMA sits $0.50 above the simple average. Volume is backing the rise in this hypothetical case.
Example 2 — Heavier volume on the way down
Selling volumeA hypothetical stock closes at $30.00, $29.00 and $28.00 on volumes of 1,000, 1,000 and 2,000 shares.
| $30.00 × 1,000 | $30,000 |
| $29.00 × 1,000 | $29,000 |
| $28.00 × 2,000 | $56,000 |
| VWMA = $115,000 ÷ 4,000 | $28.75 |
| SMA = $87.00 ÷ 3 | $29.00 |
VWMA is below the simple average because the largest volume came on the lowest close. That points to heavier trading on the down day.1
Example 3 — VWMA and VWAP at the next open
ComparisonYesterday’s last two hypothetical bars closed at $10.30 (2,000 shares) and $10.40 (5,000). Today’s first bar has high $11.00, low $10.60, close $10.80 and 3,000 shares.
| Today’s typical price | $32.40 ÷ 3 = $10.80 |
| VWAP after one bar | $10.80 |
| VWMA close × volume | $20,600 + $52,000 + $32,400 |
| VWMA = $105,000 ÷ 10,000 | $10.50 |
VWAP resets at the open and uses only today’s data, built on the typical price of high, low and close.3 The 3-bar VWMA still carries yesterday’s last two bars, so it sits $0.30 lower.
VWMA, SMA and VWAP
How traders use VWMA
Checking volume behind a trend
VWMA above a same-length SMA suggests buying volume is stronger; below it suggests selling volume is stronger.1 See Volume.
Trend filter
The slope of VWMA can be used to filter trades in the direction of the trend.1
Support and resistance
TradingView lists spotting support and resistance among its uses.1 See Support and Resistance.
Multi-day view where VWAP stops
VWAP is built for intraday analysis and is not defined for daily or weekly periods, so some traders use VWMA when they want volume weighting across days.3
Advantages and disadvantages
Advantages
Disadvantages
- A single huge-volume bar can pull the average far towards its price.4
- Needs reliable volume data, which spot forex and some CFD feeds do not provide. See Tick Volume and Real Volume.
- It does not behave like most moving averages and should not be read as if it did.1
- It still lags price, like every moving average.
Going deeper
Read as far as you need. Each level builds on the one before it.
A weighted average of closes
Beginner
VWMA is an average where volume decides how much each close counts.1 Busy bars matter more; quiet bars matter less.
Reading the gap to the SMA
Intermediate
TA-Lib describes VWMA as leading the SMA on high-volume moves and lagging it on low-volume drift, so the gap between the two shows how well volume confirms the move.4 A rising price with VWMA below SMA means the rise came on thin volume.
Common mistakes
Treating VWMA as VWAP
VWAP is cumulative from the open and resets daily; VWMA is a rolling window.3 Their values differ, especially early in the session.
Reading it like an SMA or EMA
TradingView warns that VWMA does not behave like most moving averages.1
Ignoring volume spikes
One block trade or news bar can drag the line; check whether a jump came from price or from volume.
Using it alone
It works best alongside other indicators and price patterns.1
Check your understanding
Test yourself before moving on. Each answer comes with an explanation.
Key points to remember
- VWMA = sum of (close × volume) ÷ sum of volume over N bars.
- High-volume bars pull the average towards their price.
- VWMA above a same-length SMA means volume favoured up days; below means down days.
- Unlike VWAP, it is a rolling window and does not reset each session.
- It needs real volume data and still lags price.
Frequently asked questions
What is the difference between VWMA and VWAP?
What period should I use for VWMA?
Can I use VWMA on forex?
Further learning
- Volume-Weighted Average Price
The intraday, cumulative cousin of VWMA.
- Moving Average
The simple average VWMA is compared with.
- Volume
What volume shows and how to read it.
- On-Balance Volume
Another way to check whether volume confirms price.
Sources
This article is written in our own words. The sources below support the specific facts, rules and figures marked with a number in the text. Links open the original publisher’s page.
- TradingView. Volume-Weighted Moving Average (VWMA) – Help Center (opens in a new tab) Checked .
- NinjaTrader. Moving Average - Volume Weighted (VWMA) (opens in a new tab) Checked .
- StockCharts ChartSchool. Volume-Weighted Average Price (VWAP) (opens in a new tab) Checked .
- TA-Lib. Volume Weighted Moving Average (VWMA) (opens in a new tab) Checked .
Educational content, not financial advice. Examples use hypothetical prices and simplified costs; actual fees, margin rules and regulations vary by broker, market and country. We are not affiliated with any publisher linked above. Last reviewed . Report an error or request a source credit.