OPEN-SOURCE SCRIPT
تم تحديثه

Multiday Anchored Auto VWAP by Bybllo

1 599
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.
ملاحظات الأخبار
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.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.