GlowVwap | Anchored VWAP Pullback Strategy by blitz_algo

By blitz_algo

Performance Metrics

Description

This strategy trades pullbacks in the direction of an anchored VWAP trend. The VWAP restarts at each new day, session, week or month. It is weighted by volume, with bands built from the volume-weighted standard deviation. That deviation has an ATR-based floor, so the bands don’t collapse right after the anchor.The strategy waits for the anchor to mature, which is 60 minutes by default. Then it needs three things to agree before it looks for an entry:Accepted side. Price must close beyond VWAP, outside a small dead zone, for several bars in a row.VWAP slope. VWAP itself must be rising for longs or falling for shorts.No chop. Price must not be flipping across VWAP repeatedly.When all three agree, it enters on a pullback. Price dips into the VWAP zone, then closes back on the trend side with a confirming candle. This avoids chasing extended moves.The prior anchor’s VWAP is also used as a bias filter (the “reset bridge”). The previous session’s final VWAP is frozen and compared with the new VWAP, weighted by how much new volume has traded. If the new VWAP has clearly moved away from the old one, that is a confirmed migration, and trades against it are blocked.Risk is fixed in advance. The stop sits beyond VWAP at a distance set by the bands. The target is 2R, and the stop moves to breakeven at 1R. A trade also exits if price accepts back through VWAP. Size is set by the stop distance, so each trade risks the same percentage of equity (0.5% by default). The strategy flattens at the end of each anchor period.FeaturesAnchored VWAP with Session, Day, Week and Month anchors, and a volume-weighted σ bandMaturity gate, so nothing trades on a thin, unformed VWAPTrend confirmation through accepted closes, VWAP slope and a chop filterPrior-anchor reset bridge with Up Migration, Down Migration and Bridged statesA single entry setup: the VWAP pullbackStructural stop, 2R target, breakeven move and a VWAP-lost exitRisk-based position sizing with a cap on position sizePer-anchor trade limit and flatten-at-anchor optionDirection control: Both, Long Only or Short OnlyGlow VWAP line (three layers) and regime colours, with gradient bands that fade from VWAP to the outer bandVWAP-to-close fill that strengthens as price stretches, plus a bridge fill weighted by new volumeLive entry, stop and target levels with red and green zonesDashboard with regime, bridge bias, z-score, slope, trades per anchor, net profit and win rateTipsTimeframe: use 5–15 minute charts. 1 minute is noisy, and above 30 minutes there are too few bars per anchor.Symbols: use liquid ones with reliable volume, such as index futures, large-cap stocks, major crypto and major FX with tick volume. Without real volume, switch off “Volume weighted” to get a TWAP.Anchor choice: Day or Session suits intraday trading. Week suits swing entries on 1–4 hour charts, but turn off “Flatten at each new anchor” there.Tuning order: start with the trade direction, then rrMult (try 1.5), then the bias mode (“Require agree” gives fewer trades). Change one setting at a time.Judge it on size: wait for 100+ trades on at least two market regimes before drawing conclusions.Check the sides: compare long and short results in the Trades tab. If one side is clearly worse, restrict direction.Use costs: set commission and slippage to match your broker. The defaults are 0.02% and 2 ticks.Watch the dashboard: if the regime reads CHOP or IMMATURE most of the day, the strategy is working as designed and standing aside.WarningsNot financial advice. This is an educational tool. Past or backtested performance does not predict future results.Backtests flatter. Fills assume you get the next bar’s open, and stops can fill differently in fast markets or gaps. Real results will usually be worse.Overfitting. Tuning many inputs on one symbol and period can produce a curve that doesn’t hold up. Test on other symbols and dates.Data limits. Free TradingView plans give limited intraday history, so the sample may be small.Volume quality varies. Forex and some indices have tick volume only, which makes VWAP less reliable.Gaps and news events can jump past the stop. The loss can be larger than planned.Sizing. Even 0.5% risk per trade can add up over a losing streak. Never risk money you can’t afford to lose. Test with paper trading before going live.Flat at anchor closes trades at the next open after the anchor changes, which may be at a worse price than the signal.Release NotesUpdate

Browse all 5,900+ TradingView Pine Script strategies

View on TradingView