BACKTESTING · CVD DIVERGENCE

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

ItemValue (illustrative)
Trades110
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 cost0.53%
Cvd Divergence: edge vs cost per trade (%)Cvd Divergence: edge vs cost per trade (%): Gross edge 0.53 %; Fees 0.10 %; Fees + slippage 0.18 %.CVD DIVERGENCE: EDGE VS COST PER TRADE (%)Gross edge0.53 %Fees0.10 %Fees + slippage0.18 %
Edge per trade versus cost per trade. Original ChartsPod editorial graphic.

Pivot confirmation

Pivot ruleEntry delayNet avg (illustrative)
2 bars each side2 bars+0.38%
5 bars each side5 bars+0.29%
Unconfirmed (look-ahead)0 bars+0.92% (invalid)
Illustrative net avg (%)Illustrative net avg (%): 2-bar pivot +0.38 %; 5-bar pivot +0.29 %; Look-ahead +0.92 %.ILLUSTRATIVE NET AVG (%)2-bar pivot+0.38 %5-bar pivot+0.29 %Look-ahead+0.92 %
The look-ahead version isn't tradable. Original ChartsPod editorial graphic.

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 terminal

Compute break-even cost and test pivot lengths.

Compare CVD Divergence Backtest in Crypto across Binance, Bybit, OKX and Hyperliquid markets.

Open markets in ChartsPod

Questions 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.

  1. TradingView Pine Script: Strategies — simulated fills and assumptions.
  2. TradingView Pine Script: Repainting — live vs historical calculation.
  3. 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.