OPEN-SOURCE SCRIPT
Elite CVD: context-aware volume delta with divergences

WHAT IT DOES
A cumulative volume delta pane that estimates who is actually in control. Instead of splitting every bar's volume 50/50, the context-aware proxy weights wick volume directionally from candle structure, so a strong-bodied bar with a rejected wick reads the way it traded.
HOW IT WORKS
- Three proxy models: Context-Aware (recommended), Blended, and Classic High-Low — switch and compare.
- CVD resets per session by default (fixed-length and running modes available), so today's line reflects today's flow.
- RVOL weighting amplifies delta on genuinely heavy bars via square-root scaling; spike bars get a dot on the line.
- A four-tier histogram colors per-bar delta by acceleration: bright when pressure is building, dim when it fades.
- Pivot-based divergence detection flags price highs on weakening demand and price lows on weakening supply. Honest note: divergences confirm only after the pivot's right-side bars complete, so the marker appears with that lag, placed on the pivot bar.
HOW TO USE IT
Built for ES/NQ scalping on intraday charts, works anywhere volume is meaningful. Read the line's slope for control, the histogram for urgency, and treat divergences as a warning to tighten up, not an entry by themselves.
WHAT IT CAN'T DO
All volume delta from OHLC data is an estimate — this is a well-built proxy, not tick data. On thin symbols the estimate degrades with the volume.
SETTINGS
Proxy model, reset mode, signal line, display mode, RVOL weighting and spike threshold, divergence pivots, info table, colors.
Open source. Free. If it helps you stop fading real pressure, that's the job.
A cumulative volume delta pane that estimates who is actually in control. Instead of splitting every bar's volume 50/50, the context-aware proxy weights wick volume directionally from candle structure, so a strong-bodied bar with a rejected wick reads the way it traded.
HOW IT WORKS
- Three proxy models: Context-Aware (recommended), Blended, and Classic High-Low — switch and compare.
- CVD resets per session by default (fixed-length and running modes available), so today's line reflects today's flow.
- RVOL weighting amplifies delta on genuinely heavy bars via square-root scaling; spike bars get a dot on the line.
- A four-tier histogram colors per-bar delta by acceleration: bright when pressure is building, dim when it fades.
- Pivot-based divergence detection flags price highs on weakening demand and price lows on weakening supply. Honest note: divergences confirm only after the pivot's right-side bars complete, so the marker appears with that lag, placed on the pivot bar.
HOW TO USE IT
Built for ES/NQ scalping on intraday charts, works anywhere volume is meaningful. Read the line's slope for control, the histogram for urgency, and treat divergences as a warning to tighten up, not an entry by themselves.
WHAT IT CAN'T DO
All volume delta from OHLC data is an estimate — this is a well-built proxy, not tick data. On thin symbols the estimate degrades with the volume.
SETTINGS
Proxy model, reset mode, signal line, display mode, RVOL weighting and spike threshold, divergence pivots, info table, colors.
Open source. Free. If it helps you stop fading real pressure, that's the job.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.