Independent market intelligence
Research over noise · Risk before return
Crypto · Strategy research

Bitcoin H4 On-Balance Volume breakout strategy

Can On-Balance Volume help screen Bitcoin breakouts? We test a simultaneous 20-bar high in price and OBV against the same price rule on its own.

In simple terms

Both models buy after a completed H4 closes above the highest price of the preceding 20 bars. The OBV version also requires a new 20-bar high in OBV. At base costs it returned −6.51% and −8.59%, versus −11.54% and −15.89% for the price-only model.

Contents
01

What OBV measures

On-Balance Volume adds the candle’s traded BTC volume if its close is above the preceding usable close and subtracts it if the close is lower. An equal close leaves OBV unchanged. Each H4 contributes its entire base volume with that sign.

OBVₜ = OBVₜ₋₁ + sgn(Cₜ − Cₜ₋₁) × Vₜ

02

Data and test windows

We test BTC/USDT spot on Binance in UTC. The two windows cover all of 2022–2023 and 2024–2025. Each starts flat with 10,000 USDT. OBV starts at zero on the first usable H4 of the preceding December.

03

The 20-bar price breakout

A signal needs a completed H4 and 20 usable consecutive H4 bars immediately before it. Let B be the highest high of those 20 bars. The signal close must be strictly above B. The current bar is excluded from the threshold.

Bₜ = max(Hₜ₋₂₀, …, Hₜ₋₁) · Cₜ > Bₜ

04

How OBV confirms the breakout

The OBV model requires OBV at the same completed close to be strictly above its highest value in those 20 previous bars. The price-only control uses the same price breakout, with the same entry, size and exit rules.

Mₜ = max(OBVₜ₋₂₀, …, OBVₜ₋₁) · OBVₜ > Mₜ

05

Entry on the following H4

Use the first price of the exact opening minute of the next H4, within the window. Without a valid archived open and positive volume in that minute, the entry is canceled. A previous position still open through that quote blocks the new entry. We hold at most one unleveraged spot long.

06

Exit after a failed breakout or 12 bars

Freeze B from the signal. The first usable H4 close at or below B schedules an exit at its closing boundary. Sell from the first archived nonempty minute at or after that time. The 12-slot time limit is 48 hours from entry. The test boundary may arrive earlier. Time and boundary exits take priority on ties.

Cᵤ ≤ Bₜ · u ≥ entry bar · Bₜ fixed

07

Size, commission and slippage

Use the available USDT balance including the entry commission. Commission is 10 bp per side in the base case and 20 bp in the higher-fee case. Adverse slippage stays at 5 bp per side. One bp equals 0.01%. The opening price of a minute supplies the execution reference.

08

Missing candles and maximum drawdown

H4 needs 240 consecutive full-duration minutes and positive total volume. One H4 is unusable in the test windows. Drawdown uses the available H4 closing values with estimated exit costs, plus initial and final cash.

09

The six-bar return to B

Before the position limit, take signals with an available entry quote and six following usable H4 within the window, starting with the entry bar. Mark a return if any of those closes is at or below B. The price-only group includes the OBV-confirmed subset.

Six-bar return to the breakout level
CasePrice candidatesSignals assessedClosed back at or below BReturn rate
2022–2023 · Price breakout alone1791799653.63%
2022–2023 · OBV confirmation1461467752.74%
2022–2023 · Rejected by OBV33331957.58%
2024–2025 · Price breakout alone24224212652.07%
2024–2025 · OBV confirmation1901909751.05%
2024–2025 · Rejected by OBV52522955.77%
10

Confirmed and rejected signals

The six-bar return rate was 52.74% for confirmed and 57.58% for rejected signals in 2022–2023. In 2024–2025 it was 51.05% and 55.77%. This comparison uses separate groups and describes follow-through after a signal.

11

Results at base costs

Both models lost in both windows. OBV reduced the number of trades, the net loss and the maximum drawdown in each. The equity chart shows account values at base costs.

Net results by window and commission
CaseNet returnMaximum H4 drawdownCompleted tradesSkipped while invested
2022–2023 · Base commission · OBV confirmation−6.51%27.98%7868
2022–2023 · Base commission · Price breakout alone−11.54%33.22%9485
2022–2023 · Higher commission · OBV confirmation−20.02%35.33%7868
2022–2023 · Higher commission · Price breakout alone−26.70%38.00%9485
2024–2025 · Base commission · OBV confirmation−8.59%31.62%9496
2024–2025 · Base commission · Price breakout alone−15.89%37.02%118124
2024–2025 · Higher commission · OBV confirmation−24.26%39.18%9496
2024–2025 · Higher commission · Price breakout alone−33.57%48.80%118124
OBV confirmationPrice breakout alone
Account value in USDT at base fees. The graph uses daily snapshots plus initial and final cash. Maximum drawdown uses the complete set of usable H4 marks.
Account value in USDT at base fees. The graph uses daily snapshots plus initial and final cash. Maximum drawdown uses the complete set of usable H4 marks.
12

Sensitivity to higher fees

The OBV model returned −20.02% and −24.26% with 20 bp commission per side. It still finished ahead of the price-only model. Both lost in both windows. The cost table separates market price movement, slippage and commission.

Cost breakdown at base fees, USDT
CasePrice movementSlippageCommissionNet P&L
2022–2023 · Base commission · OBV confirmation+1,517.33722.901,445.80−651.37
2022–2023 · Base commission · Price breakout alone+1,405.87853.411,706.82−1,154.36
2024–2025 · Base commission · OBV confirmation+2,228.921,029.422,058.83−859.33
2024–2025 · Base commission · Price breakout alone+2,290.511,293.162,586.32−1,588.98
13

Read the trade example

The chart shows an OBV-confirmed breakout in February 2024 followed by a close back below B. S marks the signal close, E and X the modeled fills. The lower panel shows OBV minus the fixed prior OBV high at S. The archive verifies both minute opening prices.

BBreakout levelSSignal closeEEntryXExit
Archived BTC/USDT H4 candles. B is the frozen breakout level, S the signal close and E and X the simulated fills. Below, OBV is measured against the same fixed pre-signal high. Times are UTC.
S · UTC
E · UTC
X · UTC
E · USDT/BTC
49,942.75890000
X · USDT/BTC
48,703.10626500
B · USDT/BTC
48,826.81
OBV above prior high · BTC
+7,998.01290000
Failed-breakout close · USDT/BTC
48,727.47
Archived BTC/USDT H4 candles. B is the frozen breakout level, S the signal close and E and X the simulated fills. Below, OBV is measured against the same fixed pre-signal high. Times are UTC.
14

Check the two archives

We verify the 1m and 4h ZIP hashes and compare reconstructed with archived H4. Seven usable H4 differ in volume and trade count while their OHLC matches. Repeating the test with the published H4 at the same usable timestamps gives the same executions and results.

15

Reproduce the results

The JSON includes the fixed protocol, checksums, OHLCV, OBV, signals, account marks and independent checks. The CSV lists every closed trade across the eight scenarios. Dates use UTC and fees are accounted for on both sides.

16

What the study supports

In these two windows the OBV filter improved the relative outcome after costs, while each account still lost money. Results apply to these spot data, this filter and these exit rules. The simulation uses fractional BTC and a fixed slippage assumption.

Questions and answers

Why use BTC volume instead of USDT turnover?

This OBV adds or subtracts the traded quantity of the base asset, BTC. The same definition applies throughout.

What happens if the close equals the previous close?

OBV stays at its preceding value. To confirm a breakout it must still be strictly above the maximum of the prior 20 values.

Can the current bar set its own thresholds?

Both thresholds use the preceding 20 completed H4 bars. The signal bar is compared with them after it closes.

Does a wick below B trigger an exit?

The model uses a completed H4 close at or below B. The sale reference comes from the first available minute open after that close.

Can a trade occur on an opening quote used to exit?

An existing position open through that quote blocks the new entry. Later valid signals can still be considered.

What changes with higher fees?

Commission rises from 10 to 20 bp per side. Slippage remains 5 bp per side.

Sources and reproducibility

Created by the MyProfitFactor editorial team.

Copying or republication without attribution and an active link to the original material is prohibited. Usage policy.

Risk disclosure

Educational historical simulation. BTC can lose value. Actual quotes, execution and costs can differ. A close-based exit leaves the account exposed to intrabar moves.