Anchored VWAP Regime Color-Codes What VWAP Is Actually Doing
If you trade with VWAP, you know the days where price sits above VWAP and just won’t go anywhere, or breaks below it only to snap right back. VWAP tells you the session’s average traded price, but it doesn’t tell you whether the market has accepted a move away from that price or is just chopping back and forth around it.
Anchored VWAP Regime is a TradingView indicator built to fill that gap. It plots an anchored VWAP that resets every period, then layers on standard deviation bands, Saturation zones that flag overextension, and a Formation Box around the first range of the session. On top of that, it colors the VWAP line by regime: trend up, trend down, chop, or undecided.

After running it across everything from the 1-minute to the daily chart, what stood out most was how patient it is. It says nothing right after the anchor, and a single bar poking through VWAP won’t flip the color. The trade-off is a slower read, but I got whipsawed around VWAP noticeably less. In this review I’ll walk through how to read the display, the settings, and how to use it on different timeframes, with chart examples and diagrams.
VWAP color shows the regime of the session
Illustrative 1-hour chart on default settings. VWAP and the bands reset at each daily rollover.
Vowars DE ver.3.24.1
The color logic is easiest to follow starting from Figure 1. A confirmed uptrend turns VWAP into a thick green line, back-and-forth trade around VWAP turns it white, and a confirmed downtrend turns it into a thick red line. Stretches where the color isn’t clear-cut are labeled “Transition,” and the color there comes from the score, which I’ll cover later.
Anchored VWAP Regime is about understanding what role VWAP is playing right now. On trend days, VWAP is your reference for pullbacks and rallies; on choppy days, VWAP is just the midline. The line color tells you which of those two modes you’re in.
Everything It Plots on the Chart
Even on default settings there’s a lot on screen, so here’s a quick breakdown first. Keep this table handy until you get used to it.
| Element | Looks like | What it means |
|---|---|---|
| VWAP | Line that changes color by regime; thicker during a confirmed trend | Volume-weighted average price from the anchor (default: daily rollover) |
| Band 1 / Band 2 | Two pairs of thin gray lines | Bands at ±1σeff and ±2σeff from VWAP |
| Value Area | Faint fill inside Band 1 | The area near VWAP, lightly shaded in the regime color |
| VWAP↔Close fill | Fill between VWAP and the close | Shows in the score color which side of VWAP price is closing on |
| Saturation | Red (upper) and green (lower) dotted lines with a band outside them | ±2.5σeff from VWAP; an overextension gauge |
| Formation Box | Dashed blue box with a dotted midline | The first range of the session, starting at the anchor |
| Box label | Small label under the box | Volume (Vol) and estimated volume delta (ΔV) during the box |
| VWAP · D / VWAP · W labels | Labels on the right edge | The current anchor period and where the weekly VWAP sits |
σeff in the table is the value that sets the band width. Under the hood it’s the standard deviation of price since the anchor, but σ Floor (×ATR) (default 0.4) puts a floor on it at 0.4× ATR. Right after the anchor the standard deviation is close to zero, so without that floor the bands would hug VWAP. The floor gives you usable band widths from the very first bars.
By default the weekly VWAP shows up only as a label, with no line. Turn on VWAP 2 · Line to plot it as a line too, which is handy if you always want to see where the daily VWAP sits relative to the weekly.
Three Ways It Refuses to Jump the Gun
In Anchored VWAP Regime, price being above or below VWAP isn’t enough to change the color. That’s the biggest difference from a regular VWAP, so it’s worth understanding.
No calls for the first 120 minutes after the anchor
For the time set in Maturity (minutes) (default 120) after a new anchor, the indicator is in its maturity period: no regime call and no score. VWAP stays gray the whole time.
No direction call for the first 120 minutes after the anchor
Illustrative 5-minute chart on default settings. A new anchor starts on the first bar of the new day.
Vowars DE ver.3.24.1
That’s 24 bars on the 5-minute, 8 on the 15-minute, and 2 on the 1-hour. As Figure 1 shows, early price action doesn’t give you much to judge direction on, so the indicator deliberately sits it out. Even when price rips right after the daily rollover, VWAP is still just an average of a handful of bars, so holding off makes sense.
The bands don’t disappear during the maturity period. As Figure 2 shows, they’re drawn with ATR as the minimum width, so you can still read where price sits early on.
One bar through VWAP doesn’t set the direction
Even after the maturity period, one close above VWAP won’t turn it green. A small band right around VWAP (±0.15σeff) is treated as a neutral zone, and only when two consecutive closes land beyond it does the indicator treat that direction as accepted.
On top of that, the “trend spread” (the gap between a fast volume-weighted EMA, EVWAP · Fast Length default 10, and a slow one, EVWAP · Slow Length default 16, divided by ATR) has to point the same way, and VWAP can’t have been crossed more than once in the last 14 bars. Even when all of that lines up, the color doesn’t flip until the same call holds for two bars.
A breakout alone doesn't make it a trend
Illustrative 15-minute chart on default settings. The dashed box on the left is the session's Formation Box.
Vowars DE ver.3.24.1
In Figure 1, several bullish candles push above VWAP, yet the line stays white (Balance). That’s because price had already crossed VWAP several times before. After the breakout it goes through Transition in Figure 2, and only once closes keep holding above does it turn into a thick green line in Figure 3. Fair warning: if you want to catch the breakout candle itself, this will feel slow. In return, you’ll see far fewer green flips on breakouts that end up falling back under VWAP.
Choppy days get sorted into Balance first
Here’s the order in which the regime is decided.
How the four regimes are decided
On every bar close, the conditions are checked from top to bottom to pick the regime candidate.
Vowars DE ver.3.24.1
The key is Figure 1: before checking for a trend, it asks whether VWAP has been crossed three or more times in the last 14 bars. If so, it’s Balance (white) no matter what else is going on. That keeps the line from blinking green and red on days when price is just chopping around VWAP.
Once it’s in Trend Up, it stays green until acceptance flips to the downside or the trend spread turns clearly negative. Because it doesn’t let go of a trend color easily, a shallow pullback won’t turn it white or red.
The trend spread threshold is 0.2 to start a new trend and 0.15 to resume the previous one. So after a shallow pullback, getting back into Trend Up in the same direction takes a slightly lower bar. The EVWAPs keep calculating across anchors, so the strength of the prior move carries over even after the daily rollover.
Reading the Lean From the Score Color
During Transition, the VWAP line and the VWAP↔Close fill are colored by a score that runs from −1 to +1. The closer to −1, the redder; the closer to +1, the greener; around 0 you get a muted in-between shade.
The score blends the trend spread, the distance from VWAP, how long price has stayed on one side, and the direction of the confirmed regime. It’s then dampened when VWAP keeps getting crossed or when the slow EVWAP is barely moving, and it can only change by 0.1 per bar. The color never jumps; it drifts toward green or red, so you can actually watch the market start leaning one way.
Bring it to the front and candles take the score color
Same price action as the breakout figure, with the indicator brought to the front. Candle Colour is on its default, Score.
Vowars DE ver.3.24.1
Candle Colour defaults to Score, which paints the candles in the score color as well. When you load it on a chart, though, you’ll probably notice your candles look exactly the same as before. That’s because the indicator is drawn behind the chart’s own candles; the figure above shows it brought to the front. The orange in Figure 2 marks a bar that reached the Saturation line and the bar right after it.
Right-click the indicator on the chart and use Visual Order to bring it to the front, and the candles painted in score or regime colors will show up. You can also change the order from the Object Tree. Set Candle Colour to Regime and the candles use the regime colors (green, red, white) instead of the score. If you don’t need colored candles, setting it to Off is a perfectly good option.
Using the Formation Box to Frame the Opening Range
The Formation Box is a dashed blue box that starts on the anchor bar and stretches right, wrapping the range as it goes. Once the maturity period is over, it closes on the first bar that closes further from VWAP than Box · Exit (×σeff) (default 1.3). Think of it as an opening range, except the end of the range is defined by distance from VWAP.
The Formation Box frames the session's opening range
Illustrative 15-minute chart on default settings. The dashed blue box starts expanding from the first bar of the new day.
Vowars DE ver.3.24.1
When a trend later develops in the same direction as the bar that closed the box, as in Figure 2, that trend comes with a built-in confirmation: it broke out of the session’s first range. On the flip side, if price breaks out of the box and quickly falls back inside, read it as an early sign that the session is heading for Balance.
The label under the box, shown in Figure 3, displays volume (Vol) and volume delta (ΔV) by default. ΔV is an estimate that splits each candle’s volume into buy-side and sell-side based on where it closed within its high-low range. It isn’t counting actual buy and sell trades, so treat it as a rough guide. Turn on ΔPrice, Range, and Duration to add the box’s price change, its range in ATR units, and how long it lasted.

On the symbol I tested, the daily rollover came at 00:00 UTC. On the 1-minute and 5-minute charts, the box starting at the rollover framed the session’s first range cleanly, which made it easy to sort the rest of the day by whether price was above or below it.
Measuring Overextension With Saturation and Triangle Markers
The red and green dotted lines at ±2.5σeff from VWAP (the default for Level (×σeff)) are the Saturation lines. The faint band outside them (0.3σeff wide) is the zone, and once price gets there it’s stretched well away from the session average.
It’s off by default, but if you turn on Reversal · Show, a triangle marker prints on the first bar that closes back inside after a bar closed beyond the line.
After an overextension, a triangle marks the first close back inside
Illustrative 30-minute chart with Reversal · Show turned on. Everything else is on default settings.
Vowars DE ver.3.24.1
Both the ▼ in Figure 2 and the ▲ in Figure 3 mean an overextended move has paused. They’re useful when you’re watching for reactions at the edges of the bands on a Balance day.
Saturation measures overextension, and the triangle only says the stretch has stalled for now. On strong trend days price can ride the Saturation line, and the rally can keep going even after a ▼ prints. To hide markers that fight the trend, turn on Reversal · Trend Filter; triangles against a confirmed trend will no longer show.

Switching Your Reference Lines by Regime
Putting it all together, each color tells you which lines to read price action against.
Switch what you watch based on the regime
When the VWAP color changes, change which lines you focus on.
Vowars DE ver.3.24.1
1 On Trend Up / Down days, use VWAP and Band 1 for pullbacks and rallies
On a thick-green day, VWAP and Band 1 are where you look for dips to find support. If a pullback holds above VWAP and the score color stays green, the trend structure is still intact. On a thick-red day it’s the mirror image: watch whether rallies stall below VWAP.
2 On Balance days, watch Band 2 and the Saturation edges
On a white-line day, treat VWAP as the center of the range rather than a directional guide. Focus on the edges instead: does a push into Band 2 or Saturation snap back inside, and does a triangle marker print?
3 During Transition and gray, don’t force it
While the color is undecided, your job is to watch which way the score is drifting. During the maturity period, note the top and bottom of the Formation Box, then once a call comes in, frame the move relative to the box.
Where it helped me most wasn’t timing entries but figuring out early whether the day was one to trade with the trend or fade. It’s best used to stop yourself from chasing breakouts on a white-line day and getting chopped up in both directions.
Matching the Anchor to Your Timeframe
Out of the box, Anchor · Mode is Period and Anchor · Period is D (daily), so you can start using it right away to track the session VWAP on intraday charts. For scalping and day trading, the 1-minute to 15-minute charts were the easiest to read; for slower day trading, the 30-minute and 1-hour worked well.

Change the anchor and the same logic works for swing trading. Set Anchor · Period to 1M (monthly) on the 4-hour chart and you get a monthly VWAP along with that month’s regime.
Anchor · Period and VWAP 2 · Period must be longer than the chart timeframe, or the script stops with an error. On the daily chart, set Anchor · Period to W (weekly) or 1M (monthly); on the weekly chart, also set VWAP 2 · Period to monthly or higher, or turn VWAP 2 · Label off.
Anchor · Mode has two other options. Time of Day resets the anchor at a fixed clock time, and the default of 1800 (America/New_York) is when the CME Globex session opens for gold futures. If you want to view gold or FX on a New York day, this is the one. To anchor on a different session, set Anchor · Timezone to your preferred zone (for example Europe/London or Asia/Tokyo) and enter the time in Anchor · Time (HHMM). The last option, Exchange Session, anchors on the first bar of the symbol’s trading session.
Also note that the maturity period is set in minutes. On the 4-hour chart, 120 minutes is less than one bar, so there’s effectively no maturity period at all. If you’re using a monthly anchor, bump Maturity (minutes) up, as covered below, so the first few bars of the month don’t trigger a premature call.
Settings Explained, With Suggested Tweaks
There are a lot of inputs, but the ones worth adjusting are those that drive the regime call and those that control how much gets drawn. Let’s start with the regime logic.
| Setting | Default | Suggested | Effect |
|---|---|---|---|
| Anchor · Mode | Period | Period (intraday) / Time of Day (gold, FX) | What triggers a new anchor: a period, a fixed clock time, or the trading session |
| Anchor · Time (HHMM) | 1800 | The session open of the market you trade | Anchor time in Time of Day mode. Minutes must be 00–59 |
| Anchor · Timezone | America/New_York | America/New_York or your local session time zone | Time zone for Anchor · Time. New York handles daylight saving time |
| Anchor · Period | D | D on intraday, 1M on 4H, W or 1M on the daily | Reset period in Period mode. Must be longer than the chart timeframe |
| Price Source | hlc3 | hlc3 | Price used for the VWAP calculation |
| Weighting | Auto | Auto | Volume-weighted; falls back to time weighting (TWAP) on symbols without volume |
| ATR Length | 14 | 14 | ATR length used for the σ floor, trend spread, and box range |
| σ Floor (×ATR) | 0.4 | 0.4 (0.3 if early bands look too wide) | Minimum σeff. Higher values widen the bands right after the anchor |
| Maturity (minutes) | 120 | 120 on 1–15 min, 1440+ with a monthly anchor | Time before regime calls start. Shorter reacts sooner but also picks up early chop |
| EVWAP · Fast Length | 10 | 10 | Length (in bars) of the fast side of the trend spread |
| EVWAP · Slow Length | 16 | 16 | Length of the slow side of the trend spread. If set at or below Fast, it’s forced to Fast + 1 |
Maturity (minutes) isn’t as simple as “shorter means faster.” Here’s the same price action side by side.
A shorter Maturity also pulls early chop into the call
The same 5-minute price action with only Maturity (minutes) changed.
Vowars DE ver.3.24.1
As Figure 3 shows, at 30 minutes the early chop gets classified as Balance, and in this example the green flip actually came later. For 1-minute to 15-minute charts, the default 120 feels like the right balance. On the other hand, with a monthly anchor on the 4-hour chart the maturity period drops below one bar, so stretching it to around 1440 (one day, or six 4-hour bars) settles down the calls at the start of the month.
Next up: the bands, the box, and Saturation.
| Setting | Default | Suggested | Effect |
|---|---|---|---|
| Band 1 · Multiplier (×σeff) | 1.0 | 1.0 | Width of the inner band. The Value Area fill covers this range |
| Band 2 · Multiplier (×σeff) | 2.0 | 2.0 | Width of the outer band |
| Level (×σeff) | 2.5 | 2.5 (3.0 if high-volatility days are common) | Position of the Saturation lines. Higher values mean fewer orange candles and triangle markers |
| Zone · Width (×σeff) | 0.3 | 0.3 | Width of the band outside the Saturation lines |
| Reversal · Show | Off | On if you trade Balance days | Shows a triangle on the first bar that closes back inside |
| Reversal · Trend Filter | Off | On if you trade trend days | Hides triangles that go against a confirmed trend |
| Box · Exit (×σeff) | 1.3 | 1.3 (1.5–2.0 if the box closes too quickly) | Distance that closes the box. Higher values keep the box open longer |
| Candle Colour | Score | Off (if you want to keep your own candle colors) | Candle coloring. Choose Score, Regime, or Off |
| VWAP↔Close · Colour Source | Score | Score | Whether the fill between VWAP and the close uses the score or the regime color |
| VWAP 2 · Period | W | W on intraday and daily; 1M on the weekly, or turn VWAP 2 · Label off | Period of the second VWAP. Must be longer than the chart timeframe |
| Background | Off | Personal preference | Shades the background in the regime color (adjust opacity with Transp) |
To declutter, turn off Band 1↔2 · Fill and Zone · Fill; you’ll be left with just the lines and a cleaner view of the candles. The box label size is set with Size: tiny, small, or normal.
Four Alerts, All Evaluated on Bar Close
There are four alert conditions: a new Trend Up is confirmed (Trend Up), a new Trend Down is confirmed (Trend Down), the Formation Box closes (Box Break), and a Saturation triangle prints (Sat Reversal).
You can set each condition separately, or pick “Any alert() function call” as the condition in the alert dialog to receive everything you’ve enabled under Regime · Trend Up / Down, Formation Box · Break, and Saturation · Reversal in one alert. That combined alert fires once per bar, on bar close.
The Sat Reversal alert only fires when the triangle markers are being displayed. If Reversal · Show is off, you won’t get notified, so turn the markers on if you plan to use it. When you set up the individual conditions, choose Once Per Bar Close as the trigger so you only get alerts on confirmed bars.
What Stays Fixed on Bar Close and What Gets Redrawn
VWAP, the bands, the regime color, the score, and the triangle markers don’t change once a bar has closed. Nothing in the calculation looks into the future either. That said, VWAP and the color move with price on the live bar, so the working assumption is to wait for the bar to close before acting on anything.
The Formation Box behaves a bit differently. Every time price makes a new high or low inside it, the top and bottom expand and the box is redrawn over bars that have already closed. The label under the box is also placed at the box’s midpoint only once the box closes. Neither changes any confirmed value; it’s the drawing that gets extended back over past bars.
If you want to see the lag for yourself, step through it bar by bar in Bar Replay. You’ll get a feel, timeframe by timeframe, for how long it takes to go through maturity, two accepted closes, and two confirmation bars before the color changes.
Adding SMI to Catch the Fade While the Trend Color Holds
Anchored VWAP Regime doesn’t give up a confirmed trend color easily. That keeps you from getting shaken out on pullbacks, but it also means that when price tops and starts rolling over, the thick green line hangs around until acceptance flips to the downside. To cover that weak spot, I added TradingView’s built-in Stochastic Momentum Index (SMI), which reacts to momentum shifts sooner, in a pane below.
SMI flags the fade while Trend Up is still showing
Illustrative 15-minute chart of Anchored VWAP Regime (default settings) with TradingView's built-in Stochastic Momentum Index (default settings) in the pane below.
Vowars DE ver.3.24.1
SMI is an oscillator that smooths how far the close is from the midpoint of the recent range. As in Figure 2, SMI crossing below its signal line (SMI-based EMA) from an elevated level, then dropping below 0 in Figure 3, can show up before the VWAP color changes. If SMI starts rolling over while the line is still thick green, hold off on adding to longs and wait to see how price reacts on a pullback to VWAP.
You can also overlay the built-in Trading Sessions indicator to mark the Tokyo, London, and New York sessions on the chart, so you can see which session the Formation Box and maturity period fall into. And keeping an eye on Bollinger BandWidth for a squeeze helps tell whether a white Balance day is coiling before expansion or has already had its range expansion.
Where It Shines and What to Watch Out For
Where it shines
- The VWAP color alone tells you whether it’s a trend day or a choppy day
- The maturity period and two-bar acceptance filter out a lot of the fakeouts around VWAP
- The bands, Saturation, and Formation Box all use the same σeff, so distances feel consistent
- The score color lets you track the lean before a regime is confirmed
- Just change the anchor and the same read works from scalping to swing trading
What to watch out for
- Because it waits for confirmation, it’s late to sudden breakouts and reversals
- The default display is busy, and it can feel like information overload at first
- The candle colors stay hidden unless you bring the indicator to the front
- Volume delta (ΔV) is estimated from where bars close, not from actual buy/sell flow
- On the daily chart and higher, it errors out unless you change Anchor · Period
Since it weights by volume, it behaves as intended on symbols with volume data. On symbols without volume it automatically falls back to time weighting (TWAP), so it still plots, but the bands and regimes are based on a time-weighted average. On instruments like FX where volume is really tick volume, treat the ΔV and Vol numbers as rough estimates.
Turning VWAP From a Line Into a Regime Map
ImageAnchored VWAP Regime takes the simple “above or below VWAP” read and adds two more questions: has the market accepted that direction, or is it just rotating around VWAP? It’s built to be patient, so don’t expect flashy signals, but as a way to decide whether a session is one to trade with the trend or to fade, I found it really useful.
Start on default settings on the 1-minute to 15-minute charts and focus only on the VWAP color and the Formation Box until it becomes second nature. Once you’re comfortable, add the triangle markers with Reversal · Show or switch to a monthly anchor on the 4-hour, and build it out to fit your own trading style.










