ProIndicatr Pro: 4 Pro indicators
indicator.trading
All scripts

Free Β· Open source

Multi-Anchor VWAP

Five average prices at a glance – and where they converge.

Type
Five VWAPs + clusters + distance table
Replaces
VWAP
Recommended
5 minutes to daily chart
Price
Free, open source
Open chart on TradingView
Multi-Anchor VWAP on the S&P 500 ETF SPY on the 15-minute chart with five VWAP lines, cluster shading and distance table
Multi-Anchor VWAP on the S&P 500 ETF SPY on the 15-minute chart with five VWAP lines, cluster shading and distance table

Multi-Anchor VWAP shows you the volume-weighted average price (VWAP) from five different starting points at once: since the start of the session, the week and the month, and since the last confirmed swing high and swing low. A table tells you how far price is from each VWAP – measured in ATR, so it’s comparable on any market. And where several VWAPs sit close together, the script marks the area. This page explains what you do with it and why.

Overview

At a glance

What does it do?

It shows the average price traded since the session, the week, the month and the last turning points – and where these prices coincide.

What do I do with it?

You read who is currently in profit, use the lines as reference zones for pullbacks and see when price has run too far.

Why?

Many large participants measure their execution against the VWAP. Above it, buyers are in profit on average – below it, sellers are. That shapes who defends and who gives up.

What do I get?

A calm framework for every chart: you know which prices matter before price gets there, instead of drawing lines by feel.

On your chart in 3 minutes

Quickstart

  1. 01

    Add it to your favorites

    Open the script page on TradingView (button at the top of this page) and click Add to favorites (the star icon).

  2. 02

    Add it to your chart

    At the top of the chart, click Indicators, choose Favorites on the left and click Multi-Anchor VWAP. Alternatively, search for β€œIndicatr” in the Indicators window.

  3. 03

    Pick a market with real volume

    Start with a liquid stock, an ETF like SPY or a future, on the 5- to 15-minute chart for day trading or the 1h to daily chart for swings.

  4. 04

    Keep the defaults

    All five VWAPs are on, and so are clusters and the table. Only change something once you understand what it does.

The chart explained

What you see on the chart

S&P 500 ETF (SPY), 15 minutes. The numbers match the list below.Open chart on TradingView
All elements of Multi-Anchor VWAP on the chart, numbered
All elements of Multi-Anchor VWAP on the chart, numbered
  1. 1Session VWAP (grey) Restarts every trading day. Intraday charts only.
  2. 2Weekly VWAP (blue) Restarts at the beginning of every week.
  3. 3Monthly VWAP (purple) Restarts at the beginning of every month.
  4. 4Swing-high VWAP (red) Anchored at the last confirmed swing high.
  5. 5Swing-low VWAP (green) Anchored at the last confirmed swing low.
  6. 6Cluster shading Light background when price trades into a VWAP cluster.
  7. 7Distance table Every VWAP with its level and distance in ATR.

Elements 1 to 3

Session, weekly and monthly VWAP

Three time windows, three groups of participants: day traders, swing traders and larger funds that buy or sell over weeks.

What does it do?

Each line shows the average price, weighted by volume, since the start of its period. When a new day, week or month begins, the line jumps and starts over.

What do I do with it?

You read which side price is on. Above the session VWAP, the day’s buyers are in profit; above the monthly VWAP, the whole month’s buyers are.

Why?

Those in profit are more likely to defend their position. Those at a loss like to get out when price returns to their entry. That’s why price reacts at VWAPs more often than at random prices.

What do I get?

You see whether short- and longer-term participants are on the same side – or whether the day is working against the month.

Elements 4 and 5

Swing VWAPs: anchored at the high and the low

Two VWAPs don’t start by the calendar but at turning points: at the last confirmed swing high (red) and at the last confirmed swing low (green).

What does it do?

The script looks for highs and lows that aren’t exceeded by 10 candles on each side. Once such a point is confirmed, a new VWAP starts exactly at the candle of the high or low.

What do I do with it?

The red VWAP shows the average price of everyone who got in since the last high. The green one that of everyone since the last low. You use them as tests of strength and weakness.

Why?

After a high, many have bought too expensive. If price climbs back above the red VWAP, these buyers are back in profit on average – the pressure to sell eases.

What do I get?

Levels based on the actual market structure instead of a clock – automatically, without placing anchors by hand.

Element 6

Clusters: where several VWAPs converge

SPY, 15 minutes, November 9 to 12. On November 10, all five VWAPs converge around 750. The light stripes mark the candles trading into this cluster – the next morning, price opens above it.Open chart on TradingView
Close-up of SPY on the 15-minute chart with five VWAPs converging tightly around 750 on November 10, and light cluster shading
Close-up of SPY on the 15-minute chart with five VWAPs converging tightly around 750 on November 10, and light cluster shading

What does it do?

If at least three VWAPs lie within 0.3 ATR of each other and price closes in that area, the candle gets a light background. The table then shows the range of the cluster.

What do I do with it?

You treat the cluster as a decision zone: if it holds, it’s a candidate for an entry with the trend. If price clearly runs through, the picture has changed.

Why?

In the cluster, several groups – day, week, month and swing participants – share a similar average price. That’s where many decide at the same time whether to defend or give up.

What do I get?

You focus on a few important zones instead of five separate lines.

Element 7

Reading the distance table

SPY, 15 minutes. Price is above four VWAPs and just below the swing-high VWAP.Open chart on TradingView
Multi-Anchor VWAP distance table with level and distance in ATR for session, weekly, monthly, swing high and swing low
Multi-Anchor VWAP distance table with level and distance in ATR for session, weekly, monthly, swing high and swing low
Column / rowWhat it tells you
VWAPName of the line, in its colour. VWAPs that are switched off or not available are shown in grey with β€œoff”.
LevelThe current price of the VWAP.
Price vs. VWAPDistance of the close from the VWAP in ATR. Green and positive = price above, red and negative = below.
Positionβ€œAbove all”, β€œBelow all” or β€œMixed” with the number of VWAPs price is above.
Cluster rangeTo the right of β€œPosition”, β€œAt cluster …” appears in orange with the price range while price is trading in a cluster.

In the example, SPY is 0.29 ATR above the weekly VWAP – practically on it – and 0.44 ATR below the swing-high VWAP. That means: those who bought since the last high are still slightly at a loss on average. That line is the next hurdle.

In practice

How to use it day to day

  1. 01

    Check the situation

    Look at Position first. β€œAbove all” or β€œBelow all” shows a clear side, β€œMixed” a market that hasn’t made up its mind.

  2. 02

    Find the hurdles

    Which VWAPs lie between price and your target? That’s where you expect reactions – and you place your target in front of them rather than behind.

  3. 03

    Judge the distance

    If price is far from the nearest VWAP, you don’t chase it. You wait for a pullback to a VWAP or cluster.

  4. 04

    Wait for a reaction

    When price runs into a VWAP or cluster, watch whether it holds – for example a candle that bounces and closes on the right side.

  5. 05

    Stop behind the zone

    The stop goes on the other side of the VWAP or cluster, with some buffer. If price breaks through there, the idea was wrong.

  6. 06

    Set alerts

    Create an alert for β€œPrice at VWAP cluster” or for the weekly VWAP, and the chart will let you know when things get interesting.

Recommendations

Which markets fit – and which don’t

A VWAP is only as good as the volume behind it. Two things decide: Is there real, central volume? And does the market have a clear trading session, so the session VWAP starts at a meaningful point?

Good example: the S&P 500 via the ETF

US stocks and ETFs (SPY, QQQ, large single stocks)

5 minutes to daily chart

Good fit
  • Real exchange volume: every trade is reported – exactly the data a VWAP needs.
  • Clear session: the regular session from 9:30 to 16:00 New York time gives the session VWAP a clear start.
  • Many participants measure themselves against the VWAP: large funds often have orders executed throughout the day and compare themselves with the VWAP. That makes the line relevant to many.

Index futures (ES, NQ) and Bitcoin

all timeframes

Use with care
  • Real volume, but trading runs almost around the clock. For the future, the session VWAP starts in the evening New York time and includes the thin overnight hours.
  • Bitcoin trades continuously; on most exchanges the day changes at a fixed time (usually 00:00 UTC). So the session VWAP starts at a fairly arbitrary moment.
  • Crypto volume is spread out: a chart only shows one exchange’s volume. Pick a large exchange with high turnover.
  • Tip: here, weekly, monthly and swing VWAPs are usually more meaningful than the session VWAP.

Poor example: spot forex, CFDs and plain indices

Spot forex and CFDs (e.g. EUR/USD, XAU/USD)

all timeframes

Approximation only
  • No central volume: currencies and CFDs trade over the counter. The chart only shows the number of price changes (tick volume) at the data provider, not real volume.
  • The VWAP becomes an estimate: the lines look similar, but they weight by activity instead of turnover.
  • Around the clock: the session VWAP starts at a time set by the data provider.
  • Better: for gold or currencies, use the future with real exchange volume if you want to work seriously with VWAPs.

Plain indices without volume (e.g. SPX, DAX index)

all timeframes

Poor fit
  • No volume data: without volume, no VWAP can be calculated – the lines aren’t drawn at all.
  • Solution: use the ETF (e.g. SPY) or the future on the same index.

Which timeframe?

  • 1 to 15 minutes: the session VWAP is the most important line, the weekly VWAP provides the frame.
  • 30 minutes to 4h: weekly, monthly and swing VWAPs carry the most information. The session VWAP gets less precise on larger timeframes, because a day consists of only a few candles.
  • Daily chart: no session VWAP. Weekly and monthly VWAP plus the swing VWAPs, which stay anchored for weeks here.
  • Above daily: not very useful – on the weekly chart, the weekly VWAP restarts with every candle.

How to spot a suitable market

  • Real volume: stocks, ETFs, futures, large crypto exchanges.
  • High liquidity: many participants, tight spreads – then average prices mean something.
  • A clear session for the session VWAP. Without one, rely on week, month and swings instead.
  • Your own check: scroll back and see whether price has reacted to VWAPs and clusters in the past or simply run through them.

Both directions

Long and short

  • Above all VWAPs: buyers from every period are in profit on average. Pullbacks to a VWAP or cluster are candidates for longs.
  • Below all VWAPs: sellers have the edge. Rallies up to a VWAP or cluster are candidates for shorts.
  • Mixed: the market is undecided. Here VWAPs are targets rather than entries – many traders hold back until one side is clear.
  • Swing-high VWAP reclaimed: after a sell-off, a sign that sellers are easing off.
  • Swing-low VWAP lost: after a rally, a sign that buyers are easing off.

The part that makes the difference

Practical tips

  • Fewer lines, clearer view. You don’t have to use all five VWAPs. A day trader often gets by with session and week, a swing trader with week, month and the swing VWAPs.
  • Watch the calendar. Around central-bank decisions, major economic data or earnings, price likes to jump through all VWAPs. Skip new entries before them.
  • Look at the bigger picture. What does the next higher timeframe look like? A long at the session VWAP below a falling monthly VWAP is a weaker trade.
  • New weeks and months. At the start of a period, the matching VWAP is still jumpy because there’s little volume behind it yet. It gains weight with every day.
  • Set your position size. Always the same risk per trade. The distance to the stop behind the VWAP or cluster determines the size.

Don’t miss a thing

Setting up alerts

  1. 01

    Open the alert window

    At the top of the chart, click Alert or press Alt + A.

  2. 02

    Choose the condition

    Under Condition, select β€œMulti VWAP [Indicatr]” and below it the alert you want.

  3. 03

    Trigger

    Choose Once per bar close. VWAPs move while the candle is still running – a cross is only certain on the finished candle.

  4. 04

    Notification

    Choose app, email or webhook and save.

AlertWhen it fires
Price crossed weekly VWAPThe close crosses the weekly VWAP, in either direction.
Swing-high VWAP reclaimedThe close rises above the swing-high VWAP.
Swing-low VWAP lostThe close falls below the swing-low VWAP.
Price above all VWAPsPrice closes above all active VWAPs for the first time.
Price below all VWAPsPrice closes below all active VWAPs for the first time.
Price at VWAP clusterPrice trades into a VWAP cluster (first shaded candle).

Reference

All settings

Double-click β€œMulti VWAP [Indicatr]” at the top left of the chart to open the settings. At the very top there’s also Source (default: hlc3, the average of high, low and close) – the price every VWAP is calculated with. Best to leave it as it is.

1 Β· Anchors

Settings group 1: Anchors with five VWAPs and their colours
Settings group 1: Anchors with five VWAPs and their colours
SourceDefault: hlc3
At the very top, above the groups: which price per bar feeds the VWAP. The default is the average of high, low and close, just like the classic VWAP. Only change it if you deliberately want to use closes, for example.
Session VWAP (intraday charts only)Default: on, grey
VWAP from the start of the trading day. Appears on intraday charts only.
Weekly VWAPDefault: on, blue
VWAP from the start of the week.
Monthly VWAPDefault: on, purple
VWAP from the start of the month.
Swing-high VWAPDefault: on, red
VWAP from the last confirmed swing high.
Swing-low VWAPDefault: on, green
VWAP from the last confirmed swing low. VWAPs that are switched off don’t count for clusters, the table or alerts either.

2 Β· Swing detection Β· Bands

Settings group 2: Swing detection and Bands
Settings group 2: Swing detection and Bands
Pivot bars leftDefault: 10
How many candles to the left must not exceed a high or low. Higher = only larger turning points.
Pivot bars right (confirmation)Default: 10
How many candles to wait afterwards. Smaller = swing VWAPs appear earlier but change more often. Larger = later, but more stable.
Standard deviation bands onDefault: None
Draws bands around a chosen VWAP. They show how far price typically spreads around this average.
Band 1 (x stdev)Default: 1
Distance of the inner band in standard deviations. The space between them is lightly filled.
Band 2 (x stdev)Default: 2
Distance of the outer band. Prices there are far from the average.

3 Β· Confluence and context

Settings group 3: Confluence and context
Settings group 3: Confluence and context
ATR lengthDefault: 14
How many candles normal volatility is measured over. The basis for distances and clusters.
Confluence: VWAPs within (x ATR)Default: 0.3
How close VWAPs must be to count as a cluster. Larger = more, but looser clusters.
Confluence: minimum VWAPs in clusterDefault: 3
The minimum number of VWAPs in a cluster (2 to 5). 2 gives many hits, 4 or 5 only rare, strong clusters.
Shade bars that trade into a VWAP clusterDefault: on
Light background on candles in a cluster.
Show distance tableDefault: on
Shows or hides the table at the top right.
Show line labelsDefault: on
Labels to the right of the lines. With tight clusters you can switch them off if they get in the way.

From practice

Common mistakes

  • Treating every VWAP touch as an entry. VWAPs are zones to watch. Only price’s reaction turns them into a trade.
  • Trusting markets without real volume. On spot forex and CFDs the VWAP is only an approximation; on plain indices it’s missing entirely.
  • Putting the stop right on the VWAP. Price often swings around the line. The stop belongs behind it, with a buffer.
  • Misreading the jump in the swing VWAPs. The line jumps when a new high or low is confirmed. That’s not a price signal, but a new anchor.
  • Forgetting the pre-market. With extended hours on, the session VWAP for stocks includes the thin pre-market volume.
  • Treating all five lines as equally important. Choose the VWAPs that fit your timeframe and holding period.

FAQ

Does Multi-Anchor VWAP repaint?

No. Swing VWAPs only start once a high or low is confirmed, and they aren’t drawn back into the past. Only the values of the current candle change until it closes – as with any VWAP.

Why don’t I see any lines?

Most likely the symbol has no volume data, for example a plain index like SPX. Use the ETF or the future on the same index.

Why is the session VWAP missing?

It only appears on intraday charts. On the daily chart the script hides it automatically, and the table shows β€œoff”.

Why does the red or green line suddenly jump?

A new swing high or low has been confirmed, and the VWAP starts over from there. A point is only confirmed after 10 candles (default).

What does β€œ+1.19 ATR” in the table mean?

The close is 1.19 times the normal candle range above this VWAP. That way, distances can be compared across all markets.

Does it work on forex?

To a limited extent. Spot forex only has tick volume, so the VWAP is an approximation. Currency futures are better suited for real VWAPs.

How do you like Multi-Anchor VWAP?

Your vote tells us what to work on next.

Support

Report a problem or share feedback

Something off with the script, unclear in the docs, or you have an idea? Write to us. We reply by email.

Helps us check access or settings.

Only used to reply to you.

What is it about?

By sending, you agree that we use your details to handle your request. More in our privacy policy.

Multi-Anchor VWAP

Session, weekly and monthly VWAP plus two automatically anchored swing VWAPs from one consistent calculation.

Open on TradingView

For educational and analytical purposes only. Not financial advice. Lines, marks and alerts are not recommendations to buy or sell. Past price behaviour is no guarantee of future results. Trading involves a risk of loss.

Multi-Anchor VWAP – Documentation & Guide | indicator.trading