VWAP Deviation Trend [BackQuant]VWAP Deviation Trend
Overview
VWAP Deviation Trend is a volume-weighted trend-following overlay that transforms VWAP and its surrounding price distribution into a directional trailing structure.
Rather than using VWAP only as a fair-value line, the indicator calculates:
A configurable anchored or rolling VWAP.
The volume-weighted standard deviation of price around that VWAP.
Adaptive upper and lower deviation bands.
One-sided trailing boundaries used to confirm bullish and bearish regimes.
The indicator is designed to identify when price has moved far enough away from accepted volume-weighted value to establish a meaningful directional shift.
Unlike a simple VWAP crossover, price can move through VWAP without immediately changing the active trend. A new regime requires price to break the opposite trailing deviation boundary, optionally with confirmation from the direction of VWAP itself.
The updated visual engine also measures trend strength and uses it to control:
Gradient intensity.
Trail glow width.
Post-flip bloom effects.
The visual separation between price and the active trail.
Core concept
VWAP represents the average price paid over a selected period, weighted by trading volume.
The basic formula is:
VWAP = Sum of Price × Volume / Sum of Volume
Prices associated with greater volume contribute more heavily to the final value. This makes VWAP a useful approximation of:
Volume-weighted fair value.
The center of traded activity.
The average position of market participants.
An institutional execution benchmark.
However, VWAP alone does not explain how widely price has been distributed around that value.
VWAP Deviation Trend treats VWAP as the center of a volume-weighted price distribution and measures the dispersion around it. That dispersion is then used to create trailing trend boundaries.
VWAP calculation modes
The indicator supports five VWAP windows:
4 Hours
Daily
Weekly
Rolling Lookback Bars
Rolling Lookback Days
4 Hours
Resets VWAP at fixed four-hour intervals.
This can be useful for:
Cryptocurrency markets.
Intraday futures.
Continuously traded markets.
Shorter fair-value regimes.
Daily
Resets at the beginning of each calendar day.
This is the traditional intraday VWAP structure and is useful for:
Session bias.
Intraday mean reversion.
Day-trading trend confirmation.
Weekly
Accumulates volume and price across the current week.
This creates a slower structural anchor suited to:
Swing trading.
Weekly positioning.
Broader accepted-value analysis.
Rolling Lookback Bars
Calculates VWAP over a fixed number of candles.
The window moves forward continuously and does not reset at a calendar boundary.
This is useful for:
Systematic trend models.
Consistent multi-timeframe analysis.
Markets where daily sessions are less important.
Rolling Lookback Days
Includes bars that fall within a selected number of calendar days.
This keeps the analytical window tied to elapsed time instead of a fixed candle count.
Anchored versus rolling VWAP
Anchored modes begin at a fixed boundary and accumulate until the next reset.
Rolling modes continually remove old observations as new observations arrive.
Anchored VWAP is useful when a particular session or week has structural meaning. Rolling VWAP is useful when the trader wants a stable and continuously adapting lookback.
Volume-weighted deviation
The indicator calculates more than the VWAP mean.
It also measures volume-weighted price variance using:
Weighted Mean Square = Sum of Price² × Volume / Sum of Volume
Weighted Variance = Weighted Mean Square - VWAP²
Weighted Deviation = Square Root of Weighted Variance
This measures how widely prices associated with meaningful trading volume are distributed around VWAP.
A small deviation suggests:
Trading is concentrated near fair value.
The market is relatively balanced.
Price acceptance is narrow.
A large deviation suggests:
Trading is spread across a wider range.
Price discovery is more active.
The market is less tightly centered around VWAP.
Because the calculation is volume weighted, high-volume prices influence the bands more than low-volume excursions.
Fallback when volume is unavailable
If usable volume is not available, the indicator falls back to an unweighted arithmetic mean and variance.
This allows it to function on synthetic or limited-volume symbols, although the result should then be interpreted as a rolling or anchored mean rather than a true VWAP.
Deviation bands
The raw width is calculated as:
Deviation Width = Weighted Deviation × Deviation Multiplier
The upper and lower raw bands are:
Upper Band = VWAP + Band Width
Lower Band = VWAP - Band Width
Higher deviation multipliers create wider bands and fewer trend changes.
Lower multipliers create tighter bands and faster, more frequent flips.
ATR minimum width
During low-dispersion periods, volume-weighted deviation can become extremely narrow.
This can cause small and insignificant movements to trigger repeated reversals.
The optional ATR floor calculates:
ATR Floor = ATR × ATR Minimum Multiplier
The final width becomes:
Band Width = Maximum of Deviation Width and ATR Floor
This preserves volume-weighted deviation as the primary band engine while preventing the channel from collapsing below a practical volatility threshold.
Trailing-band construction
The raw deviation bands move freely with VWAP and dispersion.
The indicator converts them into one-sided trailing levels.
Lower trail
While the selected trigger remains above the lower trail:
The trail can rise.
It cannot move downward.
This creates a ratcheting support structure.
Upper trail
While the trigger remains below the upper trail:
The trail can fall.
It cannot move upward.
This creates a ratcheting resistance structure.
The active trend trail is:
The lower trail during bullish regimes.
The upper trail during bearish regimes.
Why trailing logic matters
A raw VWAP band can move toward price and create unstable signals.
The one-sided trail preserves trend structure and creates hysteresis.
Hysteresis means the threshold required to enter a bullish regime is different from the threshold required to enter a bearish regime.
This allows price to rotate around VWAP without constantly changing the active trend.
Trend initialization
When the first valid VWAP is available:
The trend initializes bullish if the trigger is at or above VWAP.
The trend initializes bearish if the trigger is below VWAP.
After initialization, a full break of the opposite trail is required to change regimes.
Bullish trend flip
A bullish flip requires:
The selected trigger to move above the upper trailing band.
The current trend not already to be bullish.
VWAP slope confirmation to pass if enabled.
Once confirmed:
The trend becomes bullish.
The active trail moves beneath the market.
A bullish signal marker is displayed.
Bearish trend flip
A bearish flip requires:
The selected trigger to move below the lower trailing band.
The current trend not already to be bearish.
VWAP slope confirmation to pass if enabled.
Once confirmed:
The trend becomes bearish.
The active trail moves above the market.
A bearish signal marker is displayed.
Flip trigger
The trend can be triggered using:
Close
The selected VWAP price source
Close is the more conventional option.
Using the price source, such as HLC3, can produce a slightly smoother trigger because it reflects more of the bar than the close alone.
VWAP slope confirmation
Optional slope confirmation requires VWAP itself to move in the direction of the proposed new trend.
For a bullish flip:
Current VWAP must be above VWAP from the selected lookback.
For a bearish flip:
Current VWAP must be below its prior value.
This can help reject:
Temporary band breaks.
Low-volume price spikes.
Liquidity sweeps against flat fair value.
The tradeoff is additional confirmation delay.
Breaking the trail on flips
The active trail changes from one side of the market to the other during a regime transition.
The Break Trail On Flips option inserts a visual gap on the flip bar so the previous and new trails are not connected by a misleading line segment.
This affects presentation only.
Visual trend-strength engine
The updated script includes a visual-strength model that controls the intensity of the gradient and glow.
It combines two measurements:
Distance between price and the active trail.
Slope of VWAP relative to the current band width.
Distance strength
The script measures:
Absolute Distance = |Close - Trend Trail|
This is normalized by the current band width.
A larger distance indicates stronger separation between price and the structural trail.
Slope strength
VWAP movement across the slope lookback is also normalized by the band width.
This measures whether volume-weighted fair value itself is moving meaningfully relative to the size of the current deviation structure.
Combined trend strength
The final visual strength is weighted:
70% price-to-trail distance.
30% VWAP slope strength.
This produces a value between zero and one.
It does not change trend logic or signals. It controls the visual intensity of the indicator.
Layered gradient fill
Instead of using one flat gradient, the updated indicator divides the space between the trail and price into six visual layers.
The levels are placed progressively between:
The active trend trail.
The current closing price.
The gradient is:
Most concentrated near the structural trail.
Progressively softer toward price.
The opacity adapts to trend strength.
When price is strongly separated from the trail and VWAP is moving with the regime:
The gradient becomes more vivid.
When the trend is weak:
The fill becomes softer and more transparent.
This makes the visual ribbon encode more than direction. It also reflects the current strength of the price-to-structure relationship.
Flip bloom
After a confirmed trend flip, the indicator creates a temporary bloom around the new trail.
The bloom is strongest immediately after the transition and fades over the following bars.
Its intensity follows this general sequence:
First bar after flip: strongest bloom.
Second bar: reduced bloom.
Third bar: light residual bloom.
Afterward: bloom disappears.
This visually emphasizes fresh regime changes without permanently increasing chart brightness.
The bloom is cosmetic and does not affect calculation.
Adaptive trail glow
The glow surrounding the trail also changes with trend strength.
The base width is ATR-scaled, then increases slightly as the visual trend-strength score rises.
This creates:
A broader glow during stronger regimes.
A narrower glow when trend structure is weaker.
The glow contains:
An inner, more visible layer.
A wider, softer outer layer.
Visual interpretation
The updated presentation provides several pieces of information simultaneously:
Color shows the active trend direction.
The trail shows the structural regime boundary.
Gradient intensity reflects trend strength.
Glow width reinforces structural conviction.
The bloom highlights fresh regime transitions.
How to use the indicator
Trend regime filter
Use the active color and trail position as directional context:
Favor longs during bullish regimes.
Favor shorts during bearish regimes.
Pullback structure
In a bullish regime:
VWAP represents volume-weighted fair value.
The lower trail represents deeper structural support.
In a bearish regime:
VWAP represents the mean-reversion anchor.
The upper trail represents deeper structural resistance.
Trend-strength context
A vivid gradient and broader glow suggest:
Price is well separated from the trail.
VWAP is moving in the trend direction.
The regime has stronger structural momentum.
A weak or faded gradient suggests:
Price is closer to the trail.
VWAP slope is weaker.
The trend may be consolidating or losing strength.
Fresh transitions
The bloom helps identify newly established regimes.
A fresh flip with:
Strong bloom.
Growing price separation.
VWAP slope alignment.
generally represents stronger early trend structure than a flip that immediately loses visual intensity.
Dynamic risk management
The active trail may be used as:
A trailing stop reference.
A regime invalidation boundary.
A position-management guide.
Because the trail responds to both volume-weighted dispersion and volatility, it adjusts as market conditions change.
How this differs from a standard VWAP
A standard VWAP:
Plots only volume-weighted mean price.
Usually resets once per session.
Does not maintain trend state.
VWAP Deviation Trend:
Supports anchored and rolling windows.
Calculates volume-weighted dispersion.
Creates adaptive raw bands.
Converts them into directional trailing boundaries.
Maintains persistent bullish and bearish regimes.
Adds a strength-reactive visual system.
How this differs from Supertrend
A traditional Supertrend normally uses a central price such as HL2 and ATR-based bands.
VWAP Deviation Trend uses:
Volume-weighted fair value as the center.
Volume-weighted standard deviation as the primary width.
ATR only as an optional minimum floor.
This means the trail responds not only to range volatility, but also to where trading volume has been concentrated.
How this differs from Bollinger Bands
Bollinger Bands normally use:
A moving average.
Unweighted standard deviation.
Symmetrical non-trailing bands.
This indicator uses:
A volume-weighted mean.
Volume-weighted variance.
One-sided trailing bands.
Persistent trend-state logic.
It is therefore a trend-regime model rather than a standard mean-reversion envelope.
Input guide
VWAP Mode
Selects the anchored or rolling calculation window.
Deviation Multiplier
Controls the width of the statistical bands.
Higher values produce wider, slower regimes. Lower values produce tighter and faster regimes.
ATR Minimum Width
Prevents excessive narrowing during compressed conditions.
VWAP Slope Confirmation
Requires volume-weighted fair value to move with the proposed trend.
Flip Trigger
Selects whether close or the chosen price source must cross the trail.
Visual settings
Allow the trader to display:
The trend trail.
VWAP.
Raw deviation bands.
Layered gradient.
Adaptive glow.
Signals.
Trend candles.
Strengths
Combines fair value, dispersion, and trend structure.
Uses volume-weighted mean and variance.
Supports multiple anchored and rolling VWAP windows.
Uses ATR protection against narrow-band whipsaws.
Creates persistent regimes with hysteresis.
Provides optional VWAP slope confirmation.
Includes a trend-strength-reactive visual system.
Clearly emphasizes fresh trend transitions.
Limitations
Volume quality varies between instruments.
Anchored VWAP modes may be unstable immediately after a reset.
Long windows can react slowly to sudden regime changes.
Tight settings can increase whipsaws.
Wide settings can delay reversals.
Slope confirmation can add additional lag.
Visual strength is contextual and is not a separate trading signal.
Alerts
The indicator includes alerts for:
Confirmed bullish trend flips.
Confirmed bearish trend flips.
These represent complete VWAP deviation regime changes, not ordinary crosses of VWAP.
Summary
VWAP Deviation Trend converts volume-weighted fair value and price dispersion into a directional trend trail.
It calculates VWAP over a configurable anchored or rolling window, measures volume-weighted standard deviation around that VWAP, and builds upper and lower deviation bands. An optional ATR floor prevents the structure from becoming excessively narrow during quiet conditions.
The raw bands are transformed into one-sided trails. The lower trail ratchets upward during bullish regimes, while the upper trail ratchets downward during bearish regimes. Trend changes occur only when price breaks the opposite trail, optionally with confirmation from the slope of VWAP.
The updated visual engine measures price separation and VWAP slope to dynamically control the layered gradient, trail glow, and temporary post-flip bloom. This creates a clearer representation of direction, structural strength, and fresh regime transitions without changing the underlying signal logic. Penunjuk

EMA Bounce Futures System - Clean MTFEMA BOUNCE FUTURES SYSTEM — VWAP ALERTS & MTF CONFIRMATION
This indicator is based on the primary setup I personally use when trading futures. It combines multiple exponential moving averages, session VWAP, pullback and rejection detection, higher-timeframe confirmation, risk-based profit targets, and configurable VWAP proximity alerts.
The purpose of this indicator is not to predict every market movement or automatically tell a trader when to enter. It is designed to organize the information I already use when evaluating a setup and make it easier to recognize when price is approaching an area that may deserve attention.
MAIN FEATURES
MULTIPLE EMA TREND STRUCTURE
The indicator plots the following moving averages:
• 9 EMA
• 21 EMA
• 50 EMA
• 100 EMA
• 200 EMA
These averages are used to evaluate short-term momentum, broader trend direction, and possible pullback or rejection areas.
AUTOMATIC TRADING MODES
The indicator can automatically adjust its setup logic based on the chart timeframe.
Scalp Mode
Designed for lower-timeframe futures trading. It prioritizes faster moving averages, shorter swing calculations, and closer profit targets.
Intraday Mode
Designed for moderate intraday timeframes. It uses slower trend confirmation and wider risk-to-reward targets.
Swing Mode
Designed for higher timeframes. It prioritizes deeper EMA pullbacks and broader trend structure.
The mode can be selected manually or left on Auto.
EMA BOUNCE DETECTION
The indicator looks for price to pull back into an eligible EMA and close back away from it with rejection.
A potential long setup generally requires:
• Bullish trend conditions
• Price touching or moving through an eligible EMA
• A bullish rejection candle
• The closing price remaining within the selected maximum entry distance
A potential short setup uses the opposite conditions.
The signal label identifies which EMA generated the possible setup.
ENTRY, STOP, AND PROFIT TARGETS
When a qualifying setup appears, the indicator can display:
• Entry price
• Stop-loss level
• TP1
• TP2
• TP3
• Tick distance
• Approximate contract value
The stop is based on a recent swing high or swing low. Profit targets are calculated as multiples of the initial risk.
These levels are references for trade planning. They are not automatic orders.
VWAP APPROACH ALERTS
The indicator can notify the trader when price enters a selected proximity zone around VWAP.
Separate alert conditions are available for:
• Approaching VWAP from above
• Approaching VWAP from below
• Any VWAP approach
• Dynamic alerts containing the symbol, current price, VWAP price, and distance in ticks
The VWAP alert is intended to provide an early warning. It is not automatically a long or short signal.
Price may reject VWAP, consolidate around it, continue through it, or completely reverse. Market structure and confirmation still matter.
HIGHER-TIMEFRAME CHECK
The indicator includes a configurable higher-timeframe EMA check.
An “HTF?” label may appear when a deeper lower-timeframe rejection aligns with the selected higher-timeframe trend conditions.
This label is a reminder to inspect the higher-timeframe chart. It should not be treated as an automatic entry signal.
MY PREFERRED STARTING SETTINGS
These are the settings I generally use as a starting point for lower-timeframe futures trading:
• Mode: Auto or Scalp
• Higher Timeframe: 15 minutes
• Maximum Entry Distance From Bounce EMA: 20 ticks
• VWAP Alert Distance: 20 ticks
• Show Only Latest Setup: On
• Show VWAP Approach Flags: On
• Wait For Bar Close: Off
I may enable Wait For Bar Close when I want fewer intrabar alerts and more confirmation.
The appropriate VWAP distance depends on the contract, timeframe, and current volatility. A 20-tick setting may be reasonable for one instrument but too close or too far for another.
HOW I USE THE INDICATOR
This is primarily a pullback and confluence tool.
I generally use it to identify situations where:
• The broader trend is established
• Price pulls back toward an important EMA or VWAP
• The pullback shows rejection
• Higher-timeframe structure supports the idea
• The stop location is reasonable
• The available reward justifies the risk
I do not take every signal that appears.
I still consider:
• Overall market structure
• Support and resistance
• Trend strength
• Consolidation
• News and economic releases
• Time of day
• Volatility
• Distance from major levels
• Whether the trade has a logical invalidation point
THIS IS NOT A CHEAT CODE
This indicator does not eliminate risk, prevent losses, or guarantee profitable trades.
An alert only means that the programmed conditions have been met. It does not mean that price must reverse, continue, or respect the indicated level.
The indicator cannot account for every market condition, including sudden volatility, breaking news, low liquidity, slippage, emotional decision-making, or poor risk management.
The trader is still responsible for deciding:
• Whether market conditions are appropriate
• Whether the setup is valid
• Where to enter
• How much to risk
• When to exit
• When not to trade
The strongest use of this indicator is as a structured decision-support tool alongside experience, discipline, and risk management.
IMPORTANT NOTICE
This script is provided for educational and informational purposes only. It is not financial advice and is not a recommendation to buy or sell any security, futures contract, or financial instrument.
Futures trading involves substantial risk and may not be appropriate for every trader. Past performance does not guarantee future results. Always test the indicator and its settings for the specific contract and timeframe being traded. Penunjuk

Penunjuk

Penunjuk

Futures Session TWAP + Bands - CFD ChartsAn anchored TWAP (time-weighted average price) with 1/2/3-sigma bands that
knows when the real market is actually open — built for CFD and cash-index
charts whose 24h quotes distort classic session averages.
What makes it original: a TWAP weighs every bar equally, so on a 24h CFD chart
the thin overnight bars count as much as the liquid session and drag the line
away from the number execution desks reference. This indicator pulls the
volume of the auto-detected futures contract and uses it as a SESSION GATE:
only bars where the future actually traded are counted. It also plots an
optional futures-volume VWAP on the same anchor, so the TWAP-vs-VWAP spread
becomes readable at a glance — that spread is the point of the pair.
How it works:
- TWAP = equal-weight average of the chart's price (hlc3 by default) over the
anchor period (session/week/month); bands from the time-weighted variance.
- Session gate (optional, on by default): bars without futures volume are
skipped, so the TWAP covers the real trading session. Only session/volume
information is borrowed from the future — the price stays this chart's
price, so the futures-vs-cash basis cannot distort the level.
- The futures contract is auto-detected from the chart symbol (DAX/GER40 ->
FDAX, NAS100 -> NQ, US30 -> YM, UK100 -> Z, US500 -> ES), or set manually.
- Optional "Daily anchor = futures trading day" resets at the futures day
change instead of CFD broker midnight, matching the sibling VWAP tool.
- A status label shows the active source, the gate state and the current
VWAP-minus-TWAP spread.
How to use it: the TWAP is the fair time-average of the session — the line an
evenly-sliced execution would achieve. Compare it with the futures-volume
VWAP: VWAP above TWAP means volume was concentrated above the time average
(participants paid up), VWAP below TWAP means volume traded below it. The two
lines glued together signals balanced rotation; a widening spread marks
one-sided participation. The 2/3-sigma bands frame statistically stretched
zones relative to the session mean. Check the status label once after loading
to confirm the futures feed is active.
*This script is part of a consistent set of open-source session, range and
volume tools — the companions are on my profile.* Penunjuk

Penunjuk

Anchored VWAP Hand-Off 2.03Anchored VWAP Hand-Off 2.03 is a multi-leg cascading VWAP indicator. It starts with a classic Anchored VWAP from a user-selected date (Leg 1), then automatically creates new "hand-off" VWAP legs (up to 24) every time price crosses the previous VWAP. Each new leg resets its calculation from the bar of the cross, creating a dynamic chain of VWAPs that follow price action.
Key Features:
Source: Typically close (customizable).
Trigger: EMA(1) of the source (essentially price itself).
Color Logic: Each VWAP leg changes color based on whether price is above (bullish) or below (bearish) it. Supports unified color mode.
Up to 24 cascading legs (user controls how many are shown).
Visual anchor line at the start date.
Main Use Cases:
Dynamic Support & Resistance
The multiple VWAP legs act as adaptive moving support/resistance zones. Traders watch for bounces off these lines or breaks through several legs at once.
Trend Strength & Momentum
Strong trends often break multiple hand-off legs quickly.
Choppy/consolidating markets produce many frequent hand-offs (more lines clustering).
Mean Reversion Setups
Price tends to return to the nearest active VWAP legs. Useful for fade-the-extreme strategies.
Breakout / Breakdown Confirmation
When price decisively breaks through several VWAP legs in sequence, it often signals a high-probability directional move.
Intraday & Swing Trading
Particularly popular on stocks, futures, and crypto for finding "fair value" shifts after news events or strong moves. The hand-off mechanism makes it more responsive than a single static anchored VWAP.
Visual Market Structure
Helps traders see how "value" is migrating over time as new legs form.
Best Timeframes: Works on all, but especially useful on 5min to daily charts.Pro Tip: Start with 8–12 legs. Too many legs can make the chart noisy. Use the anchor date on significant events (earnings, breakout days, macro events, etc.).This indicator is an evolution of standard Anchored VWAP, designed to solve the problem of a single anchored VWAP becoming stale after big moves.
Penunjuk

Strategi

Penunjuk

Institutional VWAP Bands [JOAT]Institutional VWAP Bands
An anchored VWAP with standard-deviation bands that classifies price as cheap, fair or expensive and offers two complementary playbooks: mean reversion and trend pullback.
What it is
VWAP is the benchmark institutions measure their own fills against — the market's running notion of fair value. Standard-deviation bands around it map where price is stretched relative to that benchmark. This indicator runs an anchored VWAP with three band pairs and turns them into a structured, non-repainting decision tool rather than a plain VWAP line.
How it works
• Anchored VWAP — volume-weighted average price accumulated from a chosen anchor (session, week or month) with a controlled reset, so the reference restarts cleanly each period.
• Sigma bands — three pairs of bands at one, two and three standard deviations of price around VWAP, computed from the same volume-weighted variance. These define the stretch zones.
• Value state — every bar is classified with a z-score into cheap, fair or expensive relative to VWAP. This drives the colour system and the dashboard.
• Mean-reversion fades — when price is stretched to the outer bands against the higher-timeframe trend and then reclaims back inside, a fade toward VWAP is signalled. The reclaim requirement is deliberate, so you are not blindly catching a falling knife.
• Trend-pullback entries — in a trend, a retracement to VWAP or the first band that holds is a discount entry in the trend direction. Both playbooks are labelled by type, and Buy/Sell are mutually exclusive with a minimum-gap control.
Trade levels
Each signal draws a red risk box to the ATR stop and a green reward box to the third target, with inner dividers and right-edge labels for entry, stop and each take-profit. For reversion signals the first target is clamped toward VWAP so it always sits on the profit side of entry.
The dashboard
An adjustable value-ladder panel shows the value state, the z-score, the trend bias, the active playbook and signal, a conviction estimate, and a live first-target-before-stop tally from closed bars only.
How to use it
• Choose the anchor that matches your style: session for intraday, week or month for swing context.
• Fade the outer bands only against the trend and with a reclaim; take pullbacks to VWAP with the trend.
• Works across assets and timeframes, though the anchor should suit the timeframe you trade.
Settings
Anchor period, VWAP source, three band multipliers, trend filter length, reversion trigger, ATR risk multiple and target R multiples, plus visual and dashboard controls.
Originality and usefulness
VWAP and deviation bands are standard building blocks; the contribution here is the explicit two-playbook logic (reclaim-based reversion versus trend pullback), the value-state classification that ties colour, dashboard and signals together, and the reversion target clamp — combined into one coherent, non-repainting framework and fully explained.
Notes and limitations
• VWAP is most meaningful on instruments with reliable volume; on symbols without real volume the bands lose accuracy, which is stated here honestly.
• Reversion trades against a strong trend carry inherent risk even with the reclaim filter.
• The tally reflects only past bars on the current chart and is not a forecast.
• Educational and analytical tool, not financial advice.
— made with passion by officialjackofalltrades
Penunjuk

Multiday VWAP by ByblloMultiday VWAP by Bybllo
OVERVIEW
This indicator plots up to 5 independent rolling Volume Weighted Average Price (VWAP) lines, each anchored a different number of calendar days back from the present bar (default: 2, 3, 4, 5, and 6 days back). Unlike a standard session VWAP that resets every day, each line here accumulates price*volume continuously from its own anchor day up to the current bar, giving traders a set of rolling reference levels for recent multi-day price/volume balance.
I built this for my own trading because I couldn't find an existing community script that did exactly this — a set of independent, multi-day rolling VWAP lines in one indicator — so I'm sharing it in case it's useful to others too.
KEY FEATURES
- 5 independently configurable rolling VWAP lines — toggle visibility, set the lookback in calendar days, and pick a color for each line individually.
- Lookback days are entered as calendar days (weekends included), so "6 days back" always lands on the same relative session regardless of where in the week you are.
- Real-price calculation — prices are pulled via request.security() against the plain ticker, so the VWAP values are identical whether your chart is displaying candlesticks, Heikin Ashi, Renko, or any other non-standard chart type. Volume is unaffected by chart type and is used as-is.
- Robust new-day detection — instead of relying on the chart's own bar-by-bar progress to detect a new trading day (which can be unreliable right after the chart first loads), this script requests daily-resolution data directly. Daily data loads much faster than intraday data, so the VWAP anchors are detected reliably even immediately after opening the chart.
HOW TO USE
Open the indicator settings and, for each of the 5 lines, set how many calendar days back you want that VWAP to start accumulating from. Use the lines as dynamic support/resistance or fair-value reference levels, similar to how a session VWAP is used, but for multi-day accumulation periods.
NOTES
- This script requires volume data from your data provider. If no volume is available for the symbol, the VWAP values will not calculate correctly.
- "Rolling Days" counts calendar days, not trading/session days.
Feedback and suggestions are welcome. Penunjuk

Shiva Pro V5 Structure Signals IntelligencePro V5 — Market Structure
& Smart Signal Engine
A unified day-trading and swing system built for 5m, 10m, and 1H charts. Five independent confirmation layers — trend, volatility, momentum, volume, and structure — work together before any signal is published. Every entry is committed at candle close. Nothing repaints.
Day Trading
Swing Trading
5m · 10m · 1H
Non-Repainting
Stocks · Crypto · Futures
Pine Script® v6
Architecture
Eight systems, one chart
Shiva Pro V5 is not a single indicator — it is eight interlocking analytical layers rendered on one overlay so you never need to context-switch between panes. Each layer can be toggled independently; together they give you a complete picture of market intent.
🏗
Market Structure
Automatic swing high / low detection. BOS (Break of Structure) and CHoCH (Change of Character) labels fire at candle close — BOS confirms trend continuation, CHoCH warns of reversal before it develops.
📦
Order Blocks
Detects the last opposing candle before a strong impulse move. Up to five blocks per side are tracked simultaneously. Blocks fade in transparency as they age — the newest, most relevant zone always reads brightest.
⚡
5-Stage Signal Engine
Every LONG or SHORT label passes five independent gates: EMA trend stack, ATR volatility expansion, RSI + MACD momentum, above-average volume, and structure confirmation. A 10-bar cooldown prevents signal clustering.
💧
VWAP Break & Retest
Identifies high-volume breaks of VWAP, waits for price to retest within 0.2%, then confirms the bounce with momentum. A chop filter suppresses signals when price has crossed VWAP 2+ times in 20 bars — no oscillating false entries.
🛡
Risk Management
SL and TP1 draw instantly at signal. Lines are self-deleting — they expire after your chosen bar count or are cleared immediately when a new signal fires, keeping the chart clean. TP2 / TP3 are hidden by default.
📊
MTF Dashboard
Live table showing trend direction, RSI, and volume status on your three trading timeframes (5m, 10m, 1H) plus a 4H / 1D swing backdrop. Day Alignment score (X/3) tells you at a glance if all TFs agree.
☁️
Clouds & Ribbon
Reversal Cloud (EMA 9/21) changes color with momentum, Bias Ribbon (EMA 20/50) fills to show macro direction, and an optional Sentiment Cloud (EMA 50/200) paints the long-term trend beneath everything.
🔔
17 Alert Conditions
Every signal type has its own alert: LONG, SHORT, VWAP Buy, VWAP Sell, BOS, CHoCH, Pullback, Reversal, High Volume Spike, Trailing Stop Hit, and full MTF alignment calls for all-bull and all-bear.
Penunjuk

Penunjuk

Rolling Anchored VWAPRolling Anchored VWAP (RAVWAP) plots up to three independent, volume-weighted average price lines that roll forward bar by bar. Unlike session VWAP, which resets at the open, each line uses a moving anchor: at every bar, the window starts exactly N bars ago and runs through the current bar, so you get a continuously updating fair-value reference without session breaks.
Overview
VWAP is widely used by institutions to gauge whether price is trading above or below the volume-weighted average. This indicator extends that idea with rolling anchored windows of any length you choose — useful on any timeframe, including higher timeframes where session VWAP is less relevant.
Each VWAP is fully configurable: enable or disable it, set its own period, color, and line width, and optionally display volume-weighted standard deviation bands at ±1σ, ±2σ, and ±3σ.
How it works
For a given Period setting of N:
The anchor is placed N bars before the current bar
VWAP is calculated from that anchor through the current bar (inclusive)
On each new bar, the anchor advances by one bar
Example with Period = 100:
Bar 100 → VWAP over bars 0 through 100
Bar 101 → VWAP over bars 1 through 101
Bar 102 → VWAP over bars 2 through 102
The calculation uses efficient rolling sums, so it stays responsive even with periods in the hundreds or thousands.
Standard deviation bands use the same volume-weighted formula as TradingView’s built-in VWAP:
σ = √( Σ(V × P²) / Σ(V) − VWAP² )
Band toggles affect display only — they do not change the VWAP value.
Features
3 independent rolling VWAPs with separate periods (defaults: 100, 250, 500)
Individual enable/disable for each VWAP
Custom color and line width per VWAP
Optional ±1σ, ±2σ, ±3σ bands per VWAP
Optional filled band between ±1σ
Configurable source (default: HLC3)
Non-repainting — historical values are fixed after each bar closes
No session resets — continuous rolling windows on any timeframe
Overlay on price — plots directly on the chart scale Penunjuk

VWAP Wave System [MMT]VWAP Wave System is a full-featured VWAP-based market structure indicator designed to help traders read session context, identify directional bias, and spot high-probability setups around VWAP and its deviation bands. It combines multiple anchored VWAPs, Initial Balance tools, setup signals, candle coloring, alerts, and a dashboard into one clean framework for intraday and swing-style session analysis.
How It Works
The indicator plots several VWAP references depending on what you enable:
Intraday VWAP for the current trading session, including optional deviation bands and value area fill.
Weekly VWAP to show broader short-term bias.
Monthly VWAP for higher-timeframe context.
RTH VWAP for regular trading hours only, which is useful if you want a cleaner institutional-style session view.
Each VWAP can be turned on or off independently, and each one can display deviation bands to show how extended price is relative to that VWAP. This makes it easier to tell whether price is trading in balance, stretching into discovery, or reverting back toward value.
paste.txt
How To Use It
A simple way to use this indicator is to start with the VWAP that matches your trading style:
Use Intraday VWAP if you trade active sessions and want fast decision-making.
Use RTH VWAP if you focus on regular market hours and want cleaner session structure.
Use Weekly or Monthly VWAP if you want to trade with the larger directional bias in mind.
From there, watch how price behaves around the VWAP bands:
Above VWAP often suggests bullish control or strength.
Below VWAP often suggests bearish control or weakness.
Inside the value area usually suggests balance or rotational conditions.
Touches and rejections at the bands can help identify fade or continuation opportunities.
Setup Signals
The indicator includes four main setup types, each with separate long and short signals:
S1: Price Discovery Continuation.
S2: Fade Value Area Extremes.
S3: Return to Value.
S4: VWAP Bounce.
These setups are designed to cover different market conditions. For example, S1 is useful when price accepts beyond a band and continues in that direction, while S2 looks for rejection after trading into an extreme. S3 is more of a return-to-balance setup, and S4 looks for a reaction off VWAP inside the value area.
paste.txt
Initial Balance Tools
The Initial Balance section is useful for understanding the first part of the session and how price may react around that opening range. It can plot:
IB High.
IB Low.
IB Midpoint.
IB 25/75 levels.
IB projections beyond the range.
Break/retest markers when price interacts with those levels.
This is especially useful for traders who pay attention to opening range behavior, breakout continuation, or failed breakouts. The projections can help estimate common expansion targets based on the size of the initial balance range.
Candle Coloring And Dashboard
The candle coloring feature changes candle color based on how far price is from the intraday VWAP, helping you quickly see whether momentum is strong, moderate, or fading. That makes it easier to read whether the market is stretched or still comfortably within normal movement.
The dashboard provides a quick summary of:
Intraday bias.
RTH bias.
Weekly bias.
Monthly bias.
Current setup state.
Setup VWAP and band levels.
Bars outside or inside the accepted range.
Practical Workflow
A clean way to use the script is:
Turn on the VWAPs relevant to your trading horizon.
Use the dashboard to confirm current bias and session context.
Watch for price acceptance above or below the active VWAP bands.
Use the setup labels and alerts to catch S1-S4 opportunities.
Use Initial Balance and projections to plan targets and invalidation levels.
For example, if price opens strong, holds above the intraday VWAP, and accepts above the upper deviation band, that can support a continuation-style read. If price pushes into a band and immediately rejects back into value, that may be a cleaner fade or return-to-value opportunity.
Best For
This indicator is best for traders who want a structured way to trade around VWAP rather than using VWAP as a simple line on the chart. It works well for:
Intraday scalpers.
Session traders.
VWAP mean reversion traders.
Breakout and continuation traders.
Traders who use Initial Balance and market profile-style context.
Penunjuk

RTH Session VWAPRTH Session VWAP
Timezone-correct session VWAPs (NY RTH, London, Asia) + a 24h VWAP with StdDev bands. Sessions anchor to their own market timezone, so they plot right from anywhere.
Session VWAPs for New York, London, and Asia, plus a continuous 24-hour/daily VWAP, with optional standard-deviation bands — built for intraday futures trading from any timezone.
The core problem this solves: most session-VWAP scripts read their session times in the chart's exchange timezone, so the boundaries drift or break when you view the chart from a different timezone. Here each session is computed in its own explicit market timezone (America/New_York, Europe/London, Asia/Tokyo), so the sessions anchor correctly no matter where you are or how your chart timezone is set. Daylight saving is handled automatically.
Features
New York VWAP defaults to the regular cash session (09:30–16:00 ET), anchored to the RTH open.
London and Asia session VWAPs, each in its own timezone, off by default.
An always-on 24h VWAP anchored to the trading day, drawn independently of the sessions.
Optional ±1 / ±2 standard-deviation bands for every VWAP.
Independent show toggles per session, plus a master switch.
Configurable session hours, timezones, StdDev multipliers, and VWAP source.
Clean chart legend — input arguments and helper plots are kept out of the status line.
How to use
Add to chart. By default you'll see the New York RTH VWAP (green) and the 24h VWAP (amber). Enable the London/Asia sessions or the StdDev bands under Inputs. Session hours are entered in each session's own market timezone (e.g. NY 0930-1600). VWAP and its deviation bands act as intraday mean/value references — price returning to VWAP, or rejecting a ±1/±2 band, are common contexts traders watch.
Credit
This is an open-source modification of "Koalafied VWAP Session/Day" (Session VWAP) by TJ_667, published under the Mozilla Public License 2.0. All original credit goes to TJ_667. This version adds explicit per-session timezones, an RTH default, a 24h VWAP, per-session toggles, and a Pine v6 migration.
Source and notes: github.com Penunjuk

Penunjuk

Penunjuk

Penunjuk

Auction & Liquidity Command Center Volume Profile, MeasuredAuction & Liquidity Command Center — Volume Profile, Measured
The levels traders already use — prior POC, value area, naked POCs, prior day high/low, session AVWAP, HVN/LVN — each scored by its measured reaction on this chart: how often price rejects vs breaks, and what the fade has been worth in R. Levels with evidence, not levels with vibes. Never a buy or sell.
What it does
Every structure tool draws levels. None of them measures what happens when price gets there. This tool builds the session-anchored auction map with profile-grade accuracy, detects qualified touches of every level, resolves each touch through a triple-barrier outcome, and pools the results by level TYPE into a live scoreboard: pPOC +0.01R · rej 50% · n156. You see not just where the levels are, but which kinds of levels have actually meant something on this chart — and which are coin flips.
The components, and why they are combined
This is a deliberate synthesis of four parts, each covering the previous one's weakness:
A profile-grade level engine (Market Profile — J. P. Steidlmayer). Nine level types from the session volume-at-price profile and session extremes: prior POC, prior VAH/VAL (classical two-row 70% expansion), naked POCs (prior POCs never revisited), prior day high/low, the session's anchored VWAP, and HVN/LVN volume nodes (prominence-filtered local extremes). Accuracy choices: each bar's volume is distributed range-proportionally across the rows it overlaps (not binned at one point); POC ties break toward the session center. Weakness left open: a drawn level says nothing about whether it matters.
A qualified-touch detector. A level must be ARMED — price fully away from it by at least k×ATR — before a touch of it can count, and it disarms after every touch. Chop sitting on a line cannot enter the record. Approach direction is stored with every event. Weakness left open: a touch is not an outcome.
Triple-barrier outcome resolution (outcome labelling — M. López de Prado). From each touch: REJECT if price moves m×ATR back the way it came first, BREAK if it moves m×ATR through first, TIMEOUT after T bars. Purity rules: barriers are fixed at the ATR of the touch moment; evaluation starts the bar after the touch; a bar hitting both barriers is a timeout, never a guess. Weakness left open: one level's history is n = 1.
Per-TYPE pooling with honesty gates. Statistics pool by level type, never by individual line — a type is a real sample. A type shows no score until a minimum number of its touches have resolved (default 20); until then it reads BUILDING with its count. Timeouts are reported in n but excluded from the reject/break ratio. Fade expectancy = (rejects − breaks) / (rejects + breaks), in R.
How to read it
Rails are colored and styled by type (solid profile levels, dashed day levels, dotted volume nodes, violet naked POCs); each label carries its type's live score or its BUILDING count.
Evidence on the chart: a gray • at every qualified touch, then ○ (teal) where the touch rejected and ✕ (amber) where it broke. Every number on the scoreboard can be audited against the chart.
Dashboard: nearest level and its score, with a plain-language verdict (tends to hold / coin flip / tends to break) so the read needs no statistics background; per-type scoreboard (fade R · reject % · n) for all nine types; touch counts; the exact engine settings in the NOTE row.
Honest expectations: most types on most charts score near zero — that is the truthful baseline, and seeing it protects you from folklore. The value is in the exceptions this chart's own history reveals (for example, day extremes often carry a modest positive fade expectancy while POC retests are a coin flip), and in knowing the difference.
How to use it
Use the scoreboard to weight your own playbook: give more respect to touches of types that have measured well here, less to types that grade as noise — and size accordingly. The "Touch of a MEASURED level" alert fires only when price reaches a type with a real sample behind it. This is context about where price reactions have had structure — never a direction, never an entry signal.
Non-repaint & universality
Profiles, POC/VA/nodes and day levels commit only at session close on confirmed bars; touches and outcomes resolve on confirmed bars; the AVWAP is cumulative within its session. Nothing repaints. The script requests no external data of any kind — no lower timeframes, no security calls — so it runs identically on every plan and every symbol with volume.
Use on any market
Volume source, profile rows, value-area %, node thresholds, arm distance, barriers and sample gates are all inputs. Defaults suit liquid intraday index futures; intraday timeframes give the engine the most touches to learn from.
Originality & credits
The synthesis — a range-proportional session profile, qualified-touch detection, touch-time-ATR triple-barrier outcomes, and per-type pooled reaction statistics displayed as a live scoreboard — is original work for this publication. Concept credits: Market Profile / point of control / value area — J. Peter Steidlmayer; naked (virgin) POC — market-profile literature; anchored VWAP — as popularised in modern trading literature; triple-barrier outcome labelling — M. López de Prado. Implementation and charting design are the author's own.
Disclaimer
Research and education only. NOT financial advice, NOT a signal service, NOT a guarantee of future results. Reaction statistics are empirical frequencies from this chart's limited history, pooled per level type; they change with regime and sample, and a positive expectancy is not a promise. Validate independently and manage your own risk. Penunjuk

Penunjuk

SMB Fashionably Late Scalp (9EMA x VWAP)SMB "Fashionably Late Scalp" (9 EMA × VWAP) — backtest & study tool
WHAT THIS IS
An open, fully tunable Pine v5 strategy implementation of the "Fashionably Late
Scalp," a 9-EMA-crosses-VWAP intraday setup published by SMB Capital. It is built
for honest backtesting and study of the setup's mechanics — not as a turnkey
profitable system (see "Honest notes on performance" below).
THE SETUP (long; short is the mirror)
1. Divergence — a sustained move separates the 9 EMA from the session VWAP.
2. The Turn — price puts in a distinct low of the day, then starts back up.
3. Convergence — the 9 EMA rises back and crosses VWAP. That cross is the trigger.
Entry: an up-sloping 9 EMA crossing a flat-to-downsloping VWAP (mirror for shorts).
Stop: 1/3 of the distance from VWAP to the low of day.
Target: a measured move — low-of-day to the cross, projected the same distance
beyond the cross.
TWO ENTRY MODES
• Anticipate cross (stop order) : TradingView can normally only act on the
bar AFTER a cross. Because the EMA's next value is deterministic in price
(EMA_next = α·P + (1−α)·EMA_now), the script solves for the exact price P that
makes the 9 EMA meet VWAP and rests a stop order there — so it fills AT the cross,
intrabar. Non-repainting: the trigger is fixed on the closed bar and refreshed
each bar.
• React next bar open (market): conventional market entry on the confirmed cross
(fills one candle late). Kept for A/B comparison.
Note: the anticipatory trigger sits above VWAP by ~4× the EMA-to-VWAP gap (9-EMA
algebra), so the further the EMA lags VWAP at entry, the higher the fill and the
lower the realized reward:risk. A "Minimum reward:risk" input — measured from the
actual fill, not from VWAP — bounds this.
KEY INPUTS
• EMA length; separate EMA & VWAP slope lookbacks/thresholds (VWAP uses a longer
lookback so "flat-to-downsloping" reflects the day's posture, not a 1-bar wiggle)
• Stop fraction, stop-anchor mode, cross-price mode, minimum reward:risk
• "The turn" requirement, re-entry cooldown, long/short toggles
• Optional filters: ideal EST session windows (10:00–10:45 / 10:46–13:30), a
>15-minute EMA-flat veto, and a volume-confirmation filter
• A signal-funnel table (top-right) showing how many crosses survive each gate, so
you can see exactly what is or isn't triggering
REQUIREMENTS & BEHAVIOR
• Needs a volume-bearing instrument (stocks/futures). On symbols without real
volume the session VWAP is undefined and the script stops with a message.
• Session VWAP and the low/high of day share one daily anchor, so they reset
together across RTH/ETH/24h charts.
• Signals evaluate on closed bars; no lookahead. Set realistic commission and
slippage in the Strategy Properties before drawing any conclusions.
HONEST NOTES ON PERFORMANCE
The source cites roughly a 60% win rate at ~3:1 reward:risk. Those numbers come
from a discretionary playbook, and in my own testing this mechanical version does
NOT reproduce them — it is not reliably profitable out of the box. That is
expected: the original depends on trader judgment this code cannot encode
(selecting "in-play" names, reading the speed/quality of the turn, position sizing,
skipping messy tape), and scalping costs erode a thin edge quickly. Treat this as a
faithful study/backtest harness for the mechanics and a base to experiment on — not
a signal to trade live. Nothing here is financial advice; test and manage your own
risk.
CREDITS
Setup concept: SMB Capital ("The Fashionably Late Scalp," public cheat sheet).
Pine v5 implementation, the anticipatory-cross entry, and the diagnostics are mine. Strategi

All Session Levels (Futures) - Asia, London, Overnight, NY PriorA session-levels built for trading during the New York session on the Micro Dow (MYM), though it works on any index future or intraday symbol. The core idea: the Asia and London sessions are thin and choppy on the Dow because the underlying US cash market is closed; rather than trading those sessions directly, this indicator plots the key levels they leave behind and helps you trade them when real volume arrives at the 9:30 ET open.
What it plots
Asia session high/low (default 8:00 PM–2:00 AM ET) — overnight liquidity pools.
London session high/low (default 3:00 AM–8:00 AM ET) — the more recent, more relevant overnight range.
Overnight high/low (ONH/ONL) — the full overnight range.
Prior day NY high/low/close — the most-watched daily references, drawn per-day so they don't stretch across chart history.
9:30 NY open marker and a shaded 9:30–10:30 killzone highlighting the highest-probability window.
Auto-detected supply and demand zones — the script identifies base-then-impulse departures (a tight consolidation candle followed by a strong directional move) and draws the base as a zone. Zones remain on the chart only until mitigated: once price closes fully back through a zone, it's automatically removed, so you only ever see live, untested zones.
Info dashboard (top-right) listing every current level and its price.
Alerts
Eight built-in alert conditions: level breaks (London, Asia, and overnight highs/lows) and zone taps (when price enters the most recent unmitigated demand or supply zone). Create them via the alarm-clock icon after adding the indicator; "Once Per Bar Close" is recommended for the break alerts.
How to use it
Set your chart timezone to America/New York (or adjust the timezone input to match your data feed).
Run it on an intraday timeframe, 3m to 15m is the sweet spot; 5m is a good all-round default.
Before the open, review the plotted overnight and prior-day levels.
In the 9:30–10:30 window, watch for price interacting with those levels: a clean break-and-hold for continuation, or a failed break that snaps back inside the range for a reversal.
Use the confluence of a zone tap, price extended past VWAP, and volume for entry confirmation.
Notes and settings
All session windows are fully adjustable in the settings, as are colors, and the supply/demand sensitivity (impulse strength, base size, lookback, and max zones per side).
The overnight window contains the Asia and London windows by design, so ONH/ONL will often overlap those extremes — toggle it off if you prefer less overlap.
The zone-tap alerts track only the most recent unmitigated zone on each side to avoid alert spam.
Disclaimer
This is an analysis and charting tool, not a trading system or financial advice. It does not generate buy/sell signals or guarantee any outcome. Levels and zones are calculated from historical price and session times; past behavior does not predict future results. Always do your own analysis and manage your own risk. Penunjuk
