BACKTESTING · OBV CONFIRMATION

OBV Confirmation Backtest in Crypto: Fees, Slippage and Break-Even Costs

OBV confirmation requires On-Balance Volume to make a new high alongside price before entering. It's a filter built on a crude volume classification.

Short answer

An OBV confirmation rule enters a breakout only if OBV also makes a new high, on the idea that volume should confirm price. OBV adds a bar's entire volume when the close is up and subtracts it when down, so it is a coarse proxy for buying and selling. Its value depends on the venue's volume and the look-back used for 'new high'. Compare break-even cost and false-breakout share with and without the OBV condition, and test whether it adds anything beyond a plain volume filter.

Break-even cost

ItemValue (illustrative)
Trades110
Gross avg per trade+0.50%
Fees (2 × 0.05%)−0.10%
Slippage (2 × 0.05%)−0.10%
Net avg per trade+0.30%
Break-even round-trip cost0.50%
Obv Confirmation: edge vs cost per trade (%)Obv Confirmation: edge vs cost per trade (%): Gross edge 0.50 %; Fees 0.10 %; Fees + slippage 0.20 %.OBV CONFIRMATION: EDGE VS COST PER TRADE (%)Gross edge0.50 %Fees0.10 %Fees + slippage0.20 %
Edge per trade versus cost per trade. Original ChartsPod editorial graphic.

What OBV measures

BarClose vs priorOBV change
1Up+ full volume
2Down− full volume
3Unchanged0
OBV vs trade-based deltaOBV vs trade-based delta. Left, OBV: Whole bar signed by close; Coarse; Available everywhere. Right, Delta: Each trade by taker side; Precise; Needs trade data.OBVWhole bar signed by closeCoarseAvailable everywhereDELTAEach trade by taker sidePreciseNeeds trade data
OBV is a rough proxy. Original ChartsPod editorial graphic.

If OBV confirmation performs no better than a simple volume filter, the simpler filter is preferable.

Conclusion

Related: OBV in Crypto: Why the Value Changes Before Candle Close, Volume Breakout Filter Backtest in Crypto: Fees, Slippage and Break-Even Costs.

Backtest the obv confirmation rule with costs in ChartsPod.

Open the ChartsPod terminal

Compare break-even cost and false-breakout share with and without the OBV condition, and test whether it adds anything beyond a plain volume filter.

Review OBV Confirmation Backtest in Crypto with bar replay before using it live.

Open ChartsPod replay

Questions readers ask

How is OBV calculated?

Add volume on up closes, subtract on down closes.

Does OBV confirmation help?

Test it against a plain volume filter.

Is OBV the same as delta?

No; it's a coarse proxy.

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.