OPEN-SOURCE SCRIPT
ที่อัปเดต: Rolling VWAP Levels

Rolling VWAP Levels Indicator
Overview
Dynamic horizontal lines showing rolling Volume Weighted Average Price (VWAP) levels for multiple timeframes (7D, 30D, 90D, 365D) that update in real-time as new bars form.
Who This Is For
How To Trade With It
Mean Reversion Strategies:
Breakout Trading:
Support/Resistance Trading:
Risk Management:
Key Features
Settings Explained
Technical Implementation
Best Practices
Market Applications
Overview
Dynamic horizontal lines showing rolling Volume Weighted Average Price (VWAP) levels for multiple timeframes (7D, 30D, 90D, 365D) that update in real-time as new bars form.
Who This Is For
- Day traders using VWAP as support/resistance
- Swing traders analyzing multi-timeframe price structure
- Scalpers looking for mean reversion entries
- Options traders needing volatility bands for strike selection
- Institutional traders tracking volume-weighted fair value
- Risk managers requiring dynamic stop levels
How To Trade With It
Mean Reversion Strategies:
- Buy when price is below VWAP and showing bullish divergence
- Sell when price is above VWAP and showing bearish signals
- Use multiple timeframes - enter on shorter, confirm on longer
- Target opposite VWAP level for profit taking
Breakout Trading:
- Watch for price breaking above/below key VWAP levels with volume
- Use 7D VWAP for intraday breakouts
- Use 30D/90D VWAP for swing trade breakouts
- Confirm breakout with move beyond first standard deviation band
Support/Resistance Trading:
- VWAP levels act as dynamic support in uptrends
- VWAP levels act as dynamic resistance in downtrends
- Multiple timeframe VWAP confluence creates stronger levels
- Use standard deviation bands as additional S/R zones
Risk Management:
- Place stops beyond next VWAP level
- Use standard deviation bands for position sizing
- Exit partial positions at VWAP levels
- Monitor distance table for overextended moves
Key Features
- Real-time Updates: Lines move and extend as new bars form
- Individual Styling: Custom colors, widths, styles for each timeframe
- Standard Deviation Bands: Optional volatility bands with custom multipliers
- Smart Labels: Positioned above, below, or diagonally relative to lines
- Distance Table: Shows percentage distance from each VWAP level
- Alert System: Get notified when price crosses VWAP levels
- Memory Efficient: Automatically cleans up old drawing objects
Settings Explained
- Display Group: Show/hide labels, font size, line transparency, positioning
- Individual VWAP Groups: Color, line width (1-5), line style for each timeframe
- Standard Deviation Bands: Enable bands with custom multipliers (0.5, 1.0, 1.5, 2.0, etc.)
- Labels Group: Position (8 options including diagonal), custom text, price display
- Additional Info: Distance table, alert conditions
Technical Implementation
Uses rolling arrays to maintain sliding windows of price*volume data. The core calculation function processes both VWAP and standard deviation efficiently. Lines are created dynamically and updated every bar. Memory management prevents object accumulation through automatic cleanup.
Best Practices
- Start with 7D and 30D VWAP for most strategies
- Add 90D/365D for longer-term context
- Use standard deviation bands when volatility matters
- Position labels to avoid chart clutter
- Enable distance table during high volatility periods
- Set alerts for key VWAP level breaks
Market Applications
- Forex: Major pairs during London/NY sessions
- Stocks: Large cap names with good volume
- Crypto: Bitcoin, Ethereum, major altcoins
- Futures: ES, NQ, CL, GC with continuous volume
- Options: Use SD bands for strike selection and volatility assessment
Release Note
- Ease of Life Fix on the Lower TimeframesRelease Note
- Added Session Vwap LevelsRelease Note
- lolRelease Note
- DPOC VWAP Bug Fix- Development Mode Added
- Band Fills Added
Release Note
- 30D UpdateRelease Note
- Timeframe Display FixRelease Note
- Table fix on 1 mRelease Note
- Quarterly OPEX- Omni Alert
Release Note
- Fixed Alerts IssuesRelease Note
- If You are on Essential Plan , simply disable use aggregated volumeRelease Note
- Fixed Request Security Issue for Users with Low Tier TV SubRelease Note
- Returned Displaying Multiple Vwaps on Same TimeframeRelease Note
- ATR FilterRelease Note
- DPOC Implementation on Higher TimeframesRelease Note
- CleanRelease Note
- Confirmation Mode AddedRelease Note
- OKRelease Note
- TWAPRelease Note
- Cleaner TWAPRelease Note
- MOMORelease Note
- Font UpdateRelease Note
- Updating ImageRelease Note
- Confirmation mode UpdateRelease Note
- StylingRelease Note
- Winter CleaningRelease Note
- Aggregated Volume AnchoringRelease Note
- Confirmation Clean-up Release Note
- Signal Update Release Note
- Signal Clean-up Release Note
- Cleanup and Session Reset Release Note
- Small TouchRelease Note
- Weekly ResetRelease Note
- Newer Pivots ConfirmationRelease Note
- Position SizingRelease Note
- Minor Sizing BugRelease Note
- Tick Chart Support for Session- Body for Pivots
Release Note
- Slight Fix for Body Confirmations Release Note
- Pivot FixRelease Note
- OKRelease Note
- Fixed Race Issue Causing Calculation ErrorRelease Note
- Implemented VWAP Trend SystemRelease Note
- Allowed Monthly Anchoring- Allowed Quarterly Anchoring
- Magnitude Filter Clean-up
Release Note
- Second Trend Release Note
- Fix Trend Alignment Short TrendRelease Note
- Fixed Anchoring for DPOCRelease Note
- PatchedRelease Note
- Allow Signals Trend ConsolidationRelease Note
- Fixed Bug Where every candle produced SignalsRelease Note
- Custom VWAPRelease Note
-some cleanRelease Note
- FixRelease Note
- Exponential Release Note
- Fixed Issue on Tick ChartsRelease Note
- Bar FixRelease Note
- Toggle and Signal FixRelease Note
- Alert Call ConsolidationRelease Note
- Fixed Table Text ColorRelease Note
- Optimization- Session Fix
- Band Trend Anchoring
Release Note
- Label FixRelease Note
- Fast PivotRelease Note
- Lower Timeframe Support for Session VWAPRelease Note
- Major Clean and Purge- Previous Period Ability
Release Note
- Cleanup and toggle for Strict or not retestRelease Note
- Magnitude Filter FixRelease Note
- Allowing session ToggleRelease Note
- Clean-up Plotting Coloring for NARelease Note
- Extra Session VWAPRelease Note
- Tiny CleanupRelease Note
- Fix DPOC Issues for Previous PeriodsRelease Note
- Race Issues and Missing SignalsRelease Note
- Deleted Unnecessary RequestsRelease Note
- added VAสคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน