PROTECTED SOURCE SCRIPT

VWAP STDev Bands (HTF on LTF)

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

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.