Key Takeaways
- VWAP divides cumulative price-volume by cumulative volume.
- Standard session VWAP normally resets at the start of each configured trading session.
- Traders use VWAP to assess execution quality, intraday direction and conditional trade setups.
- The price source, volume source, data feed and session settings can change the plotted value.
- VWAP is a lagging reference, not proof of future direction.

What Is VWAP and What Does It Measure?
VWAP measures the average price traded over a defined period after weighting each price by its associated volume. A high-volume price has more influence on VWAP than a low-volume price.
VWAP serves two related functions:
| VWAP function | Question answered | Interpretation |
|---|---|---|
| Execution benchmark | How did an order perform against the market average? | A buyer generally prefers an average execution below the relevant VWAP; a seller generally prefers an average above it. The comparison must use the same interval and data. |
| Chart indicator | Where is price relative to the session average? | Price above, below or near VWAP can describe intraday strength, weakness or balance, but cannot predict the next move alone. |
Execution benchmarking and chart analysis should not be conflated. Institutional use of VWAP as a benchmark does not prove that a retail VWAP crossover has a trading edge.
Standard VWAP is cumulative that every eligible trade or candle since the session start remains in the calculation until the reset. A rolling moving average instead removes older observations as new ones enter its fixed lookback window.
How Is VWAP Calculated?
VWAP is calculated by dividing cumulative price multiplied by volume by cumulative volume.
Transaction-level formula
VWAP = Σ(Trade Price × Trade Size) ÷ Σ(Trade Size)
Transaction-level VWAP uses individual trades. Many chart indicators use candles and substitute a representative price for each bar:
Typical Price = (High + Low + Close) ÷ 3
VWAP = Cumulative(Typical Price × Bar Volume) ÷ Cumulative Bar Volume

Typical prices are common but not universal. An indicator may use the close, another price field or transaction data, which explains why two platforms can display different VWAP values.
VWAP Calculation Step by Step
VWAP can be calculated in five steps:
- Define the session or anchor, price source and volume source.
- Calculate the representative price for the first interval.
- Multiply the interval price by its volume.
- Add price-volume and volume to their respective cumulative totals.
- Divide cumulative price-volume by cumulative volume, then repeat for each new interval.
The first VWAP value normally equals the first interval's representative price because the same volume appears in the numerator and denominator.
Worked VWAP Example and Calculator
The following hypothetical example uses five-minute candles for a fictional exchange-traded share during regular market hours. Typical price equals (High + Low + Close) ÷ 3, and volume represents shares. The figures illustrate the calculation and are not actual market data.
| Time | High | Low | Close | Typical Price | Volume | Price × Volume | Cumulative Price-Volume | Cumulative Volume | VWAP |
|---|---|---|---|---|---|---|---|---|---|
| 9:30 AM | 101 | 99 | 100 | 100 | 1,000 | 100,000 | 100,000 | 1,000 | 100.0000 |
| 9:35 AM | 102 | 100 | 101 | 101 | 1,500 | 151,500 | 251,500 | 2,500 | 100.6000 |
| 9:40 AM | 103 | 101 | 102 | 102 | 2,000 | 204,000 | 455,500 | 4,500 | 101.2222 |
| 9:45 AM | 102 | 100 | 101 | 101 | 1,200 | 121,200 | 576,700 | 5,700 | 101.1754 |
| 9:50 AM | 104 | 102 | 103 | 103 | 1,800 | 185,400 | 762,100 | 7,500 | 101.6133 |

At 9:50 AM, cumulative price-volume is 762,100 and cumulative volume is 7,500, so VWAP equals 101.6133. A VWAP calculator should automate the derived columns while keeping the session and source inputs consistent.
VWAP Settings, Sessions and Timeframes
VWAP has no universal best period because its main settings are the starting point, price source, volume source and session scope rather than a rolling lookback.
| Setting | What it controls | What to verify |
|---|---|---|
| Session or anchor | First observation in the calculation | Exchange session, broker-server day or selected event |
| Price source | Price assigned to each trade or candle | Trade price, close, typical price or another field |
| Volume source | Weight assigned to each price | Shares, contracts, real volume or tick volume |
| Session scope | Data included in the calculation | Regular, extended or overnight hours |
| Timezone | Reset boundary | Exchange, UTC, local or broker-server time |
| Bands | Distance displayed around VWAP | Formula, deviation method and multiplier |
The chart timeframe groups the data but is not a VWAP period. Transaction-level VWAP should reach the same endpoint when the underlying trades and sessions are identical. Candle-based VWAP may differ by timeframe because each candle produces a different representative price.
Anchored VWAP begins at a chosen event rather than the session open. The anchor should match the event being analysed and should be selected before reviewing the outcome to avoid hindsight bias.
VWAP in Stocks, Futures, Forex and CFDs
VWAP has different meanings across markets because the volume field can represent executed quantity or feed-specific price activity.
| Market | Common volume input | What VWAP represents |
|---|---|---|
| Shares | Executed share volume | The volume-weighted average of trades included by the selected venue or provider |
| Futures | Executed contract volume | The contract-volume-weighted average for the selected contract and exchange feed |
| Spot forex | Often tick volume | A price average weighted by quote or price-change activity in the connected feed |
| CFDs | Broker-supplied tick or other volume field | A feed-specific volume-weighted reference for the CFD price series |
Stocks and futures can use executed exchange volume, although the result still depends on venue coverage, contract selection and session. Spot forex has no single consolidated exchange tape, so retail platforms often use tick volume. A forex tick-volume VWAP should not be described as the average of all global forex transactions.
For CFDs, traders should verify the symbol's volume field, trading hours, server timezone and reset rule instead of assuming that volume represents the underlying market's total activity.
How to Read a VWAP Line on a Chart
A VWAP line should be read through price position, line slope and distance from the line.
| Chart condition | What it describes | What it does not prove |
|---|---|---|
| Price above a rising VWAP | Price is above an increasing session average | Price must continue rising |
| Price below a falling VWAP | Price is below a decreasing session average | Price must continue falling |
| Repeated crosses of a flat VWAP | Price is rotating around a stable average | Each crossover has directional value |
| Price far from VWAP | Price is extended from the session average | Price must revert immediately |
| Price testing VWAP | Price has returned to the reference | VWAP must act as support or resistance |
VWAP slope changes as new price-volume observations enter the cumulative calculation. A rising slope means newer activity is lifting the average and a falling slope means newer activity is lowering it.

VWAP often reacts more slowly later in the session because the cumulative totals contain more earlier data. Price can also cross a flat VWAP repeatedly in a balanced market or remain extended during a persistent trend, so interpretation must reflect the market regime.
How Traders Use VWAP
Traders use VWAP as an execution benchmark, an intraday direction filter and a reference for trend-continuation or mean-reversion setups.
| Use | VWAP's role | Required control |
|---|---|---|
| Execution benchmark | Compares an order's average price with market VWAP | Match the instrument, interval and data source |
| Direction filter | Describes whether price is holding above, below or around VWAP | Combine position with slope and market regime |
| Reaction area | Shows whether price accepts, rejects or rotates around VWAP | Wait for a defined price response |
| Strategy filter | Permits or excludes a setup | Define entry, invalidation, exit and costs separately |
For a buy order, an execution below the relevant VWAP may be favourable relative to that benchmark. For a sell order, an execution above VWAP may be favourable. The conclusion applies only to the specified benchmark interval and data.
Trend Continuation and VWAP Retest
A VWAP trend-continuation setup looks for prices to remain on the directional side of VWAP and resume after a controlled return towards the line.
| Rule | Long example | Short example |
|---|---|---|
| Context | Price above a rising VWAP | Price below a falling VWAP |
| Setup | Pullback towards VWAP without breaking bullish structure | Rally towards VWAP without breaking bearish structure |
| Confirmation | Completed bar rejects the VWAP area and closes higher | Completed bar rejects the VWAP area and closes lower |
| Invalidation | Close beyond the predefined structural low | Close beyond the predefined structural high |
| Exit | Predetermined target or trailing rule | Predetermined target or trailing rule |
The trader should define whether execution occurs at the signal close, next open or through an order because each assumption can produce a different result. Spread, commission and expected slippage must also be included when testing the rule.
VWAP Mean Reversion
A VWAP mean-reversion setup looks for an extended move to fail in a balanced market before price rotates towards VWAP.
| Rule | Long example | Short example |
|---|---|---|
| Context | Flat VWAP and range-bound price | Flat VWAP and range-bound price |
| Setup | Extension below VWAP fails | Extension above VWAP fails |
| Confirmation | Completed bar reclaims the failed-break level | Completed bar loses the failed-break level |
| Invalidation | Close below the failed extension | Close above the failed extension |
| Exit | VWAP or a predefined range target | VWAP or a predefined range target |
Distance from VWAP is not an entry signal because a strong trend can remain extended. A mean-reversion rule should exclude clearly directional sessions and require observable failure or reclaim behaviour.
Combining VWAP with EMA, RSI or Volume
VWAP can be combined with EMA, RSI or volume only when the second indicator tests a separate attribute. EMA adds recent price direction, RSI adds momentum context and a separate volume rule can assess participation around a breakout or rejection. Two overlapping price indicators or an undefined volume condition add complexity without independent confirmation.
VWAP Limitations and False Signals
VWAP can lag price, whipsaw in balanced markets and vary across feeds, sessions and indicator settings.
| Limitation | Consequence | Control |
|---|---|---|
| Lag and late-session inertia | VWAP may react slowly after price moves | Use a separate entry trigger and consider time of day |
| Flat-market whipsaw | Repeated crosses create conflicting signals | Require a regime filter and completed confirmation bar |
| Persistent trend | Price can remain far from VWAP | Do not assume immediate mean reversion |
| Low liquidity | Sparse activity can make VWAP unstable | Check liquidity, spread and volume distribution |
| Feed or session differences | Platforms can show different values | Match data source, timezone and included hours |
| Price or volume differences | The weighting input can change | Verify the indicator formula and fields |
VWAP is not fundamentally fair value. Price above VWAP is above the selected volume-weighted average, not automatically overvalued and price below VWAP is not automatically undervalued.
VWAP also has no universal success rate because VWAP is a calculation rather than one fixed strategy. Any performance claim must define the instrument, data, session, timeframe, formula, entry, execution, invalidation, exit, costs and test period.
How to Add VWAP to MetaTrader 4 and MetaTrader 5
MetaTrader 4 and MetaTrader 5 desktop users normally add VWAP as a verified custom indicator because VWAP is not listed among the standard built-in indicators in the official platform documentation reviewed.
Before installation, obtain a VWAP indicator from a trusted source and confirm its formula, price input, volume input, reset rule and platform compatibility. MT4 uses .ex4 or .mq4 files; MT5 uses .ex5 or .mq5 files.
- In MetaTrader, select File > Open Data Folder.
- Open MQL4 > Indicators in MT4 or MQL5 > Indicators in MT5.
- Copy the verified indicator file into the folder.
- Refresh the Navigator panel or restart MetaTrader.
- Find the custom VWAP indicator under Navigator > Indicators and attach it to the chart.
- Confirm the price, volume, session, timezone and band settings before selecting OK.
- Compare several plotted values with a manual calculation that uses the same data.

Custom indicators contain executable code, so traders should not install an unverified file solely because its name includes “VWAP.” Mobile and web versions may not support the desktop file workflow.
Validate the Indicator Before Using It
A VWAP indicator should be checked against five points before use:
- Source: Record the developer, download location and version.
- Formula: Confirm the selected price and cumulative calculation.
- Volume: Identify whether the indicator uses shares, contracts, real volume or ticks.
- Session: Confirm the timezone, included hours and visible reset.
- Output: Check the first value and several later values manually.
For a bar-based calculation, the first completed VWAP value should normally equal the selected representative price. A mismatch may indicate a different starting point, hidden history or another formula.
VWAP vs VWMA, EMA, SMA, TWAP and Anchored VWAP
VWAP is not universally better than EMA, SMA, TWAP or anchored VWAP because each method weights observations differently.
| Method | Weighting | Memory | Main use |
|---|---|---|---|
| Standard VWAP | Volume-weighted price | Cumulative from session start | Session benchmark and intraday reference |
| Anchored VWAP | Volume-weighted price | Cumulative from a selected event | Price-volume reference since that event |
| VWMA | Price weighted by volume | Fixed rolling lookback | Identifying volume-weighted price trends across a selected number of periods |
| EMA | Greater weight on recent prices | Rolling lookback | Responsive trend context |
| SMA | Equal weight on prices | Fixed rolling window | Simple trend baseline |
| TWAP | Time-weighted prices or executions | Defined time window | Time-based execution schedule |
VWAP and VWMA both weight prices by volume, but their calculation windows differ. Standard VWAP accumulates data from the session open and resets at the next session, whereas VWMA uses a fixed rolling period, such as 20 candles, and removes the oldest observation when a new candle is added. VWAP is therefore primarily a session benchmark, while VWMA is primarily a rolling trend indicator.
VWAP follows the distribution of volume, whereas TWAP follows time. EMA and SMA are rolling price averages, whereas standard VWAP retains all eligible session data until the reset. Anchored VWAP uses the VWAP formula but replaces the session open with a user-selected starting event.
VWAP Trading Checklist
A VWAP checklist should confirm the following before a setup is evaluated:
- Record the instrument, feed, price source and volume source.
- Define the timezone, session and reset or anchor.
- Assess price position, VWAP slope and distance.
- Classify the market as directional or balanced.
- Define the signal, execution, invalidation and exit.
- Account for position size, spread, commission and slippage.
If any field is undefined, the VWAP setup is not complete.
Frequently Asked Questions
Does VWAP Reset Every Day?
Standard session VWAP resets at the configured start of each trading session. The exact reset depends on the market, session, timezone and indicator settings. Anchored, weekly and monthly VWAP variants follow different starting rules.
Is VWAP a Leading or Lagging Indicator?
VWAP is a lagging indicator because it uses price and volume already recorded. VWAP describes the evolving session average but does not predict the next price movement independently.
Is VWAP the Same on Every Timeframe?
VWAP is equivalent across timeframes only when each calculation uses the same underlying data, price input, volume input and session. Candle-based VWAP can differ because each timeframe produces different representative prices.
What Does a 30-Day VWAP Mean?
A 30-day VWAP is a volume-weighted average calculated across a defined 30-day window. The calculation should disclose the dates, included sessions, price source and volume source.
Where Should Anchored VWAP Begin?
Anchored VWAP should begin at the event whose subsequent activity is being measured, such as an announcement, gap or swing point. The anchor should be selected before reviewing the outcome.
Does VWAP Have a Success Rate?
VWAP has no universal success rate because VWAP is not a complete strategy. A valid test must define the instrument, data, rules, costs and test period before reporting a result.
Trading CFDs and FX margin products involves significant risk. VWAP and other technical indicators cannot eliminate market execution or leverage risk.
















