OPEN-SOURCE SCRIPT
已更新 VW Delta Divergence

This indicator compares multiple Volume Weighted Moving Averages (VWMA) against the VWAP to highlight momentum shifts and potential divergences in price action. It gives traders a unique perspective by measuring volume-sensitive delta values, smoothing optionality, and tracking divergences between price and indicator behavior.
⚙️ How to Use
1. Setup & Interpretation
• Add the indicator to your chart and set your desired VWMA lengths (–). These define how sensitive the deltas are to price and volume fluctuations.
• The indicator plots the average delta between VWMA and VWAP. A positive value indicates that VWMA is above VWAP, suggesting bullish momentum; a negative value suggests bearish sentiment.
2. Visualization Features
• Color-coded average delta line:
• 🟣 Fuchsia when delta is positive (bullish bias)
• 🧊 Aqua when delta is negative (bearish bias)
• Optional histogram mode for visualizing delta strength
• Dynamic opacity scaling helps highlight the intensity of divergence
3. Divergence Detection
• Regular bullish divergence:
• Price forms a lower low
• Average delta forms a higher low
• Regular bearish divergence:
• Price forms a higher high
• Average delta forms a lower high
• These divergences are marked with green ⬆️ and red ⬇️ triangle shapes
4. Additional Momentum Signal
• A 10-period SMA overlays the delta to hint at momentum shifts
• If the SMA crosses the delta, the script triggers an alert condition titled “Momentum Shift Alert”
⚙️ How to Use
1. Setup & Interpretation
• Add the indicator to your chart and set your desired VWMA lengths (–). These define how sensitive the deltas are to price and volume fluctuations.
• The indicator plots the average delta between VWMA and VWAP. A positive value indicates that VWMA is above VWAP, suggesting bullish momentum; a negative value suggests bearish sentiment.
2. Visualization Features
• Color-coded average delta line:
• 🟣 Fuchsia when delta is positive (bullish bias)
• 🧊 Aqua when delta is negative (bearish bias)
• Optional histogram mode for visualizing delta strength
• Dynamic opacity scaling helps highlight the intensity of divergence
3. Divergence Detection
• Regular bullish divergence:
• Price forms a lower low
• Average delta forms a higher low
• Regular bearish divergence:
• Price forms a higher high
• Average delta forms a lower high
• These divergences are marked with green ⬆️ and red ⬇️ triangle shapes
4. Additional Momentum Signal
• A 10-period SMA overlays the delta to hint at momentum shifts
• If the SMA crosses the delta, the script triggers an alert condition titled “Momentum Shift Alert”
發行說明
couple changes, timeframes mainly開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。