PROTECTED SOURCE SCRIPT

YBL – Tick CVD PRO (CVD + Precio Normalizado + Divergencias)

73
YBL – Tick CVD PRO (CVD + Normalized Price + Divergences)

YBL – Tick CVD PRO is a tick-based Cumulative Volume Delta engine that plots CVD and a normalized price curve in the same panel, making it easy to see when price and aggression are aligned or diverging.

The script is designed for intraday order-flow traders who want to see where real buying/selling pressure is coming in, where it is fading, and where price is moving without confirmation from CVD.



🔧 Core features
• Tick CVD calculation
• Cumulative Volume Delta per bar, with two modes:
• volume × price change (more sensitive to small rotations), or
• absolute volume by candle color (+vol/-vol depending on bullish/bearish candle).
• Option to accumulate CVD only inside a custom session (e.g. 09:30–16:00).
• Normalized price overlay
• Price is normalized into the same vertical range as CVD over a lookback window, so you can:
• Confirm trends when price and CVD make new highs/lows together.
• Spot traps/exhaustion when price prints extremes without CVD confirmation.
• Two visual styles
• Choose between line mode or candle mode for both CVD and normalized price.
• Aesthetic vs Efficient visual presets to control opacity and clarity depending on style/performance.
• Adaptive moving averages
• Independent MAs for CVD and normalized price:
• WMA, HMA, SMA, EMA or None.
• Optional:
• Color by MA type.
• Thicker MA when the slope is positive, to quickly see acceleration vs flattening.
• Key levels & dots
• Automatic pivot highs/lows on CVD and normalized price, extended to the right as dotted levels.
• Optional dots on both curves, with the ability to show the numerical values as labels.
• HH/LL divergences
• Bearish divergence: price makes a higher high while CVD fails to confirm → “🔻Bear Div”.
• Bullish divergence: price makes a lower low while CVD fails to confirm → “🔺Bull Div”.
• Pivot lengths are fully configurable, and you can hide/show the divergence labels.
• Session-aware logic
• Custom session input (09:30–16:00 by default).
• Option to accumulate CVD only inside that session, which helps to reset and focus on the active trading day.
• Alerts
• CVD crossing above/below its own MA (momentum shift in delta).
• Automatic bullish and bearish divergences.
You can use these alerts for notifications or to feed more complex strategy logic.
• Quick header
• On the last bar the script prints a compact header with:
• Current CVD value + direction arrow.
• Current last price (normalized) + direction arrow.



📈 How to use it
• Confirm breakouts and trend legs when both price and CVD push in the same direction and both make new extremes.
• Detect traps, absorption and fading moves when price pushes to new highs/lows but CVD is flat or diverging.
• Use the MA slope of CVD + price as a bias filter: I prefer to trade in the direction of both MAs when they agree.



⚠️ Disclaimer
This script is for educational and analytical purposes only and does not constitute financial advice. Always do your own research and manage your risk.

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.