Triple VWAP (RTH Anchored + 1D/2D Rolling) w/ Z-ScoreRolling & Anchored VWAP Hybrid
Description:
This indicator is designed for intraday traders (Futures, Crypto, Equities) who need to quickly identify market regimes by comparing session-specific value against multi-day rolling value.
Traditional VWAP indicators force you to choose between "Anchored" (RTH) or "Rolling" (24h). This script combines both into a single hybrid tool, allowing you to spot trend days, mean reversion opportunities, and "fair value" dislocations instantly.
Key Features:
1. Hybrid VWAP Engine
RTH Anchored VWAP (Orange): Anchors automatically at the session open (default 09:30 NY). This represents the "true" institutional fair value for the current active session, ignoring overnight noise.
1-Day Rolling VWAP (Blue): A continuous 24-hour rolling window. This represents the short-term memory of the market (overnight + RTH).
2-Day Rolling VWAP (Purple): A continuous 48-hour rolling window. This acts as a slower, higher-timeframe support/resistance level.
2. Market Regime Identification
By observing the relationship between these three lines, you can instantly define the regime:
Bull Trend: Price > RTH VWAP > 1D VWAP > 2D VWAP.
Bear Trend: Price < RTH VWAP < 1D VWAP < 2D VWAP.
Expansion: When RTH VWAP breaks away from the 1D/2D Rolling VWAPs.
Compression/Chop: When all three lines are flat and entangled.
3. Integrated Z-Score Matrix (Table)
A built-in heatmap table displays the real-time Z-Score (standard deviation distance) of the current price relative to the 1-Day and 2-Day Rolling VWAPs.
How to use:
High Z-Score (> 2.0): Price is statistically extended (expensive). Look for mean reversion or exhaustion.
Low Z-Score (< -2.0): Price is statistically cheap. Look for bounces.
Zero (0.0): Price is at equilibrium (Fair Value).
Settings & Customization:
Session Time: Fully customizable RTH session (default 09:30-16:00) and Timezone.
Bands: Optional standard deviation bands for the RTH VWAP to visualize volatility.
Alerts: Built-in alert conditions for Price crossing any VWAP and for VWAP crossovers (Golden/Death crosses of value).
Pine Script® 인디케이터






















