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.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน