PROTECTED SOURCE SCRIPT

VWAP STDev Bands (HTF on LTF)

19
• 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.

免責事項

この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。