Key Takeaways
- The Volume-Weighted Moving Average (VWMA) calculates a volume-weighted average across a fixed number of bars.
- The Volume-Weighted Average Price (VWAP) calculates a cumulative volume-weighted average from a defined anchor.
- Standard session VWAP commonly resets at the start of each trading session, while anchored VWAP can begin at a selected date, event or bar.
- VWMA generally suits rolling trend analysis, while VWAP generally suits session or event price-location analysis.
- VWMA and VWAP can be used together only when each indicator has a separate, written analytical role.
VWMA vs VWAP: What Is the Main Difference?
The main difference between VWMA and VWAP is the calculation window: VWMA uses a rolling number of bars, while VWAP uses every bar from a defined anchor. The VWMA window continuously replaces old observations with new observations. The VWAP window expands until the platform or trader resets the anchor.
| Feature | VWMA | VWAP |
|---|---|---|
| Full name | Volume-Weighted Moving Average | Volume-Weighted Average Price |
| Calculation window | Rolling fixed number of bars | Cumulative from an anchor |
| Treatment of old data | Removes a bar when the bar leaves the lookback | Retains every bar since the anchor until reset |
| Main setting | Lookback length and price source | Anchor/reset period and price source |
| Common price input | Closing price | Typical price, often (High + Low + Close) ÷ 3 |
| Common timeframe use | Intraday, daily or weekly charts | Session VWAP for intraday charts; anchored VWAP for event-defined periods |
| Main analytical role | Rolling trend and price-volume context | Session or event price location and execution analysis |
| Main failure mode | A fitted lookback or abrupt change when a high-volume bar leaves the window | Late-period lag or an anchor that does not match the analytical question |
The calculation window determines what each line remembers. Understanding the two formulas therefore explains why VWMA and VWAP can display different values on the same chart.
How VWMA and VWAP Work
VWMA and VWAP both divide weighted price by volume, but VWMA applies the calculation to the latest N bars while VWAP applies the calculation cumulatively from an anchor. The shared use of volume means that a high-volume observation influences either average more than a low-volume observation. The different calculation boundaries determine how long that influence remains.

VWMA Formula and Rolling Window
The VWMA formula divides the sum of price multiplied by volume across the latest N bars by the sum of volume across the same N bars.
VWMAₜ = [Σ(Pᵢ × Vᵢ)] ÷ [ΣVᵢ], for i = t − n + 1 to t
Where:
- VWMAₜ is the Volume-Weighted Moving Average at the current bar.
- Pᵢ is the selected price for bar i, commonly the closing price.
- Vᵢ is the reported volume for bar i.
- n is the selected lookback length.
- t is the current bar.
A 20-period VWMA on a five-minute chart uses the latest 20 five-minute bars. When the next five-minute bar closes, the new bar enters the calculation and the oldest bar leaves. A high-volume bar can move VWMA substantially while that bar remains inside the lookback, then stop affecting VWMA when that bar leaves the 20-bar window.
The VWMA period counts bars rather than days. A 20-period VWMA represents 100 chart minutes on a five-minute chart, 20 hours on an hourly chart and 20 sessions on a daily chart. The chart timeframe and the VWMA length jointly define the measurement horizon.
VWAP Formula, Anchor and Reset
The VWAP formula divides cumulative price multiplied by volume since an anchor by cumulative volume since the same anchor.
VWAPₜ = [Σ(Pᵢ × Vᵢ)] ÷ [ΣVᵢ], for i = a to t
Where:
- VWAPₜ is the Volume-Weighted Average Price at the current bar.
- Pᵢ is the selected price for bar i, often the typical price: (High + Low + Close) ÷ 3.
- Vᵢ is the reported volume for bar i.
- a is the anchor bar.
- t is the current bar.
Session VWAP commonly uses the start of the trading session as the anchor and resets when the next session begins. Anchored VWAP uses a selected date, event or chart bar as the starting point and continues until a new anchor or reset is applied. The statement “VWAP resets daily” therefore describes standard session VWAP, not every VWAP implementation.
VWAP retains every observation after the anchor. A high-volume opening bar continues to affect session VWAP later in the day because the opening bar remains in the cumulative numerator and denominator. The expanding sample often makes session VWAP less sensitive to new observations as the session progresses, although the actual response still depends on the new price and volume.
VWMA Is Not the Same as MVWAP
VWMA is not automatically the same as Moving VWAP (MVWAP) because the two labels can describe different calculations. VWMA directly calculates a rolling average of selected prices weighted by the volume of each bar. MVWAP can refer to a moving average applied to a series of previously calculated VWAP values.
| Indicator | Input series | Calculation relationship |
|---|---|---|
| VWMA | Price and volume for each bar | Calculates a rolling volume-weighted price across N bars |
| MVWAP | Previously calculated VWAP values | Applies a moving average to the VWAP series |
The displayed indicator name is not enough to establish equivalence. Traders should check the formula, inputs and source code or platform documentation before treating VWMA and MVWAP as interchangeable.
Worked Example Using the Same Price and Volume Data
The same price and volume data produce different VWMA and VWAP values because VWMA removes observations that leave its lookback while VWAP retains every observation from the session anchor.
The following hypothetical scenario uses a three-period VWMA and session VWAP. The figures are synthetic and illustrate calculation behaviour rather than actual market performance.
| Bar | Time | Selected Price | Volume | Price × Volume | Cumulative Price × Volume | Cumulative Volume | Session VWAP | 3-Period VWMA |
|---|---|---|---|---|---|---|---|---|
| 1 | 09:30 | 100.00 | 100 | 10,000 | 10,000 | 100 | 100.0000 | Not yet available |
| 2 | 09:35 | 101.00 | 200 | 20,200 | 30,200 | 300 | 100.6667 | Not yet available |
| 3 | 09:40 | 102.00 | 600 | 61,200 | 91,400 | 900 | 101.5556 | 101.5556 |
| 4 | 09:45 | 103.00 | 150 | 15,450 | 106,850 | 1,050 | 101.7619 | 101.9474 |
| 5 | 09:50 | 104.00 | 100 | 10,400 | 117,250 | 1,150 | 101.9565 | 102.4118 |
| 6 | 09:55 | 105.00 | 100 | 10,500 | 127,750 | 1,250 | 102.2000 | 103.8571 |
| 7 | 10:00 | 106.00 | 100 | 10,600 | 138,350 | 1,350 | 102.4815 | 105.0000 |
| 8 | 10:05 | 107.00 | 100 | 10,700 | 149,050 | 1,450 | 102.7931 | 106.0000 |
At Bar 3, the first complete three-period VWMA uses Bars 1–3:
3-period VWMA at Bar 3 = [(100 × 100) + (101 × 200) + (102 × 600)] ÷ (100 + 200 + 600)
3-period VWMA at Bar 3 = 91,400 ÷ 900 = 101.5556
Session VWAP at Bar 3 uses the same three bars because the session also begins at Bar 1:
Session VWAP at Bar 3 = 91,400 ÷ 900 = 101.5556
VWMA and VWAP therefore have the same value at Bar 3 because both calculations contain the same observations.
Bar 3 records the highest volume in the example, with 600 volume units. At Bar 6, the three-period VWMA window contains only Bars 4–6, so the high-volume Bar 3 has left the VWMA calculation:
3-period VWMA at Bar 6 = [(103 × 150) + (104 × 100) + (105 × 100)] ÷ (150 + 100 + 100)
3-period VWMA at Bar 6 = 36,350 ÷ 350 = 103.8571
Session VWAP at Bar 6 still contains Bars 1–6, including the high-volume Bar 3:
Session VWAP at Bar 6 = 127,750 ÷ 1,250 = 102.2000
The difference between 103.8571 and 102.2000 reflects the indicators’ different memory windows. VWMA responds more closely to the latest three rising prices because Bar 3 has expired from its rolling window. Session VWAP remains lower because the calculation still gives substantial weight to the 600 volume units recorded at 102.00 on Bar 3.
Holding the symbol, timeframe, session, price source and volume source constant isolates the calculation window as the reason the two indicators diverge.

The example establishes why VWMA and VWAP can disagree even when both indicators use identical price and volume data. The next comparison explains how window design, data inputs, responsiveness and timeframe affect that difference.
VWMA vs VWAP Comparison by Feature
VWMA and VWAP differ through four connected attributes that are calculation memory, data inputs, responsiveness and analytical horizon. Each attribute follows from the indicator formula rather than from the line’s colour, label or visual similarity.
Window, Reset and Memory
VWMA continuously replaces old bars, while VWAP retains all bars from its anchor until the defined reset. The VWMA window always contains the latest N bars after enough data exist. The VWAP window becomes longer with every new bar after the anchor.
The window design creates different memories. A high-volume bar affects VWMA only while the bar remains within the lookback. The same high-volume bar affects VWAP for the rest of the anchored calculation. A VWMA line can therefore change when an influential bar expires even if the newest bar is unremarkable, while VWAP cannot forget that influential bar before the reset.
Price Source and Volume Source
The price source and volume source define what VWMA and VWAP actually measure. VWMA commonly uses closing price, while VWAP commonly uses the typical price calculated from high, low and close. Trading platforms may allow different price inputs, so two charts can display different values even when both charts use an indicator with the same name.
| Input control | Comparison requirement | Why the control matters |
|---|---|---|
| Instrument and symbol | Use the same contract or market symbol | Related symbols can have different prices, sessions and liquidity |
| Venue or data feed | Use the same provider | Reported prices and volume can differ between feeds |
| Session | Match regular/extended hours and timezone | Session boundaries change the bars included in session VWAP |
| Timeframe | Use the same bar interval | Bar aggregation changes selected prices and volumes |
| Price source | Match close, HLC3 or another selected source | Different price inputs change the numerator |
| Volume source | Match trade, contract or tick volume | Different volume measures change the weight assigned to each bar |
A clean VWMA-versus-VWAP comparison changes the indicator calculation while holding all shared inputs constant. The volume source requires particular care in forex and CFD markets, where the displayed volume may not represent centralized exchange transactions.
Responsiveness and Lag
VWMA is not always more responsive than VWAP because responsiveness depends on the VWMA length, VWAP anchor, time within the anchored period, price source and distribution of volume. A short VWMA can react quickly when a new high-volume bar enters the window. The same short VWMA can also move abruptly when an older high-volume bar leaves the window.
Session VWAP often becomes less responsive later in the session because the cumulative denominator already contains earlier volume. A new observation must be large enough in price, volume or both to shift the expanded cumulative average materially. Early in the session, VWAP has fewer observations and can respond more strongly.
Both indicators lag the current market because both indicators summarize observed price-volume data. The form of the lag differs: VWMA lag reflects the selected rolling length, while VWAP lag reflects the size and composition of the cumulative sample since its anchor.
Timeframes and Trading Horizons
VWMA can operate on any chart timeframe, while standard session VWAP is most directly interpreted on intraday charts. A VWMA period counts bars, so the same numerical length represents a different amount of time on each chart interval. A 20-period VWMA on a five-minute chart does not measure the same horizon as a 20-period VWMA on a daily chart.
| Analytical horizon | VWMA application | VWAP application |
|---|---|---|
| Intraday rolling context | N recent intraday bars | Session VWAP from the market open |
| Multi-session trend context | N hourly or daily bars | Session VWAP is not a continuous multi-session trend line |
| Event-defined analysis | Rolling length may include unrelated pre-event bars | Anchored VWAP can begin at the selected event |
| Execution review | VWMA does not represent the cumulative session benchmark | Session VWAP can compare an execution price with the session’s volume-weighted average |
The correct timeframe follows the analytical objective. The indicator should measure the intended session, event or rolling horizon before the trader interprets price relative to the line.
VWMA vs VWAP: Which Is Better for Your Objective?
Neither VWMA nor VWAP is universally better because VWMA fits rolling trend questions, while VWAP fits price-location or execution questions defined by a session or event anchor.
| Objective | More direct indicator | Reason |
|---|---|---|
| Measure the rolling volume-weighted trend across the latest N bars | VWMA | VWMA continuously represents the selected recent lookback |
| Compare price with the session’s cumulative volume-weighted average | Session VWAP | Session VWAP retains all observations from the session open |
| Measure price relative to a specific event or date | Anchored VWAP | The anchor can begin at the selected event |
| Maintain a continuous multi-session rolling reference | VWMA | VWMA does not need a daily reset |
| Review average execution against a session benchmark | Session VWAP | VWAP provides the cumulative volume-weighted reference for that session |
The decision should begin with the measurement question. Selecting VWMA or VWAP before defining the question encourages the trader to interpret whichever line happens to support an existing view.
Use VWMA for a Rolling Trend Reference
Use VWMA when the analytical objective is to measure the rolling price trend while giving greater influence to high-volume bars. VWMA slope shows whether the rolling volume-weighted average is rising, falling or flat. Price position shows whether the current price is above or below that rolling reference.
A rising VWMA with price holding above the line supports a bullish rolling trend context. A falling VWMA with price holding below the line supports bearish rolling trend context. A flat VWMA with repeated price crossings suggests that the selected lookback is not showing a stable directional relationship.
VWMA does not convert a price crossover into a prediction. The VWMA length, chart timeframe and surrounding price structure determine whether the observation represents a sustained trend, a temporary deviation or a ranging market.
Use VWAP for Session or Event Price Location
Use VWAP when the analytical objective is to measure price relative to a session or event-based volume-weighted average. Session VWAP answers where the current price and an execution price sit relative to all included price-volume observations since the session opened. Anchored VWAP answers the same relationship from a selected event or bar.
VWAP is an execution benchmark when an average fill price is compared with the relevant VWAP over a defined period. The comparison describes execution relative to the benchmark; the comparison does not prove that the trade direction was correct or that the position will be profitable.
Price above VWAP means the current price is above the volume-weighted average for the defined sample. Price below VWAP means the current price is below that average. Neither relationship establishes intrinsic value, and neither relationship creates an automatic buy or sell signal.
VWMA and VWAP can serve different objectives on the same analysis, but the two indicators should not be combined until each indicator has a distinct role.
Can You Use VWMA and VWAP Together?
VWMA and VWAP can be used together when VWMA defines rolling trend context and VWAP defines session or event price location. Using both indicators without separate roles adds two similar-looking lines without adding a separate decision condition.

A Controlled Comparison Workflow
A controlled VWMA-versus-VWAP workflow changes the indicator while keeping the market data, trading rule and evaluation assumptions constant.
- Define the objective. State whether the test measures rolling trend context, session price location, event-based price location or execution quality.
- Match the data. Use the same symbol, data feed, session, timezone, timeframe, price source and volume source for both indicators.
- Define each window. Record the VWMA length in bars and elapsed chart time. Record the VWAP anchor and reset rule.
- Apply one signal rule. Use the same closed-bar entry condition, confirmation, invalidation, exit, commission and slippage assumptions when comparing outcomes.
- Check later data. Select settings on one sample, then evaluate the unchanged rule on a separate later sample.
A controlled workflow does not establish that either indicator will work in future markets. The workflow establishes whether a reported difference came from the indicator window rather than from changing several assumptions at once.
Limitations and Common Mistakes
VWMA and VWAP both summarize historical price-volume data, so both indicators can lag, conflict and produce weak observations in unsuitable market conditions.
| Limitation or mistake | Why it occurs | Better practice |
|---|---|---|
| Treating a line crossing as a prediction | A crossing describes current price relative to a historical calculation | Define confirmation and invalidation separately |
| Calling VWAP “true fair value” | VWAP is an average for a selected sample, not an estimate of intrinsic value | State the anchor, period and volume source |
| Claiming VWMA is always faster | Responsiveness changes with length, anchor and volume distribution | Compare both indicators on matched data |
| Ignoring the session boundary | Session selection changes the observations included in VWAP | Record timezone and regular/extended-hours settings |
| Comparing different feeds | Prices and reported volume can vary between providers | Use one symbol and feed for the controlled comparison |
| Fitting the VWMA length to past swings | A selected length can explain past movements without remaining useful | Choose the rule before testing and retain later data for evaluation |
| Using a trend interpretation in a range | Flat lines and repeated crossings do not show stable direction | Check slope and surrounding price structure |
Volume Data in Forex and CFDs
Forex and CFD volume may represent tick activity or feed-specific activity rather than consolidated exchange-traded volume. MetaTrader 5 Help states that forex volume means the number of ticks, or price changes, during the selected interval, while stock volume represents executed trades in contracts or money terms.
The volume source changes the meaning of a volume-weighted calculation. A VWMA or VWAP calculated with forex tick volume weights prices according to the frequency of price changes reported through that feed. A VWMA or VWAP calculated with centralized exchange volume weights prices according to executed volume reported by the exchange. The two results should not be described as equivalent measures of total market activity.
Crossings, Ranges and False Confidence
VWMA and VWAP crossings are historical relationships rather than standalone forecasts. Price can cross either line repeatedly when the market lacks a stable direction. An intrabar crossing can also disappear before the candle closes.
A close-based rule makes the observation reproducible because the rule waits for a completed bar. A closed-bar cross still requires a separate invalidation level because the indicator line does not define how much adverse movement the setup can tolerate. Price structure, volatility, trading costs and permitted account risk remain separate decisions.
The data and interpretation limits determine how VWMA and VWAP should be configured on a trading platform.
How to Find VWMA and VWAP in MT4 or MT5
VWMA and VWAP availability can differ between MetaTrader versions, broker configurations and installed custom indicators. A trader should verify the indicator formula and inputs rather than assume that every tool labelled VWMA, VWAP or MVWAP performs the same calculation.
The TMGM moving-average guide explains how a rolling period changes with the chart timeframe. The TMGM MT5 indicators and add-ons guide provides broader platform context. Traders can test a verified configuration on a demo environment before deciding whether the measurement fits a written trading process.
VWMA vs VWAP FAQs
Are VWAP and VWMA the Same?
VWAP and VWMA are not the same because VWAP accumulates data from an anchor while VWMA rolls through a fixed number of bars. Both indicators weight selected prices by volume, but the different windows cause each indicator to retain and remove observations differently.
Does VWAP Reset Daily?
Standard session VWAP commonly resets at the start of each trading session, but anchored VWAP does not have to reset daily. Anchored VWAP can begin at a selected event, date or chart bar, so the anchor and reset rule must be identified before interpreting the line.
Is VWAP a Leading or Lagging Indicator?
VWAP is a historical, cumulative indicator rather than a predictor of future price. VWAP updates as new price and volume data enter the calculation, but every VWAP value summarizes observations from the anchor to the current bar.
Do Professional Traders Use VWAP?
Professional and institutional traders can use VWAP as an execution benchmark that compares an average fill price with the market’s volume-weighted average over a defined period. Professional use does not make VWAP a reliable directional signal or guarantee a favourable outcome.
Is VWAP Like Bollinger Bands?
VWAP is not the same as Bollinger Bands because VWAP is a volume-weighted average from an anchor, while Bollinger Bands place volatility bands around a moving average. Some platforms can add bands around VWAP, but that implementation does not make VWAP and Bollinger Bands equivalent indicators.
Which Is Better, EMA or VWAP?
Neither EMA nor VWAP is universally better because EMA and VWAP answer different questions. An Exponential Moving Average gives greater weight to recent prices across its moving calculation, while VWAP gives greater weight to high-volume prices from a defined anchor.







