VWAP definition
What is VWAP on an intraday chart?
Volume Weighted Average Price, or VWAP, is the average traded price over a chosen period after weighting each price by its volume.
Direct answer
VWAP equals cumulative price multiplied by volume, divided by cumulative volume. On an intraday chart, it usually accumulates from the session open and resets at the next session. A price above VWAP traded above the session volume-weighted average, but that fact alone does not predict whether price will rise.
What to set before testing
Formula
Cumulative price-volume / cumulative volume
Common source
(High + Low + Close) / 3
Common reset
Session
Main limit
It uses past price and volume
A small VWAP calculation example
The numbers are hypothetical and simplified. They show how a high-volume period has more effect on VWAP.
| Period | Price and volume | Running VWAP |
|---|---|---|
| 1 | $100 typical price, 100 shares | $100.00 |
| 2 | $102 typical price, 300 shares | $101.50 |
| 3 | $101 typical price, 100 shares | $101.40 |
| Interpretation | The $102 period has three times the volume of periods 1 and 3 | It pulls the running average closer to $102 |
A test workflow you can audit
- 1
Calculate typical price
For each bar, add high, low, and close, then divide by three when HLC3 is the selected source.
- 2
Multiply by bar volume
This creates the price-volume value for the bar. Higher-volume bars contribute more to the numerator.
- 3
Keep two running totals
Add price-volume values to one cumulative total and volume to another total from the anchor.
- 4
Divide and reset as defined
Divide cumulative price-volume by cumulative volume. Start again when the chosen session or anchor period resets.
Notes from the chart review
These checks keep the rule separate from the story told after a move has already happened.
When I check SPY VWAP, I confirm whether the chart includes premarket data. The same date can show a different line when the session definition changes.
When I compare QQQ charts, I record the source input. HLC3 and close are both valid calculations, but they are not identical tests.
When I review AAPL late in the day, I expect the line to react more slowly because many earlier bars already sit in the cumulative totals.
Build the formula before building a signal
Pineify can generate a plain VWAP indicator with visible cumulative values, reset rules, and optional bands. That makes the calculation inspectable.
Create a Pine Script v6 indicator for SPY that calculates Session VWAP from HLC3 and volume. Plot the VWAP, cumulative price-volume, and cumulative volume in a small table. Add an input to include or exclude extended hours and optional 1 and 2 standard deviation bands. Do not add buy or sell claims.Turn the rule into inspectable Pine ScriptWhat the VWAP line means
VWAP is one price that summarizes all included bars after weighting them by volume. A bar with more volume changes the line more than a bar with less volume at a similar distance.
Traders use the line as a benchmark for session location and execution review. It is also used as an input in rule-based strategies, but a benchmark is not a complete entry system.
The reset is part of the definition
A Session VWAP normally starts again at the selected session boundary. TradingView also supports other anchor periods, including week, month, quarter, year, earnings, dividends, and splits.
- Use a reset period that contains several chart bars.
- Record whether extended-hours bars contribute volume.
- Do not compare VWAP values calculated from different sessions without labeling them.
Why VWAP lags
VWAP is an average of data that has already traded. As the session progresses, each new bar is added to a larger cumulative total, so one later bar may move the line less than one early bar.
Lag is not automatically good or bad. It is a property of the calculation that the strategy must account for.
Continue the VWAP research
VWAP indicator for TradingView
Review the indicator formula, inputs, bands, and Pine Script implementation.
VWAP calculator
Calculate a volume-weighted average from price and volume rows.
VWAP trading strategy
Study rule-based VWAP entries and exits before testing a setup.
VWAP strategy optimizer
Compare VWAP parameters without hiding costs or holdout results.
Sources
- Volume Weighted Average Price (VWAP)
TradingView Help Center. Documents the VWAP formula, anchor periods, source input, bands, and timeframe behavior. Checked July 18, 2026.
Frequently asked questions
This page is an educational information tool, not investment advice or a recommendation to trade. Examples are test definitions, not live signals, historical results, or promises of returns. VWAP is based on past price and volume, and actual fills can differ from chart prices. Check current market data, costs, product rules, and your own risk limits before trading.
Tools for the next test
VWAP Calculator
Calculate VWAP (Volume Weighted Average Price) from OHLC and volume data. Supports anchored VWAP from specific dates for institutional trading levels.
Best VWAP Settings for Day Trading
Start with a reproducible VWAP baseline, then compare timeframe, source, anchor, and bands one input at a time.
VWAP vs Anchored VWAP
Compare session VWAP and Anchored VWAP by starting point, reset, timeframe, and test use case.
VWAP vs VWMA
Compare cumulative anchored VWAP with a rolling volume-weighted moving average and test both with the same rules.
VWAP Reclaim Strategy
Define a closed-bar VWAP reclaim, entry, invalidation, session window, and cost assumptions before testing.
Put the VWAP rule in writing
Pineify turns a plain-language setup into Pine Script you can read, edit, and test. The script does not predict the next price.
Build a VWAP test rule