OPEN-SOURCE SCRIPT
CVD Table + Alerts

📌 Overview
CVD Table + Alerts is a pure order-flow indicator designed to track real buying and selling pressure using Cumulative Volume Delta (CVD).
It highlights momentum shifts and institutional participation through precise, non-repainting alerts, without cluttering your chart with unnecessary visuals.
This indicator does not predict price — it reveals what large participants are actually doing.
🔍 What This Indicator Does
1️⃣ Cumulative Volume Delta (CVD)
Calculates CVD by separating volume into:
Buying volume (close ≥ open)
Selling volume (close < open)
Accumulates this data to show net demand vs supply over time.
This allows traders to see:
Whether moves are sponsored or weak
If price is rising on real buying or just drifting
2️⃣ CVD Flip Detection (Momentum Shift)
The indicator detects when:
CVD changes direction from the previous candle
This represents:
Shift from buyers → sellers
OR sellers → buyers
👉 Acts as an early warning signal before visible price structure changes like ChoCH or BOS.
3️⃣ CVD Burst Detection (Institutional Activity)
A CVD Burst alert triggers when:
The current CVD delta is abnormally large compared to recent averages
This typically signals:
Aggressive market orders
Institutional participation
Potential trend ignition
🔔 Alerts (Exact & Reliable)
This indicator generates only two alert types:
🔹 CVD Flip Alert
Triggered when order-flow direction changes.
CVD Flip! CVD: <value> | Δ: <delta> | Direction: ↑ / ↓
🔹 CVD Burst Alert
Triggered when sudden volume imbalance appears.
CVD Burst! CVD: <value> | Δ: <delta> | Direction: ↑ / ↓
Alert Behavior
✅ Fires only on candle close
✅ No repainting
✅ No historical spam
✅ One alert per bar maximum
📊 CVD Table (At-a-Glance Insight)
The built-in table shows:
Recent volume
CVD values
Delta direction (↑ / ↓)
Percentage change
Highlights major bull/bear deltas
This gives traders instant context without switching indicators.
🎯 How Traders Benefit
This indicator is best used as a confirmation and context tool, not a standalone strategy.
Ideal Use Cases:
Confirm ChoCH / BOS
Validate EMA-based trend direction
Filter false breakouts at S/R, Gann, Fib, VWAP
Identify trend days vs range days
Spot divergence between price and participation
Best Paired With:
EMA / trend filters
Market structure (ChoCH, BOS)
Support & Resistance
ATR / volatility analysis
⚠️ Important Notes
This is not a buy/sell signal generator
Designed for discretionary traders
Works best in liquid markets (indices, large caps, crypto majors)
🧠 Trading Philosophy
Price shows where it moved.
CVD shows who moved it.
This indicator helps you trade with participation, not hope.
CVD Table + Alerts is a pure order-flow indicator designed to track real buying and selling pressure using Cumulative Volume Delta (CVD).
It highlights momentum shifts and institutional participation through precise, non-repainting alerts, without cluttering your chart with unnecessary visuals.
This indicator does not predict price — it reveals what large participants are actually doing.
🔍 What This Indicator Does
1️⃣ Cumulative Volume Delta (CVD)
Calculates CVD by separating volume into:
Buying volume (close ≥ open)
Selling volume (close < open)
Accumulates this data to show net demand vs supply over time.
This allows traders to see:
Whether moves are sponsored or weak
If price is rising on real buying or just drifting
2️⃣ CVD Flip Detection (Momentum Shift)
The indicator detects when:
CVD changes direction from the previous candle
This represents:
Shift from buyers → sellers
OR sellers → buyers
👉 Acts as an early warning signal before visible price structure changes like ChoCH or BOS.
3️⃣ CVD Burst Detection (Institutional Activity)
A CVD Burst alert triggers when:
The current CVD delta is abnormally large compared to recent averages
This typically signals:
Aggressive market orders
Institutional participation
Potential trend ignition
🔔 Alerts (Exact & Reliable)
This indicator generates only two alert types:
🔹 CVD Flip Alert
Triggered when order-flow direction changes.
CVD Flip! CVD: <value> | Δ: <delta> | Direction: ↑ / ↓
🔹 CVD Burst Alert
Triggered when sudden volume imbalance appears.
CVD Burst! CVD: <value> | Δ: <delta> | Direction: ↑ / ↓
Alert Behavior
✅ Fires only on candle close
✅ No repainting
✅ No historical spam
✅ One alert per bar maximum
📊 CVD Table (At-a-Glance Insight)
The built-in table shows:
Recent volume
CVD values
Delta direction (↑ / ↓)
Percentage change
Highlights major bull/bear deltas
This gives traders instant context without switching indicators.
🎯 How Traders Benefit
This indicator is best used as a confirmation and context tool, not a standalone strategy.
Ideal Use Cases:
Confirm ChoCH / BOS
Validate EMA-based trend direction
Filter false breakouts at S/R, Gann, Fib, VWAP
Identify trend days vs range days
Spot divergence between price and participation
Best Paired With:
EMA / trend filters
Market structure (ChoCH, BOS)
Support & Resistance
ATR / volatility analysis
⚠️ Important Notes
This is not a buy/sell signal generator
Designed for discretionary traders
Works best in liquid markets (indices, large caps, crypto majors)
🧠 Trading Philosophy
Price shows where it moved.
CVD shows who moved it.
This indicator helps you trade with participation, not hope.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.