1. Valmy
  2. Learn
  3. Indicator catalog
  4. T23

What is VWAP, and why does it reset?

Intermediate 18 min read

Short answerVWAP, the volume-weighted average price, is the average price an instrument has traded at since a chosen starting point, with each price counted in proportion to the volume traded there. On a US stock chart the starting point is usually the 09:30 Eastern Time (ET) open of the regular session, so the line restarts every morning. A crypto pair trades around the clock and has no opening bell, so each platform picks a reset time, often 00:00 UTC, and a different choice draws a different line: on this lesson's synthetic chart, a close of 98.00 sits above a VWAP reset at 00:00 UTC (97.30) and below one reset at 16:00 UTC (98.83). Anchored VWAP drops the clock and starts the average at a bar the trader picks, such as a news day.

Large investors use the day's VWAP as a yardstick for how well their orders were filled, and chart readers use it to judge whether the session's average buyer is sitting on a gain or a loss. Before you use it either way, check where the average starts and which volume data feed it.

Valmy noteValmy's v1 strategy language includes the simple moving average and no other indicator, so VWAP and anchored VWAP are taught here for reading charts (as of 26 November 2026).

Volume-weighted average price (VWAP): the average price paid since the session began#

The volume-weighted average price (VWAP) measures the average price paid per share, coin or contract since the start of the current session, giving more weight to prices where more volume traded. Its inputs are each bar's high, low, close and volume. Charting tools cannot see every trade inside a bar, so they stand in for those trades with the bar's typical price, (high + low + close) ÷ 3. Then VWAP = running total of (typical price × volume) ÷ running total of volume. It is quoted in the instrument's price units, such as dollars for a US stock or USDT for a pair priced in USDT. It has no lookback length: it adds one bar at a time until the session resets. No single inventor is credited. Berkowitz, Logue and Noser (1988) proposed the day's VWAP as the benchmark for measuring trading costs on the New York Stock Exchange, and chart platforms now draw it as a line over intraday candles.

A session is the block of trading that the average covers. For a US stock it is normally one regular trading day. This lesson uses the typical-price variant with the running totals restarted at each new session, as in TradingView's VWAP (whose default source is the typical price, labeled hlc3) and the VWAP function in the TA-Lib library. TA-Lib's function takes no timestamps, so the code calling it decides where a session starts. That design shows that the reset is a convention chosen outside the formula.

Calculating VWAP step by step#

VWAP after any bar equals the running total of typical price × volume divided by the running total of volume since the session began. The table follows the first six five-minute bars of a synthetic stock session (synthetic data). Volume is in shares and prices in dollars.

Bar (ET) High Low Close Typical price Volume Price × volume Running price × volume Running volume VWAP
09:30 50.60 49.70 50.30 50.20 12,000 602,400 602,400 12,000 50.20
09:35 50.40 49.90 50.00 50.10 8,000 400,800 1,003,200 20,000 50.16
09:40 50.10 49.60 49.70 49.80 6,000 298,800 1,302,000 26,000 50.08
09:45 49.90 49.50 49.70 49.70 5,000 248,500 1,550,500 31,000 50.02
09:50 50.10 49.60 50.00 49.90 4,000 199,600 1,750,100 35,000 50.00
09:55 50.40 49.90 50.30 50.20 5,000 251,000 2,001,100 40,000 50.03

Working the first rows by hand:

  1. The 09:30 bar's typical price is (50.60 + 49.70 + 50.30) ÷ 3 = 50.20. With only one bar, VWAP equals that typical price: 602,400 ÷ 12,000 = 50.20.
  2. At 09:35 the typical price is (50.40 + 49.90 + 50.00) ÷ 3 = 50.10. The running totals become 602,400 + 400,800 = 1,003,200 and 12,000 + 8,000 = 20,000, so VWAP = 1,003,200 ÷ 20,000 = 50.16.
  3. Continuing to 09:55: 2,001,100 ÷ 40,000 = 50.0275, or 50.03 rounded.

A simple average of the six typical prices is 299.90 ÷ 6 = 49.98. VWAP is higher, at 50.03, because the first bar traded at 50.20 and carried 12,000 of the 40,000 shares, or 30% of the volume. When most of the volume trades at one price, VWAP leans toward that price.

The typical price is an approximation. An exchange that records every trade can compute VWAP exactly as the total value traded divided by the total quantity traded. Binance's market-data API, for example, reports a weightedAvgPrice equal to quote volume divided by base volume. Madhavan (2002) lists averages of a bar's open, high, low and close among the proxies used when trade-level data is unavailable. Two platforms can therefore show slightly different VWAP values from the same market.

Reading VWAP on a chart#

Price above VWAP means the session's average buyer paid less than the current price and is, on paper, ahead. Price below VWAP means the average buyer is behind. Some intraday traders treat the line as the session's fair-value line: they prefer to buy below it and sell above it. Either way, VWAP describes the session so far. It does not predict the next move. Figure 1 shows one synthetic stock session that opened 2.4% below the previous close.

Synthetic five-minute candlestick chart of one US stock session from 09:30 to 16:00 ET with a blue VWAP line and volume bars below. VWAP starts at 48.16 (A), price falls to a low of 47.69 at 12:15 while VWAP sits at 48.12 (B), price closes above VWAP at 13:20 (C) and the session ends at 48.61 against a VWAP of 48.33. Volume is heaviest in the first and last half hour.
Figure 1. Synthetic data. VWAP across one stock session. Notice how flat the line stays in the afternoon while price climbs well above it.
  • A, 09:30. The first bar's typical price is 48.16, so VWAP starts there. With one bar, VWAP and price agree by definition.
  • B, 12:15. Price reaches the session low of 47.69, 0.9% below VWAP at 48.12. Every share bought since the open has cost, on average, more than this price, so the average buyer of the morning is behind.
  • C, 13:20. A five-minute bar closes at 48.12, above VWAP at 48.09, for the first time since the low. Price keeps rising and the session ends at 48.61 against a VWAP of 48.33.

Notice the volume panel: heavy at the open, light at midday and heavy again before the close. This synthetic session was given the U shape that is common in US stocks. Madhavan (2002) shows the same pattern in half-hour volume for Microsoft stock from April to July 2001. In Figure 1, 23% of the session's volume traded in the first hour, and 41% had traded by 12:00.

Why institutions measure their trades against VWAP#

An investment manager who buys 200,000 shares over a day needs a fair price to compare the fills with. The day's VWAP is a popular choice because it is the average price that all buyers and sellers paid that day. Berkowitz, Logue and Noser (1988) measured the market impact of trades on the New York Stock Exchange against the day's VWAP. Madhavan (2002) summarizes their reasoning: an average of all the day's trades, weighted by size, is a fair estimate of the price available to a trader who does not try to time the market. A buy filled below VWAP beat the benchmark, and a buy filled above it paid more than the average participant.

The benchmark has limits that Madhavan (2002) also describes:

  • A large order moves VWAP itself. If the order makes up much of the day's volume, VWAP largely reflects that order's own trades, and beating it says little about the quality of the execution.
  • It changes behavior. A trader measured against daily VWAP has a reason to spread the order across the whole day to avoid the day's extremes, even when trading early would have been cheaper.
  • It can be gamed. A trader with freedom over timing can make measured performance look better without lowering the investor's cost.

Madhavan (2002) also describes broker services that guarantee the day's VWAP and automated strategies that slice an order to follow the expected volume pattern, trading more at the open and close when volume is heavy. The lesson Why did I pay more than the price on screen? Spreads and slippage explains the costs that such benchmarks try to measure.

Why VWAP resets on a stock chart: one session per day#

On a US stock chart, VWAP usually resets at the 09:30 ET open because the regular session gives each day a natural start and end. The core session on NYSE markets runs from 9:30 a.m. to 4:00 p.m. ET (as of 26 November 2026). Between sessions, news arrives and the price can open far from the previous close, an overnight gap. A VWAP that kept the previous day's trades would describe buyers who are no longer the ones in the market.

Synthetic line chart of two stock sessions of five-minute closes. Day 1 trades near 49.5 to 50.0. Day 2 opens 2.4 percent lower at 48.15 after an overnight gap. The blue session VWAP restarts at the day 2 open and ends at 48.33, while an orange dashed VWAP with no reset stays above price all day and ends at 49.04. Day 2 closes at 48.61.
Figure 2. Synthetic data. The same two sessions with and without a reset. Notice that the line with no reset stays above every day 2 close.

In Figure 2, day 1 closed at 49.35 and day 2 opened at 48.15, a gap of −2.4%. The session VWAP restarted with the first day 2 bar and tracked the new day's trading: 49 of day 2's 78 five-minute bars closed above it, and the day ended at 48.61 against a session VWAP of 48.33. A VWAP that never reset still carried all of day 1's volume, so it ended day 2 at 49.04. By that line, price was "below VWAP" on all 78 bars, a reading driven by yesterday's buyers.

Extended hours add a second choice. NYSE Arca accepts trades in an early session from 4:00 a.m. to 9:30 a.m. ET and a late session from 4:00 p.m. to 8:00 p.m. ET (as of 26 November 2026). Whether those trades enter a stock's VWAP depends on which bars the chart includes and on the indicator's settings. A VWAP that starts at 04:00 ET with thin pre-market volume can differ from one that starts at 09:30. Check which convention a chart uses before comparing VWAP values across platforms. The lesson When can I trade, and what happens to prices outside market hours? covers extended sessions.

Why VWAP resets on a crypto chart: someone has to pick the day#

A crypto pair such as one quoted in USDT trades 24 hours a day, 7 days a week, so there is no opening bell to restart VWAP. Platforms therefore define a day by the clock, and the choice of clock changes the line. Binance's Spot API builds its candles and its trading-day statistics in UTC by default and accepts a timeZone setting from −12:00 to +14:00, so even the exchange's own "day" depends on a parameter (as of 26 November 2026). TradingView's VWAP lets the user anchor it to a session, a week, a month and other periods.

Synthetic hourly candlestick chart of a crypto pair over two days with two VWAP lines. The blue line resets at 00:00 UTC and the orange dashed line resets at 16:00 UTC, which is midnight at UTC plus 8 hours. At point P, 04:00 UTC on the second day, the close of 98.00 is above the blue line at 97.30 and below the orange line at 98.83.
Figure 3. Synthetic data. One market, two reset times. Notice that between the resets the two lines can sit on opposite sides of price.

In Figure 3, the blue line restarts at 00:00 UTC. The orange dashed line restarts at 16:00 UTC, which is midnight for a trader whose platform is set to UTC+8, as in Singapore or Hong Kong. At point P, 04:00 UTC on the second day, the hourly bar closed at 98.00:

  • Against the 00:00 UTC VWAP of 97.30, price was 0.7% above, so the day's average buyer was ahead.
  • Against the 16:00 UTC VWAP of 98.83, price was 0.8% below, so the average buyer since the other reset was behind.

Neither reading is wrong. They describe different groups of buyers. In 20 of the 48 hours shown, the close sat between the two lines, so the two traders would have disagreed about whether price was above or below "VWAP". A third convention exists too: Binance's 24-hour ticker reports a weighted average price over a rolling 24-hour window that moves with the clock and never resets.

When VWAP misleads#

VWAP, the volume-weighted average price since the session began, is exact arithmetic, but readings of it mislead in five predictable ways: late in the session the line barely moves, the first minutes are noisy, it needs reliable volume, the reset time decides whether price is "above" it, and crossing it is not a tested signal.

Late in the session the line barely moves. Each new bar changes VWAP by the bar's share of the running volume multiplied by the distance between its typical price and the previous VWAP. In Figure 1, the 09:35 bar carried 38% of the volume traded up to that point, so a bar trading 1% above VWAP would have lifted VWAP by about 0.38%. At 15:00 one bar carried 1.8% of the running volume, so the same bar would have lifted it by about 0.02%. A price far above VWAP in the afternoon can simply mean that the morning set the average. It does not by itself show that buyers are stronger now.

The first minutes are noisy. Early in the session VWAP rests on a few bars and can swing with each one. A cross of VWAP in the first 15 minutes carries much less information than one at midday.

No volume, no VWAP. VWAP needs reliable volume. An index level such as a stock market average is calculated from its members' prices rather than traded as one instrument, so an index data feed may carry no volume of its own, and VWAP cannot be computed from it. On a crypto chart, the volume usually comes from one exchange, so the line describes that venue's trades only. The lesson Is volume confirming the move? discusses why one venue's volume is a partial view.

The reset choice decides the answer. As Figure 3 shows, "above VWAP" on a crypto pair depends on the platform's day boundary. On a stock chart it depends on whether extended hours are included.

A level is not a signal. Some traders buy when price reclaims VWAP and sell when it loses it. On a trending day, price can stay on one side of VWAP for hours: in Figure 1, all 32 five-minute closes from 13:20 to the end of the session were above it, so a trader waiting for a pullback to VWAP never got one. Treat any VWAP rule as an idea to test with costs, not as an established edge.

Anchored VWAP: the average price since an event you choose#

Anchored VWAP uses the same formula as VWAP, the running total of typical price × volume divided by the running total of volume, but it starts at a bar the trader chooses and never resets. Its inputs are high, low, close and volume, and its units are price units. The anchor is usually an event: an earnings release, a large price jump, a listing, a swing high or a swing low. The line then answers one question: what is the average price paid by everyone who traded since that event, and are they ahead or behind now? TradingView's VWAP settings include anchors such as earnings, dividends and splits alongside calendar periods. Brian Shannon's book Maximum Trading Gains with Anchored VWAP (2023) is a book-length treatment of the method. Unlike the session VWAP, anchored VWAP is usually drawn on daily candles and can run for weeks.

Calculating anchored VWAP step by step#

Anchored VWAP on any day equals the running total of typical price × volume from the anchor day through that day, divided by the running volume over the same days. The table starts on a synthetic news day with heavy volume (synthetic data). Volume is in shares.

Day from anchor High Low Close Typical price Volume Running price × volume Running volume Anchored VWAP
1 108 102 105 105 3,000,000 315,000,000 3,000,000 105.00
2 106 103 103 104 1,500,000 471,000,000 4,500,000 104.67
3 104 100 102 102 1,200,000 593,400,000 5,700,000 104.11
4 103 100 100 101 1,000,000 694,400,000 6,700,000 103.64
5 102 99 102 101 900,000 785,300,000 7,600,000 103.33
  1. Day 1's typical price is (108 + 102 + 105) ÷ 3 = 105, so the line starts at 105.00.
  2. Day 2 adds 104 × 1,500,000 = 156,000,000. The running totals are 471,000,000 and 4,500,000, so anchored VWAP = 104.67.
  3. By day 5 the totals are 785,300,000 and 7,600,000, giving 103.33.

On day 5 the close of 102 is 1.3% below the anchored VWAP, so the average buyer since the news day is behind. The simple average of the five typical prices is 102.6. The anchored VWAP is higher because 3,000,000 of the 7,600,000 shares traded on day 1 at about 105.

Reading anchored VWAP on a chart#

Traders read an anchored VWAP as the break-even price of the group that traded since the anchor. If price pulls back to the line and holds, one reading is that those buyers defended their average cost. If price falls through it, the average participant since the event is now losing money, and some of them may sell. A line anchored at a swing high marks the average cost of everyone who bought near the top, and some traders watch it as a level where those buyers might sell to get out even. Figure 4 shows two anchors on synthetic daily candles.

Synthetic daily candlestick chart over 100 days with volume below. On day 32 price jumps 6.0 percent at the open on 2.6 times average volume (A). A blue anchored VWAP from that day rises beneath price. An orange dashed anchored VWAP starts at the swing high of 50.21 on day 56. On day 67 the pullback low of 46.39 holds 0.3 percent above the blue line at 46.25 (B). On day 100 the close of 48.03 is 1.4 percent above the blue line at 47.36 and 0.8 percent below the orange line at 48.40 (C).
Figure 4. Synthetic data. Two anchored VWAP lines from two chosen events. Notice that the final close sits between them.
  • A, day 32. Price opens 6.0% above the previous close of 40.60, at 43.04, on volume 2.6 times its 20-day average. The blue line starts here.
  • B, day 67. After a swing high of 50.21 on day 56, price pulls back to a low of 46.39. The blue anchored VWAP is at 46.25, so the low holds 0.3% above it. One reading: buyers since the jump defended their average cost. The orange line, anchored at the swing high, is at 48.03, well above price.
  • C, day 100. The close of 48.03 is 1.4% above the blue line (47.36) and 0.8% below the orange line (48.40). A trader watching the blue line sees buyers since the jump still ahead. A trader watching the orange line sees buyers since the top still behind. The chart supports both readings.

When anchored VWAP misleads: the anchor is a choice#

The weakness of anchored VWAP is that the trader picks the start. Different anchors give different lines, and after the fact it is easy to pick the anchor whose line appears to have worked. Figure 5 draws an anchored VWAP from every day between day 1 and day 61 of the same synthetic chart and asks how each line describes the day-67 pullback low of 46.39.

The same synthetic daily chart with 61 anchored VWAP lines, one starting on each of days 1 to 61. For 31 lines, mostly those starting before the jump, the day-67 low stayed above the line. For 27 lines, mostly those starting after the jump, the low broke below the line. Only the 3 lines starting on days 32 to 34 were touched within half a percent.
Figure 5. Synthetic data. One pullback, 61 possible anchors. Notice how the verdict on the same low depends on the start day.

The same low reads three ways:

  • For 31 anchors, mostly days before the jump, the low stayed more than 0.5% above the line: "support was never even tested."
  • For 27 anchors, mostly days after the jump, the low fell more than 0.5% below the line: "support broke."
  • For 3 anchors, days 32 to 34, the low came within 0.5% of the line: "support held exactly."

A chart posted after the fact usually shows one of the lines that touched. To use anchored VWAP without fooling yourself, choose the anchor by a rule written down before the outcome, such as "the highest-volume day of the earnings release", and test that rule on charts you did not use to design it. The lesson When does a breakout fail? shows the same hindsight problem with support and resistance levels.

Two more limits apply. Anchored VWAP on daily candles uses the daily typical price as its proxy for every trade that day, so it is rougher than an intraday VWAP. And on a crypto pair, daily candles depend on the platform's day boundary too, so the anchor day itself starts at a chosen time.

Check your understanding: VWAP, reset times and anchors#

Question. Use typical prices and volumes, and round to two decimals.

  1. A stock's first three five-minute bars after the 09:30 open have typical prices of 20.00, 20.30 and 20.60, with volumes of 50,000, 10,000 and 10,000 shares. What is VWAP after the third bar, and why is it below the simple average of 20.30? Is price at 20.60 above or below VWAP?
  2. A crypto pair trades at 99.50 USDT. Since 00:00 UTC, 6,000 units have traded at a VWAP of 99.00. In the eight hours from 16:00 UTC the previous day to midnight, 4,000 units traded at a VWAP of 101.00. One platform resets at 00:00 UTC and another at 16:00 UTC. What does each show, and which is right?
  3. A news day has a typical price of 100 on 2,000,000 shares, and the next day has a typical price of 96 on 1,000,000 shares. Price is now 97. Where is the anchored VWAP from the news day? Where is it if the anchor is moved one day earlier, to a day with a typical price of 90 on 1,000,000 shares?
Show the answers

Answer.

  1. VWAP = (20.00 × 50,000 + 20.30 × 10,000 + 20.60 × 10,000) ÷ 70,000 = 1,409,000 ÷ 70,000 ≈ 20.13. It is below the simple average because 50,000 of the 70,000 shares traded at 20.00, so the lowest price carries the most weight. Price at 20.60 is about 2.3% above VWAP.
  2. The 00:00 UTC platform shows VWAP = 99.00, with price 0.51% above it. The 16:00 UTC platform combines both periods: (4,000 × 101.00 + 6,000 × 99.00) ÷ 10,000 = 99.80, with price 0.30% below it. Both are correct. They average different windows, and "above VWAP" depends on which window you choose. Check the reset time before comparing readings.
  3. From the news day: (100 × 2,000,000 + 96 × 1,000,000) ÷ 3,000,000 ≈ 98.67, so price at 97 is 1.7% below the line, and buyers since the news are behind. One day earlier: (90 × 1,000,000 + 100 × 2,000,000 + 96 × 1,000,000) ÷ 4,000,000 = 96.50, so price is 0.5% above the line. Moving the anchor by one day flips the reading, which is why the anchor should be chosen by a rule before you look at the result.