OPEN-SOURCE SCRIPT
VWAPxLevels - OnlyFlow

VWAPxLevels is a comprehensive VWAP-based indicator that combines real-time intraday volume-weighted average price calculations with previous-day reference levels. It's designed for traders who use VWAP and standard deviation bands as key support/resistance zones, with special offset functionality optimized for futures contracts like ES (E-mini S&P 500) and NQ (E-mini Nasdaq).
Key Features
Intraday VWAP with Triple Deviation Band Groups
The indicator plots the current session's VWAP along with three independently configurable groups of standard deviation bands:
Group 1 bands (default 1.0 stdev) for the inner mean-reversion zone
Group 2 bands (default 2.03 stdev) for moderate price extension zones
Group 3 bands (default 2.53 stdev) for extreme price extension zones
Each group can be toggled on or off and adjusted independently, giving you full control over which volatility layers are visible.
Previous Day Reference Levels
Automatically captures and plots the final values from the prior session:
Previous day's closing VWAP
Previous day's Group 1 upper and lower bands
Previous day's Group 2 upper and lower bands
Previous day's Group 3 upper and lower bands
These persistent levels often act as significant magnets and reaction zones in the current session.
Smart Offset Mode for Futures
A unique feature that applies preset offsets to previous-day levels, useful when trading correlated instruments or accounting for overnight gaps:
ES Mode: Applies a 0.5 point offset
NQ Mode: Applies a 2.5 point offset
None: Uses raw VWAP close values
When an offset mode is active, the indicator plots both upper and lower offset variations of the previous day's VWAP and all three deviation band groups, creating bracketed zones around each key level.
How to Use
The intraday VWAP serves as the session's mean price. Group 1 bands highlight the inner volatility envelope where price typically oscillates around fair value, while Group 2 and Group 3 bands identify progressively more extreme reversal or breakout zones. The previous day levels provide context from the prior session, helping identify areas where price has historically reacted. Use the offset mode when you want to create wider reaction zones or when trading futures contracts where slight adjustments to reference levels improve accuracy.
Customization
All three band groups and previous-day plots can be toggled independently through the input panel, letting you display only the levels relevant to your strategy. Deviation multipliers are fully adjustable to match your preferred volatility settings.
Best For
Day traders, scalpers, and futures traders who rely on VWAP-based mean reversion or breakout strategies and want layered volatility zones plus previous session reference levels integrated into a single clean indicator.
Key Features
Intraday VWAP with Triple Deviation Band Groups
The indicator plots the current session's VWAP along with three independently configurable groups of standard deviation bands:
Group 1 bands (default 1.0 stdev) for the inner mean-reversion zone
Group 2 bands (default 2.03 stdev) for moderate price extension zones
Group 3 bands (default 2.53 stdev) for extreme price extension zones
Each group can be toggled on or off and adjusted independently, giving you full control over which volatility layers are visible.
Previous Day Reference Levels
Automatically captures and plots the final values from the prior session:
Previous day's closing VWAP
Previous day's Group 1 upper and lower bands
Previous day's Group 2 upper and lower bands
Previous day's Group 3 upper and lower bands
These persistent levels often act as significant magnets and reaction zones in the current session.
Smart Offset Mode for Futures
A unique feature that applies preset offsets to previous-day levels, useful when trading correlated instruments or accounting for overnight gaps:
ES Mode: Applies a 0.5 point offset
NQ Mode: Applies a 2.5 point offset
None: Uses raw VWAP close values
When an offset mode is active, the indicator plots both upper and lower offset variations of the previous day's VWAP and all three deviation band groups, creating bracketed zones around each key level.
How to Use
The intraday VWAP serves as the session's mean price. Group 1 bands highlight the inner volatility envelope where price typically oscillates around fair value, while Group 2 and Group 3 bands identify progressively more extreme reversal or breakout zones. The previous day levels provide context from the prior session, helping identify areas where price has historically reacted. Use the offset mode when you want to create wider reaction zones or when trading futures contracts where slight adjustments to reference levels improve accuracy.
Customization
All three band groups and previous-day plots can be toggled independently through the input panel, letting you display only the levels relevant to your strategy. Deviation multipliers are fully adjustable to match your preferred volatility settings.
Best For
Day traders, scalpers, and futures traders who rely on VWAP-based mean reversion or breakout strategies and want layered volatility zones plus previous session reference levels integrated into a single clean indicator.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。