PROTECTED SOURCE SCRIPT
CVD with Signals

CVD with Divergences and Alerts (Extended)
This indicator calculates the Cumulative Volume Delta (CVD) to visualize buying and selling pressure, and automatically detects regular and hidden divergences between price and volume flow. It also includes optional alerts for real-time trade signal generation.
Core Logic:
• Cumulative Volume Delta (CVD):
Tracks the cumulative difference between buy and sell volume. Buy volume is defined as volume on bars where the close ≥ open; sell volume when close < open.
This reveals whether real participation supports price direction or not.
• Regular Divergences:
• Bullish Divergence: Price makes a lower low while CVD forms a higher low → potential upward reversal.
• Bearish Divergence: Price makes a higher high while CVD forms a lower high → potential downward reversal.
• Hidden Divergences:
• Hidden Bullish Divergence: Price pulls back to a lower low, but CVD shows strength with a higher high → possible continuation of an uptrend.
• Hidden Bearish Divergence: Price makes a higher high, but CVD weakens → possible continuation of a downtrend.
Features:
• Adjustable lookback period (default: 500 bars).
• Graphical visualization:
• Plots the CVD as a blue line in a separate panel.
• Marks divergences with green (bullish) and red (bearish) triangle shapes on the chart.
• Draws divergence lines between price and CVD for easy visual identification.
• Alerts:
• Configurable alert types (“Buy Only”, “Sell Only”, “Buy and Sell”).
• Sends alerts for all four divergence types (regular + hidden).
Usage:
Ideal for traders who want to detect shifts in volume momentum that precede price reversals or continuations. Works on all timeframes and instruments that provide volume data.
This indicator calculates the Cumulative Volume Delta (CVD) to visualize buying and selling pressure, and automatically detects regular and hidden divergences between price and volume flow. It also includes optional alerts for real-time trade signal generation.
Core Logic:
• Cumulative Volume Delta (CVD):
Tracks the cumulative difference between buy and sell volume. Buy volume is defined as volume on bars where the close ≥ open; sell volume when close < open.
This reveals whether real participation supports price direction or not.
• Regular Divergences:
• Bullish Divergence: Price makes a lower low while CVD forms a higher low → potential upward reversal.
• Bearish Divergence: Price makes a higher high while CVD forms a lower high → potential downward reversal.
• Hidden Divergences:
• Hidden Bullish Divergence: Price pulls back to a lower low, but CVD shows strength with a higher high → possible continuation of an uptrend.
• Hidden Bearish Divergence: Price makes a higher high, but CVD weakens → possible continuation of a downtrend.
Features:
• Adjustable lookback period (default: 500 bars).
• Graphical visualization:
• Plots the CVD as a blue line in a separate panel.
• Marks divergences with green (bullish) and red (bearish) triangle shapes on the chart.
• Draws divergence lines between price and CVD for easy visual identification.
• Alerts:
• Configurable alert types (“Buy Only”, “Sell Only”, “Buy and Sell”).
• Sends alerts for all four divergence types (regular + hidden).
Usage:
Ideal for traders who want to detect shifts in volume momentum that precede price reversals or continuations. Works on all timeframes and instruments that provide volume data.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.