OPEN-SOURCE SCRIPT
Cập nhật Multiday Anchored Auto VWAP by Bybllo

OVERVIEW
Multiday Anchored Auto VWAP plots up to 10 automatically anchored, rolling Volume Weighted Average Price (VWAP) lines - Rolling Day #0 (today) through Rolling Day #9 (9 days ago) - plus 5 fully independent manual VWAP lines you anchor to any date/time you choose.
Unlike anchored-VWAP tools that force a choice between automatic or manual mode, the 10 automatic Rolling Day lines and the 5 Manual Input lines here run completely independently and can be shown together - keep the last few rolling days visible for a short-term picture while also anchoring a Manual line to a specific earnings date or session open.
INTENDED USE
Well suited to short-term futures scalping - Nasdaq futures (NQ/MNQ) and similar instruments. Primarily used on the 1-minute chart, but the rolling VWAP levels hold up just as well on 2, 3, and 5-minute charts and other intraday timeframes, since the anchor logic is independent of your chart's timeframe.
FEATURES
- 10 automatic Rolling Day VWAP lines, each recalculated fresh from "now" every run (via timenow) - no hardcoded dates, so the lines never go stale or need republishing.
- 5 independent Manual Input VWAP lines with full date/time pickers, for anchoring to a specific event, earnings date, or session open.
- Single "Auto Mode Session Start Time (HHMM)" input applies to all 10 rolling lines at once - default 07:00 (Asia/Seoul), aligned with the Nasdaq futures (Globex) 18:00 ET session open during US Daylight Saving Time (shifts to 08:00 KST during US Standard Time - adjust as needed around the DST transition).
- Calendar-day based rolling (not trading-day based) for simple, predictable anchoring - see the author's companion script "Multiday VWAP by Bybllo" if you need trading-day-aware anchoring instead.
- Anchor-point safety guard prevents accumulation before each line's actual start, so no artificial spikes at the anchor bar.
- Optional anchor-start labels (#0-#9, M1-M5) marking exactly where each line begins.
- Works on any chart type (candlestick, Heikin Ashi, Renko, etc.) since prices are pulled via request.security() from the underlying ticker.
This script requires volume data from your data provider. For educational and informational purposes only, not financial advice. Always verify how these levels behave on your specific symbol and timeframe before relying on them for live trading.
Multiday Anchored Auto VWAP plots up to 10 automatically anchored, rolling Volume Weighted Average Price (VWAP) lines - Rolling Day #0 (today) through Rolling Day #9 (9 days ago) - plus 5 fully independent manual VWAP lines you anchor to any date/time you choose.
Unlike anchored-VWAP tools that force a choice between automatic or manual mode, the 10 automatic Rolling Day lines and the 5 Manual Input lines here run completely independently and can be shown together - keep the last few rolling days visible for a short-term picture while also anchoring a Manual line to a specific earnings date or session open.
INTENDED USE
Well suited to short-term futures scalping - Nasdaq futures (NQ/MNQ) and similar instruments. Primarily used on the 1-minute chart, but the rolling VWAP levels hold up just as well on 2, 3, and 5-minute charts and other intraday timeframes, since the anchor logic is independent of your chart's timeframe.
FEATURES
- 10 automatic Rolling Day VWAP lines, each recalculated fresh from "now" every run (via timenow) - no hardcoded dates, so the lines never go stale or need republishing.
- 5 independent Manual Input VWAP lines with full date/time pickers, for anchoring to a specific event, earnings date, or session open.
- Single "Auto Mode Session Start Time (HHMM)" input applies to all 10 rolling lines at once - default 07:00 (Asia/Seoul), aligned with the Nasdaq futures (Globex) 18:00 ET session open during US Daylight Saving Time (shifts to 08:00 KST during US Standard Time - adjust as needed around the DST transition).
- Calendar-day based rolling (not trading-day based) for simple, predictable anchoring - see the author's companion script "Multiday VWAP by Bybllo" if you need trading-day-aware anchoring instead.
- Anchor-point safety guard prevents accumulation before each line's actual start, so no artificial spikes at the anchor bar.
- Optional anchor-start labels (#0-#9, M1-M5) marking exactly where each line begins.
- Works on any chart type (candlestick, Heikin Ashi, Renko, etc.) since prices are pulled via request.security() from the underlying ticker.
This script requires volume data from your data provider. For educational and informational purposes only, not financial advice. Always verify how these levels behave on your specific symbol and timeframe before relying on them for live trading.
Phát hành các Ghi chú
Update: Reworked the anchor-time calculation to use the America/New_York timezone directly instead of Asia/Seoul, with the default "Auto Mode Session Start Time" changed to 1800 (18:00 ET) - matching the Nasdaq futures (Globex) session open exactly. Because Pine Script's named-timezone handling (rather than a fixed offset) is used, this anchor now automatically adjusts for US Eastern/Daylight Time transitions with no manual adjustment needed. The 5 Manual Input defaults were updated to match (18:00 America/New_York). No changes to the VWAP calculation itself or any other inputs.Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.