Part of the Indicator Math series. This time, the same move in price can count for a lot or a little, depending on how much traded.

Which prices should count more?

Imagine a stock trades 100 shares at $102 and 900 shares at $100. The midpoint of those prices is $101, but only a tenth of the shares traded at the higher price. The average price per share is $100.20. That’s the question VWAP answers: where did trading take place on average when you count each share, or each futures contract, equally?

When you see price above VWAP, all you know from that comparison is that the current price is above the volume-weighted average since the line started. You don’t know whether price has been rising for the past ten minutes, whether most traders are profitable, or whether the line will hold on a pullback. That difference between a reference and a forecast is the whole point of knowing the math.

The VWAP formula

VWAP stands for volume-weighted average price. It has a history as an execution benchmark, not just a line on an intraday chart. In a 1988 Journal of Finance paper, Stephen Berkowitz, Dennis Logue, and Eugene Noser used the day’s VWAP as a yardstick for estimating the execution cost of NYSE trades, as documented in a University of Technology Sydney working paper on VWAP.

With individual trades, multiply each transaction price by its size, add those products, and divide by the total number of shares or contracts traded. A bar-based chart substitutes one representative price for all the trading inside each bar. TradingView’s VWAP documentation calls its default price input hlc3: the bar’s high, low, and close averaged together. StockCharts’ session VWAP uses the same bar-price convention and accumulates from the market open.

Typical price = (High + Low + Close) ÷ 3
Bar contribution = Typical price × Bar volume
VWAP = Σ Bar contribution ÷ Σ Bar volume

High and low are the highest and lowest traded prices in the bar, and close is its final price once the bar is complete. Bar volume is the number of shares or contracts traded during that interval. The Σ symbol means “add these up.” Both sums start at the same point, called the anchor, and run through the current bar. Without any volume since that starting point, there’s nothing to divide by and no VWAP to calculate.

Session VWAP starts over with each selected trading session. Anchored VWAP can instead start from a specified bar, such as the first bar after an earnings announcement, and carry through later sessions. The division doesn’t change. What changes is the set of trades or bars included. Unlike a rolling moving average, session VWAP doesn’t drop the first bar when a new one comes in. It keeps that bar in the totals until the reset.

A worked VWAP example by hand

Take six made-up five-minute bars for a $100 stock. Each row is one completed bar, labeled by its start time in Eastern time. The 9:30 row covers 9:30 to 9:35, so its final VWAP is known at 9:35. Both running totals start at zero before the 9:30 bar.

BarHighLowCloseSharesTypical
9:30100.5099.75100.501,200100.25
9:35101.50100.50101.00800101.00
9:40101.0099.75100.005,000100.25
9:45100.75100.00100.751,000100.50
9:50102.25100.75101.501,000101.50
9:55102.50101.50102.001,000102.00
9:30 typical = (100.50 + 99.75 + 100.50) ÷ 3
             = 100.25
9:30 contribution = 100.25 × 1,200 = 120,300
9:30 VWAP = 120,300 ÷ 1,200 = 100.25

9:35 contribution = 101.00 × 800 = 80,800
9:35 VWAP = (120,300 + 80,800) ÷ 2,000 = 100.55

9:40 contribution = 100.25 × 5,000 = 501,250
9:40 VWAP = (201,100 + 501,250) ÷ 7,000 ≈ 100.336

Final total = 702,350 + 100,500 + 101,500 + 102,000
            = 1,006,350
Final VWAP = 1,006,350 ÷ 10,000 = 100.635

The six typical prices average about $100.917 if you give each bar an equal vote. VWAP ends lower, at $100.635, because half the shares in the example traded in the 9:40 bar, which the calculation represents at $100.25. To reproduce it in a spreadsheet, add three columns after Typical: price times volume, its running sum, and the running sum of volume. Divide the two running sums on every row. Keep full precision until you display the result.

What VWAP actually measures

VWAP is the average price per unit of volume in the selected window, or an estimate of that average when you use bars. It isn’t the price at which the most shares traded. Finding that price requires a breakdown of volume by price, not one average. VWAP also isn’t the cost basis of the people still holding a position. Some shares may turn over several times, and the calculation doesn’t tell you which positions are open or who bought or sold.

The chart below overlays regular-session VWAP on SPY for November 19, 2026. Notice how price moves lower and away from the line while the average responds more slowly. The line still includes all volume since the session started.

SPY 5-minute candles on Nov 19, 2026 falling below a slower-moving session VWAP line, with volume bars below.
SPY 5-minute bars on Nov 19, 2026 with session VWAP: VWAP started at 738.85 and drifted to 723.74 by the last bar while price closed at 715.78.

What moves VWAP is the difference between the new bar’s typical price and the old average, scaled by the new bar’s share of cumulative volume. In the table, the 9:40 bar contributes five sevenths of the volume seen by that point, enough to pull VWAP sharply toward $100.25. Another bar at the same price and volume would have less influence if much more volume had already traded. The clock itself isn’t what makes the line slower later in a session. It’s the volume already in the calculation.

How traders use VWAP

  • Opening-range trend filter: On ES or MES, test taking a break above the first 15 minutes’ high only if a completed bar closes above both that high and VWAP anchored at the U.S. cash open. The opening-range breakout is the entry setup; VWAP is a condition you compare against the same setup without the filter.
  • Pullback reference: In a session already making higher highs and higher lows, test a pullback-to-value entry after price reaches the VWAP area and closes above the prior bar’s high. The touch locates the setup; the close is your trigger. Define the acceptable distance from VWAP and the stop at the pullback low before testing.
  • Range exit target: If price has tested both sides of a defined intraday range and you already have an entry rule at one side, test using the VWAP value at the time of entry as the first target. Only do this when that value sits inside the range. This gives the trade a fixed target without assuming the moving line will attract price on a one-way session.
  • Execution benchmark: For an order filled over a planned window, compare your size-weighted average fill with market VWAP over those same hours. A lower average buy fill beats that benchmark before costs. That is a fill comparison, not evidence the trade had a good entry thesis.

Where VWAP fails

A line can be right and a trade can be wrong. On a one-way session, price can stay far from VWAP for hours. In sideways trade, repeated crosses around the line can generate a string of false starts. Early in the day, a single active bar may pull the line substantially; later, a sharp move on modest volume may barely move it. Don’t borrow an entry rule from one of those environments and assume it applies to all three.

Different inputs make different lines. A futures VWAP that includes overnight trading answers a different question from one that starts at the cash open. A five-minute VWAP based on bar prices can also differ from a one-minute version, because a single five-minute typical price need not match the weighted average of the five one-minute prices. Use one session, price source, and bar interval in both live trading and review. If you change the settings, treat it as a different test.

Keep future information out of the rule. A live bar’s high, low, last price, and volume can all change before it closes. Don’t score a touch or cross using the final bar value if your rule acts earlier. The same applies to a hand-picked anchor: if you pick the day’s low after the close, you can’t act as though you knew it was the day’s low when it printed.

Takeaway: VWAP tells you where the selected trading window’s volume traded on average. Choose the starting point first, then give the line one job, such as filtering a breakout or grading a fill. The line can do that job without being your entry, stop, and prediction all at once.

Next up: RSI: What the Relative Strength Index Actually Measures

Leave a Reply