Cumulative Volume Delta Divergence
systemic:core-cvddIndicatorsInputs
| Name | Type | Description |
|---|---|---|
| Volume | Number series | The trading volume for each bar: the number of shares, contracts, or units traded. |
| Delta | Number series | The price change within each bar, typically calculated as **Close - Open**. |
Outputs
| Name | Type | Description |
|---|---|---|
| Cvdd | Number series | The running total of volume × delta, one value per bar. |
Cost
0.2 + 0.00595·n credits for n bars, rounded up. The marks are each plan's limit of bars.
The Cumulative Volume Delta module computes a running total of volume-weighted price changes. It shows the net buying and selling pressure over time. Traders use it to spot divergences between price and volume, which often come before trend reversals.
The Core Formula
CVDD multiplies each bar's volume by its price change (delta), then adds these values up:
Where:
- is the trading volume at bar
- (the price change within that bar)
Calculation Flow
flowchart LR
V["Volume Data"] --> M["Multiply"]
D["Delta (Close - Open)"] --> M
M --> C["Cumulative Sum"]
C --> CVD["CVD Output"]
Each bar's contribution tells us:
- Positive: Close > Open and high volume → Strong buying pressure added
- Negative: Close < Open and high volume → Strong selling pressure added
- Near zero: Either small price change or low volume → Minimal impact
Missing Bars
A bar with no volume or delta value (a closed market, a data gap) adds nothing. It is skipped, not treated as a zero-volume bar, and the output is empty on that bar. The running total continues from its last value on the next bar with data. A gap therefore shifts the level but does not reset it: the CVD level only has meaning relative to its own history, and a gap does not distort the trend that follows it.
Understanding the Output
The CVDD output is a continuous line that represents net accumulated buying/selling pressure:
| CVD Trend | Interpretation |
|---|---|
| Rising | Buyers are in control—volume is supporting upward price moves |
| Falling | Sellers are dominant—volume is confirming downward pressure |
| Flat | Equilibrium—buyers and sellers roughly balanced |
| Rising while price falls | Hidden accumulation—potential bullish reversal |
| Falling while price rises | Hidden distribution—potential bearish reversal |
The last two scenarios are CVD divergences, the most useful signals this indicator gives.
Spotting Divergences
Divergence occurs when CVD and price move in opposite directions. In Systemic, you can detect divergences by:
- Smoothing a price series and the CVDD output, for example with a moving average
- Connecting both to a Correlation Coefficient module
- Looking for bars where the correlation is low or negative
flowchart TD
subgraph Inputs["Data Sources"]
Price["Price (Close)"]
Vol["Volume"]
Delta["Delta (Close - Open)"]
end
subgraph CVDD["CVDD Calculation"]
CVDMod["CVDD Module"]
end
subgraph Analysis["Divergence Detection"]
MA1["SMA of Price"]
MA2["SMA of CVD"]
Corr["Correlation"]
end
Vol --> CVDMod
Delta --> CVDMod
Price --> MA1
CVDMod --> MA2
MA1 --> Corr
MA2 --> Corr
Corr --> Signal["Divergence Signal: Low/Negative Correlation"]
Divergence Types
| Type | Price Action | CVD Action | Signal |
|---|---|---|---|
| Bullish Divergence | Making lower lows | Making higher lows | Potential upward reversal |
| Bearish Divergence | Making higher highs | Making lower highs | Potential downward reversal |
| Bullish Hidden | Making higher lows | Making lower lows | Continuation of uptrend |
| Bearish Hidden | Making lower highs | Making higher highs | Continuation of downtrend |
Why Volume Matters
Price tells you what happened. Volume tells you how committed the market is to that move.
Consider two identical 5% price increases:
- Scenario A: On 10× average volume → Strong conviction, likely sustainable
- Scenario B: On 0.5× average volume → Weak conviction, possibly a trap
CVD captures this difference by weighting each price move by its volume. A rally on declining CVD warns that fewer participants are driving the move—a classic distribution pattern seen before reversals.
Practical Applications
1. Breakout Confirmation
When price breaks through resistance, check CVD:
- CVD rising with breakout → Genuine breakout with volume support
- CVD flat or falling → Potential false breakout—wait for confirmation
2. Accumulation/Distribution Detection
Smart money often accumulates positions during ranges:
- Range-bound price + Rising CVD → Accumulation (bullish)
- Range-bound price + Falling CVD → Distribution (bearish)
3. Trend Strength Assessment
During established trends:
- Price trending up + CVD trending up → Healthy trend
- Price trending up + CVD flattening → Trend losing steam
Cryptocurrency Considerations
In crypto markets, CVD has unique characteristics:
| Factor | Implication |
|---|---|
| 24/7 markets | CVD accumulates continuously without overnight gaps |
| High volatility | Larger absolute CVD swings; consider normalizing |
| Wash trading | On some exchanges, volume may be inflated—use trusted data sources |
| Low liquidity altcoins | CVD can be distorted by single large orders |
For reliable crypto CVD analysis:
- Use aggregated volume from reputable exchanges
- Compare CVD patterns across multiple exchanges
- Focus on major pairs (BTC, ETH) where volume data is more trustworthy
Advantages and Limitations
Advantages
- Volume insight: Reveals commitment behind price moves
- Divergence detection: Early warning of potential reversals
- Universal applicability: Works on any asset with volume data
- No parameters: Simple to compute, no lookback window to optimize
Limitations
- Lagging by nature: Cumulative indicators smooth but also delay signals
- Depends on volume quality: Unreliable volume gives an unreliable CVD
- No magnitude threshold: Doesn't tell you how much divergence is significant
- Open/Close simplification: Uses one delta per bar; price moves inside the bar are lost
Comparison with Related Indicators
| Indicator | What It Measures | Key Difference |
|---|---|---|
| CVD (CVDD) | Cumulative volume × price change | Weights volume by direction and magnitude |
| OBV (On-Balance Volume) | Cumulative volume by direction | Binary: adds all volume or subtracts all |
| Accumulation/Distribution | Volume × close position in range | Considers where close falls within high-low range |
| Money Flow Index | RSI of typical price × volume | Oscillator bounded 0-100, mean-reverting |
CVDD offers a middle ground: more nuanced than OBV's binary approach, but simpler than indicators requiring high/low data.
Data Alignment in Systemic
When connecting inputs to the CVDD module, Systemic automatically aligns your data:
| Scenario | Volume Source | Delta Source | Behavior |
|---|---|---|---|
| Both from same source | BTC 1H volume | BTC 1H delta | Direct calculation |
| Different periods | BTC 1H volume | BTC 15m delta | The 1H values are repeated on the 15m bars |
| Different history lengths | 100 bars | 150 bars | The shorter series is not extended; bars with a missing value give an empty output |
Critical Note
The Volume and Delta inputs must cover the same bars. If you connect volume from one asset and delta from another, or use different periods, the output is a number with no useful meaning.
Indicator Assessment
%%{init: {"themeVariables": {"cScale0": "#4F46E5", "cScale1": "#059669"}}}%%
quadrantChart
title CVD Indicator Assessment
x-axis Low --> High
y-axis Low --> High
quadrant-1 High Popularity & Reliability
quadrant-2 High Reliability & Low Popularity
quadrant-3 Low Reliability & Popularity
quadrant-4 High Popularity & Low Reliability
"Traditional Markets": [0.70, 0.80]
"Cryptocurrency": [0.60, 0.55]
| Dimension | Stocks/Macro | Crypto | Explanation |
|---|---|---|---|
| Popularity | ⭐⭐⭐⭐ | ⭐⭐⭐ | Well-established in futures and equity trading. Gaining traction in crypto but less universal than basic volume analysis. |
| Reliability | ⭐⭐⭐⭐ | ⭐⭐⭐ | Reliable with quality exchange data. Crypto reliability varies significantly by exchange and asset. |
| Complexity | ⭐⭐ | ⭐⭐ | Simple cumulative calculation, but requires understanding of volume-price relationships for proper interpretation. |
| Versatility | ⭐⭐⭐⭐ | ⭐⭐⭐⭐ | Applicable across periods and asset classes. Works best on liquid instruments with reliable volume. |
| Recent Interest | ⭐⭐⭐ | ⭐⭐⭐⭐ | Steady interest in traditional markets. Growing crypto adoption as traders seek institutional-grade volume analysis. |
Further Reading
- LuxAlgo: Cumulative Volume Delta Explained
- TradingView: Cumulative Volume Delta
- Investopedia: On-Balance Volume
- StockCharts: Accumulation/Distribution
For best results, use CVDD with other indicators and sound risk management, and always test your strategy on historical data first.