OPEN-SOURCE SCRIPT
Mis à jour Cumulative Volume Delta (HA Option)

# **📘 Ultimate Guide to Trading With CVD Heikin Ashi (CVD+)**
## **🔍 What This Indicator Shows**
This tool plots **Cumulative Volume Delta (CVD)** as candlesticks—optionally transformed into **Heikin Ashi CVD candles**.
Instead of price, each candle represents the *battle between buyers and sellers* within your chosen timeframe.
**Volume Delta = Buying Volume – Selling Volume**
CVD takes all deltas and stacks them cumulatively, showing who is controlling the auction *over time*.
With Heikin Ashi smoothing layered on top, trend detection becomes cleaner, letting you see the “true pressure” behind price moves.
---
# **💡 Why CVD Is a Game Changer**
Most traders only see price.
Serious traders watch **pressure**.
CVD exposes what price hides:
* Absorption
* Hidden accumulation
* Seller exhaustion
* Fake breakouts
* True reversals
* Momentum strength / weakness
* Smart money footprint
When combined with Heikin-Ashi smoothing, you get delta trends with way less noise and fewer fake flips.
---
# **📈 How to Actually Use It (The Edge)**
## **1. Spot True Trend vs. Fake Trend**
If **price goes up** but **CVD goes down**, that’s:
* Passive sellers absorbing
* A weak rally
* High probability of reversal
If **price pulls back** but **CVD keeps rising**, that’s:
* Secret accumulation
* A continuation setup
* Great dip-buy opportunity
**Rule of thumb:**
🔹 *Follow the CVD trend, not the price noise.*
---
## **2. Catch Reversals Early**
Watch for:
### **🔻 Bearish Reversal Signals**
* CVD makes a **lower high**
* Heikin Ashi CVD prints **red bodies with rising upper shadows**
* Price makes one final push up on low delta
This is classic distribution → the drop usually follows fast.
### **🔹 Bullish Reversal Signals**
* CVD forms a **higher low**
* HA CVD flips from red to green with full bodies
* Price still looks weak = bottom forming
This is exactly how pros catch bottoms early.
---
## **3. Identify Absorption Levels**
If price hits a level multiple times but CVD keeps climbing (or falling), that level is being defended.
Example:
* Price stalls at support
* CVD keeps rising
= **Buyers absorbing sells → high-probability bounce**
Opposite works for resistance.
---
## **4. Validate Breakouts**
A breakout with *weak or negative CVD* is usually a trap.
A breakout with **strong, rising HA CVD** is real.
If CVD diverges from the breakout direction → fade it.
If CVD confirms → ride it.
---
## **5. Use Heikin Ashi to Stay in Trends**
HA smoothing removes the nasty chop of raw delta data.
Look for:
* Consecutive **full-body teal candles = strong buying wave**
* Consecutive **full-body red candles = strong selling wave**
* Small-bodied candles after a trend = momentum dying
This keeps you in winners longer and cuts losers faster.
---
# **🎯 Practical Trading Playbook**
### **A) Long Setup**
1. Price pullback into support
2. CVD stays bullish or makes a higher low
3. HA CVD flips green or prints a strong body
4. Enter long
5. Stop under CVD structural low
### **B) Short Setup**
1. Price pushes into resistance
2. CVD forms bearish divergence
3. HA CVD prints red bodies
4. Enter short
5. Stop above CVD swing high
### **C) Chop Filter**
No clear HA CVD trend = avoid trading → stop donating money to the market.
---
# **🧠 Tips for Mastery**
* Use lower timeframe delta (1m–5m) for scalping entries
* Use a higher anchor timeframe (1D) to define direction
* When price trends but CVD is flat → expect a fakeout
* When CVD trends but price is flat → expect a breakout
* Trade WITH delta, fade AGAINST delta
---
# **⚠️ Important Notes**
* Crypto = full tick-by-tick volume → CVD is extremely accurate
* Stocks = depends on your broker/data vendor
* Futures = best signal-to-noise ratio
* If your symbol has no volume → indicator will warn you
---
# **📥 Recommended Settings**
* **Anchor timeframe**: 1D or 4H
* **Lower timeframe**: 1m, 3m, or 5m
* **Heikin Ashi**: ON for trend filtering, OFF for raw delta
---
# **🔥 Final Word**
Price can lie.
Delta usually doesn’t.
CVD + Heikin Ashi gives you the closest thing to reading the market’s heartbeat in real time.
Use it to confirm breakouts, detect reversals early, identify real trend strength, and avoid getting caught in manipulation.
If you learn to read CVD well…
you stop trading price, and start trading the **intent** behind the price.
## **🔍 What This Indicator Shows**
This tool plots **Cumulative Volume Delta (CVD)** as candlesticks—optionally transformed into **Heikin Ashi CVD candles**.
Instead of price, each candle represents the *battle between buyers and sellers* within your chosen timeframe.
**Volume Delta = Buying Volume – Selling Volume**
CVD takes all deltas and stacks them cumulatively, showing who is controlling the auction *over time*.
With Heikin Ashi smoothing layered on top, trend detection becomes cleaner, letting you see the “true pressure” behind price moves.
---
# **💡 Why CVD Is a Game Changer**
Most traders only see price.
Serious traders watch **pressure**.
CVD exposes what price hides:
* Absorption
* Hidden accumulation
* Seller exhaustion
* Fake breakouts
* True reversals
* Momentum strength / weakness
* Smart money footprint
When combined with Heikin-Ashi smoothing, you get delta trends with way less noise and fewer fake flips.
---
# **📈 How to Actually Use It (The Edge)**
## **1. Spot True Trend vs. Fake Trend**
If **price goes up** but **CVD goes down**, that’s:
* Passive sellers absorbing
* A weak rally
* High probability of reversal
If **price pulls back** but **CVD keeps rising**, that’s:
* Secret accumulation
* A continuation setup
* Great dip-buy opportunity
**Rule of thumb:**
🔹 *Follow the CVD trend, not the price noise.*
---
## **2. Catch Reversals Early**
Watch for:
### **🔻 Bearish Reversal Signals**
* CVD makes a **lower high**
* Heikin Ashi CVD prints **red bodies with rising upper shadows**
* Price makes one final push up on low delta
This is classic distribution → the drop usually follows fast.
### **🔹 Bullish Reversal Signals**
* CVD forms a **higher low**
* HA CVD flips from red to green with full bodies
* Price still looks weak = bottom forming
This is exactly how pros catch bottoms early.
---
## **3. Identify Absorption Levels**
If price hits a level multiple times but CVD keeps climbing (or falling), that level is being defended.
Example:
* Price stalls at support
* CVD keeps rising
= **Buyers absorbing sells → high-probability bounce**
Opposite works for resistance.
---
## **4. Validate Breakouts**
A breakout with *weak or negative CVD* is usually a trap.
A breakout with **strong, rising HA CVD** is real.
If CVD diverges from the breakout direction → fade it.
If CVD confirms → ride it.
---
## **5. Use Heikin Ashi to Stay in Trends**
HA smoothing removes the nasty chop of raw delta data.
Look for:
* Consecutive **full-body teal candles = strong buying wave**
* Consecutive **full-body red candles = strong selling wave**
* Small-bodied candles after a trend = momentum dying
This keeps you in winners longer and cuts losers faster.
---
# **🎯 Practical Trading Playbook**
### **A) Long Setup**
1. Price pullback into support
2. CVD stays bullish or makes a higher low
3. HA CVD flips green or prints a strong body
4. Enter long
5. Stop under CVD structural low
### **B) Short Setup**
1. Price pushes into resistance
2. CVD forms bearish divergence
3. HA CVD prints red bodies
4. Enter short
5. Stop above CVD swing high
### **C) Chop Filter**
No clear HA CVD trend = avoid trading → stop donating money to the market.
---
# **🧠 Tips for Mastery**
* Use lower timeframe delta (1m–5m) for scalping entries
* Use a higher anchor timeframe (1D) to define direction
* When price trends but CVD is flat → expect a fakeout
* When CVD trends but price is flat → expect a breakout
* Trade WITH delta, fade AGAINST delta
---
# **⚠️ Important Notes**
* Crypto = full tick-by-tick volume → CVD is extremely accurate
* Stocks = depends on your broker/data vendor
* Futures = best signal-to-noise ratio
* If your symbol has no volume → indicator will warn you
---
# **📥 Recommended Settings**
* **Anchor timeframe**: 1D or 4H
* **Lower timeframe**: 1m, 3m, or 5m
* **Heikin Ashi**: ON for trend filtering, OFF for raw delta
---
# **🔥 Final Word**
Price can lie.
Delta usually doesn’t.
CVD + Heikin Ashi gives you the closest thing to reading the market’s heartbeat in real time.
Use it to confirm breakouts, detect reversals early, identify real trend strength, and avoid getting caught in manipulation.
If you learn to read CVD well…
you stop trading price, and start trading the **intent** behind the price.
Notes de version
The Elite Cumulative Volume Delta is a powerful, upgraded volume delta tool designed for precision order flow analysis on TradingView. Originally focused solely on Heikin-Ashi delta candles, this version introduces a highly effective Line-Focused Mode with true session-resettable Cumulative Volume Delta (CVD), dual EMAs, dynamic coloring, absorption detection, session extremes, divergences, and more.This indicator helps traders identify institutional buying/selling pressure, potential reversals, absorption, and divergence setups with exceptional clarity. It works best on futures (ES, NQ, crypto perpetuals, etc.) or any market with reliable volume delta data.
Key Upgrades from the Original Heikin-Ashi Version
Dual Visualization Modes:
Delta Candles Mode — Retains classic Heikin-Ashi delta candles (smoothed for trend visibility).
Line-Focused Mode (recommended for most users) — Plots a clean, session-resettable CVD line with advanced overlays and signals.
True Session-Reset CVD — CVD resets cleanly at the start of each anchor period (default: daily), avoiding carry-over bias from previous sessions.
Dual EMA Overlay — Fast and slow EMAs on the CVD line for trend and crossover signals.
Dynamic & Extreme Bar Coloring — Highlights strong delta momentum and outlier bars.
Absorption Score — Quantifies potential exhaustion/absorption at key levels.
Session CVD Extremes & Test Zones — Tracks and highlights session highs/lows with retest zones.
Regular + Hidden Divergences — Automatic detection on CVD vs. price.
Multiple Alert Conditions — For resets, zero crosses, new extremes, etc.
Core Concept: Cumulative Volume Delta
Volume Delta measures the difference between aggressive buying volume (at ask) and aggressive selling volume (at bid) for each bar.
CVD = Running total of delta across bars.
Positive CVD → Net aggressive buying pressure.
Negative CVD → Net aggressive selling pressure.
When CVD diverges from price or shows exhaustion, it often signals smart money accumulation/distribution ahead of reversals.
Visualization Modes Explained
1. Delta Candles Mode
Plots Heikin-Ashi candles based on volume delta (open/high/low/close derived from delta data).
Green candles → Positive closing delta (buying pressure).
Red candles → Negative closing delta (selling pressure).
Ideal for quick visual scanning of intra-session delta trends.
Behaves similarly to the original indicator.
2. Line-Focused Mode (Primary Upgrade)
Plots a continuous CVD line that resets at the start of each anchor period (e.g., daily session).
Overlays:
Fast EMA (default 20, yellow) — Responsive to recent delta shifts.
Slow EMA (default 50, purple) — Smoother long-term delta trend.
CVD Line Coloring:
Orange → Normal momentum.
Bright Lime/Red → Strong delta acceleration (based on lookback strength).
Intense Lime/Red → Extreme single-bar delta (95th percentile by default).
Best for precise tracking of cumulative buying/selling within the session.
Key Features & How to Interpret Them
Dual EMA on CVD (Line-Focused Mode)
Bullish Signals:
Fast EMA crosses above Slow EMA.
Both EMAs sloping up and above zero.
Bearish Signals:
Fast EMA crosses below Slow EMA.
Both EMAs sloping down and below zero.
Zero Line Context:
CVD above zero + upward EMA slope → Sustained buying.
CVD below zero + downward EMA slope → Sustained selling.
Dynamic & Extreme Bar Coloring
Detects when current delta momentum significantly exceeds recent average.
Extreme bars (top 5% by volume delta magnitude) highlight potential "climax" buying or selling.
Use these as warning signs of possible exhaustion or continuation.
Absorption Score
Quantifies how effectively price is "absorbing" aggressive volume at extremes.
Higher score (default threshold 75+) when:
Large delta volume occurs.
But price closes poorly relative to the direction of aggression (e.g., heavy buying but price closes near lows → potential absorption by sellers).
Blue background + label → Buying absorption (potential bullish reversal).
Orange background + label → Selling absorption (potential bearish reversal).
Excellent for spotting trap moves or stopping volume.
Session CVD Extremes & Test Zones
Tracks the highest and lowest CVD values within the current session.
Draws persistent horizontal lines at session high (green) and low (red).
Highlights a configurable "test zone" (default 5% of range) around extremes with semi-transparent background.
Retests of these zones often act as support/resistance for delta flow → watch for failure or hold.
Divergence Detection
Regular Bullish — Price makes lower low, CVD makes higher low → "Bull Div" label.
Regular Bearish — Price makes higher high, CVD makes lower high → "Bear Div" label.
Hidden Bullish — Price makes higher high, CVD makes even higher high → "Bull Hid" (trend continuation).
Hidden Bearish — Price makes lower low, CVD makes even lower low → "Bear Hid".
Pivots use 5-left/5-right configuration for reliable detection.
General Best Practices:
Combine with Price Action — CVD shines when confirming/supporting structure (support/resistance, trendlines, order blocks).
Multi-Timeframe Alignment — Use higher timeframe CVD trend to bias lower timeframe entries.
Avoid Choppy Markets — Delta signals weaken in low-volume/range-bound conditions.
Risk Management First — No indicator is infallible. Always use proper position sizing, stops, and confirm with price.
This Elite CVD+ transforms raw volume delta into a professional-grade order flow tool. The Line-Focused Mode with session reset and layered signals provides elite-level insight into who is truly in control — buyers or sellers.
Trade smart, stay disciplined, and let the delta guide your edge.
Disclaimer: This indicator is for educational purposes only and does not constitute financial advice. Always conduct your own research and manage risk appropriately.
Notes de version
I adjusted the transparency of the labels so that they don't block the readability of the candles or linesScript open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.