PROTECTED SOURCE SCRIPT
VWAP STDev Bands (HTF on LTF)

• Plots a VWAP line and four pairs of VWAP standard-deviation bands around it using multipliers 1.28, 1.28, 2.22, 2.51.
• Computes VWAP and the stdev on a higher timeframe you choose (vwapTf, default 3 minutes) and displays those values on whatever chart you are on (e.g., 30s candles).
• VWAP/stdev are volume-weighted and are computed from src (default HLC3).
• VWAP/bands can reset either:
• By an intraday session window (0930-1600 NY) when useSessionReset=true, or
• Daily (NY midnight boundary) when useSessionReset=false.
• Optional: Hide all plots outside the session when using session reset (hideOutsideSession=true).
• Lets you show/hide VWAP and each band pair, and optionally fill the area between each band pair.
• Lets you control colors and line widths for VWAP and each band pair, plus fill transparency.
• Provides two alert conditions:
• Fires when price touches the upper Band 3 (multiplier m3, default 2.22) using high >= u3.
• Fires when price touches the lower Band 3 using low <= l3.
Alerts only evaluate when Band 3 is visible and plots are enabled.
Reasonable inferences (how it behaves on your 30s chart with 3m HTF)
• The lines will look “stepped” or hold constant within each 3-minute block, because the VWAP/bands are calculated on 3-minute candles and then mapped onto 30-second candles.
• If you enable “Hide Outside Session,” the plotted lines disappear outside 0930–1600 NY.
• Computes VWAP and the stdev on a higher timeframe you choose (vwapTf, default 3 minutes) and displays those values on whatever chart you are on (e.g., 30s candles).
• VWAP/stdev are volume-weighted and are computed from src (default HLC3).
• VWAP/bands can reset either:
• By an intraday session window (0930-1600 NY) when useSessionReset=true, or
• Daily (NY midnight boundary) when useSessionReset=false.
• Optional: Hide all plots outside the session when using session reset (hideOutsideSession=true).
• Lets you show/hide VWAP and each band pair, and optionally fill the area between each band pair.
• Lets you control colors and line widths for VWAP and each band pair, plus fill transparency.
• Provides two alert conditions:
• Fires when price touches the upper Band 3 (multiplier m3, default 2.22) using high >= u3.
• Fires when price touches the lower Band 3 using low <= l3.
Alerts only evaluate when Band 3 is visible and plots are enabled.
Reasonable inferences (how it behaves on your 30s chart with 3m HTF)
• The lines will look “stepped” or hold constant within each 3-minute block, because the VWAP/bands are calculated on 3-minute candles and then mapped onto 30-second candles.
• If you enable “Hide Outside Session,” the plotted lines disappear outside 0930–1600 NY.
Skrypt chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Można z tego korzystać swobodnie i bez żadnych ograniczeń — więcej informacji znajduje się tutaj.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Można z tego korzystać swobodnie i bez żadnych ograniczeń — więcej informacji znajduje się tutaj.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.