OPEN-SOURCE SCRIPT
VWAP MTF Adaptive Levels

VWAP MTF Adaptive Levels
DESCRIPTION
VWAP MTF Adaptive Levels is a multi-timeframe VWAP indicator designed to provide clear volume-weighted reference levels without covering the candles.
Instead of plotting complete VWAP curves across historical price action, the indicator displays the current levels as short horizontal lines positioned to the right of the latest candle. This keeps the chart clean while preserving the most important VWAP information.
MAIN FEATURES
• Adaptive main VWAP based on the active chart timeframe
• Daily, Weekly and Monthly VWAP reference levels
• Optional ±1, ±2 and ±3 standard-deviation levels
• Short horizontal lines displayed only on the right side
• Exact price displayed next to every level
• BULL/BEAR dashboard
• Fully customizable colors, line width, line length and text size
• Adjustable distance from the latest candle
• Built-in crossover alerts
• America/New_York timezone with automatic daylight-saving adjustment
AUTO ANCHOR MODE
When “Auto” is selected, the VWAP anchor changes automatically:
• Intraday charts → Daily VWAP
• Daily chart → Monthly VWAP
• Weekly chart → Quarterly VWAP
• Monthly chart → Yearly VWAP
BULL/BEAR DASHBOARD
The dashboard provides a simple directional context:
• BULL: price is above the main VWAP
• BEAR: price is below the main VWAP
The dashboard also displays the active chart timeframe, current VWAP anchor and main VWAP price.
The BULL/BEAR status is a market-bias filter and should not be considered a standalone entry signal.
CUSTOMIZATION
Users can independently configure:
• Visible VWAP levels
• Standard-deviation multipliers
• Distance from the latest candle
• Horizontal-line length and thickness
• Solid, dashed or dotted line style
• Price-label size
• Dashboard position and size
• BULL and BEAR colors
• Individual colors for every VWAP level
NOTES
The script does not use request.security() lookahead logic. VWAP values on the open candle update in real time as price and volume change; confirmed historical values remain stable after the candle closes.
VWAP requires volume information. On Forex and CFD symbols, results can vary between brokers because these markets may use tick volume instead of centralized exchange volume.
This indicator was created primarily for XAUUSD analysis, but it can be used on other instruments and timeframes that provide volume data.
Suggested workflow:
• H4/H1 for directional context
• M15/M5 for execution analysis
• Combine VWAP with market structure, liquidity sweeps, PDH/PDL, PWH/PWL, FVG and confirmed break/retest setups
DISCLAIMER
This indicator is intended for educational and analytical purposes only. It does not constitute financial advice or guarantee future results. Always apply independent analysis and appropriate risk management.
TAGS
VWAP, Multi-Timeframe, MTF, Volume, Standard Deviation, XAUUSD, Gold, Intraday, Dashboard, Support and Resistance
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.