OPEN-SOURCE SCRIPT
CVD Divergenz System – modular with Exchange + Labels

A smart volume-based strategy tool using CVD divergence, ATR-based risk management, and Open Interest filters — now with visual chart labels and exchange switching.
Designed for crypto traders who want precise entry signals, volume insight, and a clean UI.
🔍 Key Features:
✅ CVD Divergence Detection
Automatically detects bullish or bearish divergences between price and cumulative delta (CVD)
✅ Open Interest Logic (Simulated)
Signals are only valid when OI is rising – otherwise a warning is issued
✅ ATR-Based Entry, Stop & Target Zones
Auto-calculated based on your chosen R multiple (e.g., 1.5R), plotted in the chart
✅ Visual Dashboard Panel (table)
Compact panel with CVD, OI change, ATR, signal status, and selected exchange — always visible in top-right
✅ Exchange Selector + Fallback to Binance
Choose between Binance, Bybit, Bitget, or Coinbase — if data is unavailable, Binance is used automatically
✅ Modular Chart Labels
Optionally display 📈 LONG, 📉 SHORT or ⚠️ WARNING labels directly on the chart with a toggle
✅ Alerts Built-In
Get notified instantly when a setup triggers (long, short, or warning) — works with app, popup, or webhook
✅ Fully Modular Controls
Enable or disable the dashboard, trade zones, and labels via simple checkboxes
⚠️ Technical Notes:
CVD is calculated from delta volume (volume * sign(close - open)) — not true order flow
Open Interest is simulated using volume as a placeholder (due to Pine Script limitations)
Best suited for 5–30min timeframes on crypto futures pairs like BTCUSDT, ETHUSDT, etc.
💡 Pro Tips:
Use near key support/resistance zones or liquidity levels
Combine with price action and higher timeframe confluence
Alerts work best with "Once Per Bar Close" trigger setting
📈 Built to support faster decisions, cleaner setups, and institutional-level insights — all in one tool.
Designed for crypto traders who want precise entry signals, volume insight, and a clean UI.
🔍 Key Features:
✅ CVD Divergence Detection
Automatically detects bullish or bearish divergences between price and cumulative delta (CVD)
✅ Open Interest Logic (Simulated)
Signals are only valid when OI is rising – otherwise a warning is issued
✅ ATR-Based Entry, Stop & Target Zones
Auto-calculated based on your chosen R multiple (e.g., 1.5R), plotted in the chart
✅ Visual Dashboard Panel (table)
Compact panel with CVD, OI change, ATR, signal status, and selected exchange — always visible in top-right
✅ Exchange Selector + Fallback to Binance
Choose between Binance, Bybit, Bitget, or Coinbase — if data is unavailable, Binance is used automatically
✅ Modular Chart Labels
Optionally display 📈 LONG, 📉 SHORT or ⚠️ WARNING labels directly on the chart with a toggle
✅ Alerts Built-In
Get notified instantly when a setup triggers (long, short, or warning) — works with app, popup, or webhook
✅ Fully Modular Controls
Enable or disable the dashboard, trade zones, and labels via simple checkboxes
⚠️ Technical Notes:
CVD is calculated from delta volume (volume * sign(close - open)) — not true order flow
Open Interest is simulated using volume as a placeholder (due to Pine Script limitations)
Best suited for 5–30min timeframes on crypto futures pairs like BTCUSDT, ETHUSDT, etc.
💡 Pro Tips:
Use near key support/resistance zones or liquidity levels
Combine with price action and higher timeframe confluence
Alerts work best with "Once Per Bar Close" trigger setting
📈 Built to support faster decisions, cleaner setups, and institutional-level insights — all in one tool.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.