TradeReign
Back to HomeEducation HubCompatibilityAboutDisclosures
TradingView Indicators

TradingView VWAP Auto Anchored Highest Volume and the Rolling Lookback

A moving anchor changes which bars contribute to the weighted average. Use the two snapshots below to separate a bar entering the lookback from the point where the calculation starts.

Quick Answer

In TradingView, add VWAP Auto Anchored from Indicators and set Anchor Period to Highest Volume. Length controls how many recent bars it searches. The anchor can move when the previous winner falls out of that window, even if the newest bar has less volume.

Start 7-Day TrialMore Guides

Set up the built-in VWAP Auto Anchored

On a dated futures chart in Supercharts, open Indicators and add VWAP Auto Anchored. Open its Settings → Inputs, choose Highest Volume under Anchor Period, and set Length to four for the teaching example. Use Close as the Source and leave Offset at zero.

Highest Volume searches volume, Highest High searches highs and Lowest Low searches lows. Length limits those three searches to the specified number of bars. Source selects the price to weight after the anchor has been chosen. Picking Close instead of HLC3 changes the calculation without changing which bar wins a Highest Volume search.

Auto is a separate Anchor Period choice that selects a period based on the chart timeframe. Choose Highest Volume explicitly for the rolling-volume exercise. The similarly named Auto Anchored Volume Profile summarizes volume by price, while VWAP Auto Anchored plots a weighted-average price line.

Why the anchor moves when an older bar drops out

The fictional five-minute MES bars ending at 11:10, 11:15, 11:20, 11:25 and 11:30 ET have volumes of 180, 100, 120, 140 and 125 contracts. The corresponding closes are 6,002.00, 6,002.50, 6,001.75, 6,003.00 and 6,003.25. The teaching charts label bars by close time. TradingView labels time-based bars by open time.

At the 11:25 close, Highest Volume with Length 4 searches 11:10 through 11:25. The 180-contract bar wins. Weight all four closes by their volumes and divide by 540 contracts. The result rounds to 6,002.30.

At 11:30, the new four-bar window starts at 11:15. The 11:10 bar is outside it. The 140-contract bar at 11:25 is now the highest in the window, even though the new bar has only 125 contracts. The automatic VWAP starts at 11:25, so (6,003.00 × 140 + 6,003.25 × 125) ÷ 265 rounds to 6,003.12. A drawing pinned to 11:10 and using the same Source still counts all five bars and rounds to 6,002.48.

Highest Volume VWAP before and after the lookback rolls

Synthetic MES 5-minute candles. Times are bar closes in ET.

Marker 1 is the 180-contract bar at 11:10 ET. It is still among the last four completed bars. The blue line is the shared VWAP of 6,002.30 at 11:25.

Audit a moved, missing or unexpected line

In Bar Replay on a supported dated symbol, step one completed bar at a time. If the automatic indicator is available in your replay, write down the largest-volume bar in the current Length window and check where the line starts. Keep the chart interval and session fixed. Four five-minute bars cover a different time span than four fifteen-minute bars.

TradingView shows the automatic line from the latest selected anchor and redraws when that anchor changes. The finished chart can omit an anchor you saw earlier. Save the timestamp, Length, chosen source and line value at each observation when reviewing whether a rule was available at the time.

If your manual comparison differs, check the starting bar, source, offset, symbol, session and bar type. For the example’s closes, use standard time-based candles. Check that volume is available on the chosen feed. A manual drawing is useful when you want to preserve a specific event anchor while the automatic one keeps rolling.

Sources

Official References

Platform details on this page were checked against these official resources.

TradingView VWAP Auto AnchoredDocuments the anchor period choices, rolling Length and price source.TradingView’s explanation of anchor changesDescribes how the indicator redraws when another anchor is selected.TradingView Anchored VWAP drawingShows how to start a separate VWAP from a bar you choose.
Related Guides

Keep Building the Rule System

Check Anchored VWAP after changing timeframes

Separate a shift in the starting bar from aggregation of the same minute data.

Compare Percentage and Standard Deviation bands

Switch band modes while keeping the VWAP, chart and anchor fixed.

See why the visible-range POC moves

Remove one block of trades and compare with a fixed profile.

Compare Session VWAP with a hand-drawn anchor

Use a cash-open or swing anchor and inspect why the two averages differ.

Compare volume with the same time on prior sessions

Check how the volume baseline differs from choosing the highest bar in one lookback.

Read volume by price in TradingView

Compare the point of control with a volume-weighted average price.

FAQ

Common Questions

Why did Auto Anchored VWAP move without a new high-volume bar?

The old highest-volume bar can leave the rolling Length window. The automatic tool then uses the highest-volume bar still inside that window.

Does Highest Volume look at the entire trading session?

It searches the most recent number of chart bars specified by Length. Session is a separate Anchor Period setting.

What does Source change on VWAP Auto Anchored?

It sets the price weighted by each bar’s volume. Highest Volume still compares bar volume to choose the anchor.

Does the automatic VWAP average all bars in Length?

Length limits the anchor search. After selecting a bar, the VWAP calculation runs from that anchor forward, so bars in the window before the anchor are excluded.

Risk Disclosure

Futures trading contains substantial risk and is not suitable for every investor. TradeReign is a trading-discipline and rule-enforcement application. It does not provide trading advice, trade signals, investment recommendations, or performance guarantees.

TradeReign is not a broker-dealer, futures commission merchant, or investment advisor.

Futures trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Only risk capital - money that can be lost without jeopardizing financial security or lifestyle - should be used for trading. Past performance is not necessarily indicative of future results.