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 abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.