PROTECTED SOURCE SCRIPT

DVWAP Spread -WinCAlgo

1 031
Dynamic VWAP Spread Oscillator
This indicator transforms the relationship between two adaptive VWAP curves into an oscillator format, making trend analysis more precise and intuitive.
What it shows:

Spread Value: The difference between Fast VWAP and Smoothed VWAP
Dynamic Coloring: Intensity increases as the spread moves away from zero
Zero Line: The neutral point where both VWAP curves converge

How to interpret:

Above Zero (Green): Fast VWAP > Smoothed VWAP → Bullish bias
Below Zero (Red): Fast VWAP < Smoothed VWAP → Bearish bias
Distance from Zero: Shows the strength of the current trend
Zero Crossovers: Potential trend change signals

📌 Usage Ideas:

Trend Filter: Take long trades only when oscillator is positive, shorts when negative
Momentum Gauge: Larger spread values indicate stronger trend momentum
Divergence Analysis: Look for divergences between price and oscillator for reversal signals
Overbought/Oversold: Extreme values may indicate potential mean reversion opportunities
Zero Line Bounces: Use zero line as dynamic support/resistance for entries

Parameters:

Period: Controls the lookback period for adaptive calculations
Adjustment Step: Fine-tunes the adaptive smoothing sensitivity
Fast Response: Adjusts how quickly the fast VWAP responds to price changes
Source: Price input for VWAP calculation (default: HLC3)

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.