Explainers / VWAP
What VWAP actually computes
VWAP started life as an accounting number, not a chart signal: the average price paid per share since a fixed starting point, weighted by how many shares changed hands at each price. It answers "what did the average participant pay?" exactly. On charts it is usually asked a different question, "where will price turn?" This page is about the gap between the two.
The formula
From an anchor (usually the start of the session) to the current bar:
VWAP = sum(price x volume) / sum(volume)
"Price" is usually the typical price (high + low + close) / 3, and both sums restart at the next anchor. There is no lookback length, no multiplier and no swing to choose. Bars where a lot traded count for more.
TradingView's built-in VWAP draws one band by default: the standard deviation of price around VWAP since the anchor, times 1 (bands at 2 and 3 are off until you turn them on). A second band mode, "Percentage", is a fixed-width envelope instead, so two charts can both say "VWAP bands" and draw different things.
Why it chases price in the morning and goes flat in the afternoon
If VWAP stands at W, built from volume V, and a new bar trades volume v at price p, VWAP moves by exactly:
change = v / (V + v) x (p - W)
The first factor is the new bar's share of all volume since the anchor. Early in the session V is small, so each bar is a large share and VWAP follows price. Late in the session a bar that is 1% of the volume so far, trading two dollars away, moves VWAP two cents. A session VWAP gets harder to move as the day goes on, because the volume it divides by only grows; a very heavy bar near the close can still nudge it.
That matters when you read "touches". A nearly flat line that price oscillates around will be touched many times, whatever the volume weighting does. An afternoon chart that seems to "respect VWAP" is not, on its own, evidence that the line is a level.
Why your VWAP differs from someone else's
Two charts of the same symbol, on the same day, can show different VWAPs without anyone having made a mistake. The usual causes, in rough order of size:
- Where the sums start. If one chart includes extended hours and the other does not, one VWAP has been averaging pre-market trades since early morning and the other starts at the open. The same goes for the anchor setting: Session, Week and Month VWAPs are different averages.
- The volume feed. An exchange-specific symbol carries only that venue's volume; a consolidated feed carries all of it. Different volume means different weights, which means a different average.
- The timeframe. Each bar contributes its typical price, (high + low + close) / 3, times its volume. A 15-minute bar's typical price is not the volume-weighted average of the fifteen 1-minute bars inside it, so a 1-minute VWAP and a 15-minute VWAP drift apart, usually by cents.
- The price source. Some platforms use the close, or (open + high + low + close) / 4, instead of the typical price. A broker's execution VWAP is computed from every individual trade, not from bars at all.
None of these is "the right one". Each is an exact answer to a slightly different question. When two VWAPs disagree, check those four settings before reading anything into the gap.
Does VWAP repaint?
Not on closed bars. Once a bar has closed, the VWAP up to that bar is fixed. On the live bar it moves with every trade until the close, and so do the bands. Anchored VWAP does not repaint either, but the anchor is chosen by a person, usually after seeing what happened, which is why anchored VWAP examples tend to look better in hindsight than in real time.
Where it fails
- Late in the session it barely moves, so touches and crosses become likely by construction.
- "Above VWAP" describes a position; it is not a verdict on who is winning.
- Anchored VWAP is usually anchored with hindsight in the examples you see.
- It is only as good as the volume feed, and on some symbols that is not total traded size.
- It says nothing about the future. It is an average of what has already traded.
- Two charts can disagree on VWAP for mechanical reasons (session, timeframe, volume feed) before anyone has an opinion.
The Teardown Letter
The monthly Teardown Letter takes one popular indicator apart per issue in the same way: what it computes, what follows from the arithmetic, and where it misleads. Issues so far: RSI, MACD, order blocks, Fibonacci and Supertrend. New subscribers get every past issue.
Also explained: Repaint checker, Supertrend, RSI, UT Bot Alerts, Nadaraya-Watson Envelope, Squeeze Momentum, What is repainting on TradingView?, Is TradingView backtesting accurate?, Chandelier Exit, WaveTrend Oscillator, QQE MOD, Pivot highs and lows, Hull Suite, Range Filter, Twin Range Filter, HalfTrend, ZigZag++, SSL Hybrid, CM MacD Ultimate MTF, Volume Profile / Fixed Range, ADX and DI, Support Resistance Channels, Market Structure Break & Order Block, Order Block Finder, Pivot Point SuperTrend, Trendlines with Breaks [LuxAlgo], Divergence for Many Indicators, TradingView script selling terms, Support and Resistance Levels with Break, Liquidity Swings [LuxAlgo], Pine Script errors, Breakout Probability (Expo), Did ChatGPT or Claude write your Pine Sc, Lorentzian Classification, SuperTrend AI (Clustering), Machine Learning Adaptive SuperTrend, Dynamic Swing Anchored VWAP, Support and Resistance Power Channel by , Support and Resistance (High Volume Boxe, Trendline Breakouts With Targets by Char, Breakout Finder by LonesomeTheBlue
Educational tools only—not investment advice. Trading involves substantial risk of loss.
Get the next teardown by email
One short email when a new teardown or free tool goes live, about twice a month. No signals, no hype. Unsubscribe in one click.
Almost done. Check your inbox and click the confirmation link.
Sent with Kit. Your address is used only for these emails. Privacy
No TradingView account yet? This affiliate link gives you a $15 coupon toward a paid plan, and we earn a commission if you buy one. The free plan is enough to follow this page.