CVD Divergence Backtest in Crypto: Fees, Slippage and Break-Even Costs
CVD divergence rules fade price highs that CVD doesn't confirm. The anchor, venue and pivot definition make or break the test.
Short answer
A CVD-divergence rule identifies a price high not matched by a CVD high (or the reverse at lows) and trades the reversal. Results depend on the CVD anchor (divergences must sit within one anchor period), the pivot definition (bars on each side), the venue, and whether pivots are confirmed only after enough bars have passed — otherwise the backtest uses future bars. Compute break-even cost and test pivot lengths.
Break-even cost
| Item | Value (illustrative) |
|---|---|
| Trades | 110 |
| Gross avg per trade | +0.53% |
| Fees (2 × 0.05%) | −0.10% |
| Slippage (2 × 0.04%) | −0.08% |
| Net avg per trade | +0.35% |
| Break-even round-trip cost | 0.53% |
Pivot confirmation
| Pivot rule | Entry delay | Net avg (illustrative) |
|---|---|---|
| 2 bars each side | 2 bars | +0.38% |
| 5 bars each side | 5 bars | +0.29% |
| Unconfirmed (look-ahead) | 0 bars | +0.92% (invalid) |
Conclusion
Related: CVD Session Resets in Crypto: What Price Response Adds to the Reading, Volume Delta vs Price Change in Crypto: What Price Response Adds to the Reading.
Backtest the cvd divergence rule with costs in ChartsPod.
Open the ChartsPod terminalCompute break-even cost and test pivot lengths.
Compare CVD Divergence Backtest in Crypto across Binance, Bybit, OKX and Hyperliquid markets.
Open markets in ChartsPodQuestions readers ask
What is CVD divergence?
Price and CVD making opposite extremes.
Why confirm pivots?
A pivot is known only after bars to its right.
Does the anchor matter?
Yes; divergences must sit within one anchor period.
Sources and methodology
Backtest cost logic follows TradingView's Pine Script strategy documentation; indicator definitions are standard. All performance numbers are illustrative examples of the method, not results of real tests.
- TradingView Pine Script: Strategies — simulated fills and assumptions.
- TradingView Pine Script: Repainting — live vs historical calculation.
- ChartsPod documentation — guides for order flow, derivatives, alerts, backtests, journal and workspaces.
This article explains research tools and workflows. It is not financial advice, does not recommend buying or selling any asset and does not predict prices. Crypto derivatives carry a risk of rapid and total loss of margin.
CHARTSPOD EDITORIAL EDITION · RESEARCH AND EDUCATION ONLY · NOT FINANCIAL ADVICE.