PROTECTED SOURCE SCRIPT
VWAP Divergence Levels

This is an indicator which paints levels on your chart based on degrees of historical divergence from VWAP. I conceived and designed it for my personal use trading index funds (QQQ, SPY) on the NYSE. It is one of the primary indicators I use on a daily basis, and may be of interest to traders with a focus on volume.
This indicator works by tracking, each session, the maximum amount that price diverges from VWAP that day. The lookback period is locked to 21 days, or about 1 month's worth of trading days. Bearish and bullish divergences are tracked separately.
From this data, we take the average of all maximum daily bullish divergences (the "Mean Bull" divergence amount), and paint that line relative to the current VWAP. In other words, if the VWAP for the current bar is at $2.50 and the Mean Bull divergence is $0.40, the line will be painted at $2.90. The largest value from the lookback period ("Max Bull") is also painted. The same is done for bearish divergences.
Finally, midpoints between the VWAP and the Mean and Max levels are drawn. Optionally, quarter-levels are drawn in the spaces between Mean and VWAP.
When I created this indicator, I found that price very often responds and retraces around these levels, allowing me to more easily visualize the relationship between price and volume. Personally, I have found it useful for finding entrance and exit points-- especially when the levels coincide with important previous daily levels, or other support/resistance points.
Good luck & happy trading.
Disclaimer: Use at your own risk. This indicator and the strategy described herein are not in any way financial advice, nor does the author of this script make any claims about the effectiveness of this indicator or of any related strategy, which may depend highly on the discretion and skill of the trader executing it, among many other factors outside of the author's control. The author of this script accepts no liability, and is not responsible for any trading decisions that you may or may not make as a result of this indicator. You should expect to lose money if using this indicator.
This indicator works by tracking, each session, the maximum amount that price diverges from VWAP that day. The lookback period is locked to 21 days, or about 1 month's worth of trading days. Bearish and bullish divergences are tracked separately.
From this data, we take the average of all maximum daily bullish divergences (the "Mean Bull" divergence amount), and paint that line relative to the current VWAP. In other words, if the VWAP for the current bar is at $2.50 and the Mean Bull divergence is $0.40, the line will be painted at $2.90. The largest value from the lookback period ("Max Bull") is also painted. The same is done for bearish divergences.
Finally, midpoints between the VWAP and the Mean and Max levels are drawn. Optionally, quarter-levels are drawn in the spaces between Mean and VWAP.
When I created this indicator, I found that price very often responds and retraces around these levels, allowing me to more easily visualize the relationship between price and volume. Personally, I have found it useful for finding entrance and exit points-- especially when the levels coincide with important previous daily levels, or other support/resistance points.
Good luck & happy trading.
Disclaimer: Use at your own risk. This indicator and the strategy described herein are not in any way financial advice, nor does the author of this script make any claims about the effectiveness of this indicator or of any related strategy, which may depend highly on the discretion and skill of the trader executing it, among many other factors outside of the author's control. The author of this script accepts no liability, and is not responsible for any trading decisions that you may or may not make as a result of this indicator. You should expect to lose money if using this indicator.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。