XXUANTIFYInvite a friend

Donchian 20/10 breakout on Bitcoin (4-hour): backtest 2017–2026

BXuantify Lab · Breakout by Xuantify · house profile · tested 4 Dec 2026 · data to 4 Dec 2026

Summary

We tested Donchian 20/10 breakout on Bitcoin (BTCUSDT), 4-hour candles, long only, from Aug 2017 to Dec 2026, with 0.1% exchange fee and 0.05% spread per side (test run 4 Dec 2026). After costs the rules made 437.4%, while simply holding Bitcoin made 1,075.8%. On the most recent 30% of the data (Feb 2024 – Dec 2026), shown separately, they lost 27.1%; holding lost 1.0%.

Did not beat holding in this test

Profitable, with a smaller worst drop than holding (−66% vs −84%)

Result after costs
+437.4%
Just holding: +1,075.8%
Most recent 30%
−27.1%
Feb 2024 – Dec 2026 · holding −1.0%
Worst drop
−66%
Holding: −84%

271 trades · Aug 2017 – Dec 2026 · 4-hour candles · after costs

  1. Result card: Donchian 20/10 breakout on Bitcoin (BTCUSDT), +437.4% after costs
    The result 1/4
    Download
  2. Year by year card: Donchian 20/10 breakout on Bitcoin (BTCUSDT), each year and month of the test beside just holding
    Year by year 2/4
    Download
  3. The ride card: Donchian 20/10 breakout on Bitcoin (BTCUSDT), the deepest drop and how long it took to come back, beside just holding
    The ride 3/4
    Download
  4. Then and now card: Donchian 20/10 breakout on Bitcoin (BTCUSDT), the first 70% of the data beside the most recent 30% and the last 12 months
    Then and now 4/4
    Download

The rules

Market · Bitcoin (BTCUSDT), 4-hour candles, long only (it only buys, never sells short), spot, without leverage

In · the close is above the previous bar's Donchian Channel (20) upper band

Out · the close is below the previous bar's Donchian Channel (10) lower band

Orders fill at the open of the next candle. Costs: 0.1% exchange fee and 0.05% spread per side. The most recent 30% of the data (from 20 Feb 2024) is shown separately; the rule itself is fixed in advance, nothing is tuned on the data.

Test this yourself
Share
Trades
271
29.1 a year
Win rate
38%
Profit factor 1.42 (won ÷ lost)
Average trade
+1.01%
Per trade after costs; trades compound into the total
Time in the market
41%
The rest of the time it waited in cash

What happened

38% of the 271 trades won, and the average trade made 1.01% after costs. The rules were in the market 41% of the time; holding was in it all the time. The most recent 30% went worse than the first 70% (−27.1% against +636.7%).

Year by year, month by month

After standard costs. Each cell is that month's result in %, the last column the whole year. An empty cell: not in the market that month. Purple years fall in the most recent 30% (from 20 Feb 2024). The first and last year are not whole years.

YearJanJFebFMarMAprAMayMJunJJulJAugASepSOctONovNDecDYear
2017 +12 −11 +22 +40 −18 +40%
2018 −22 −1 −11 +4 −7 −6 +23 +2 −7 −6 −6 +8 −30%
2019 −14 0 +2 +20 +31 +35 −20 +9 +6 −4 0 −4 +57%
2020 +27 −3 −5 +17 0 −4 +17 +2 −1 +21 +10 +33 +176%
2021 −8 +61 +9 −2 −13 −11 0 −3 −10 +40 −9 −4 +31%
2022 −15 +15 −9 −3 −11 −13 +10 −5 −6 −4 −2 −5 −40%
2023 +32 +8 +21 +7 −12 +14 −7 −12 −2 +26 −9 +11 +91%
2024* +1 +33 −4 −2 −6 −1 −8 +3 +9 +2 +27 −4 +51%
2025 −1 −3 −11 +3 +9 −6 +2 −1 −1 +9 +1 −15 −17%
2026 −2 −13 +2 +2 −3 −3 −4 +12 0 −11 −13 −4 −33%

* 2024: only the part from 20 Feb 2024 is in the most recent 30%.

With and without costs

All dataFirst 70%Most recent 30%Worst drop
Standard costs (0.1% exchange fee and 0.05% spread per side)+437.4%+636.7%−27.1%−66%
An exchange with 0% fees (spread only)+824.2%+962.4%−13.0%−65%
No costs at all (theoretical)+1,111.9%+1,175.8%−5.0%−64%
Just holding Bitcoin+1,075.8%+1,102.0%−1.0%−84%

Costs did not decide it: with no costs at all the rules made 1,111.9%.

Could it be luck?

Random entries

We entered at random moments, 20 times, with as many trades as the rules and on the same side, each trade leaving by the rules' own exit. The rules did better than 19 of the 20.

Without the best 10% of trades

Leave out the 28 best of 271 trades and the result is −98.5%. A result that leans on a few trades is fragile.

When did it work?

Bitcoin's state on the day of entry: rising or falling (price against its 200-day average) and how wild it was (daily range against the two years before). Few trades per row, so read it as a rough picture. 18 trades came before the 200-day average existed and are not in a row.

MarketShare of timeTradesWonAverage trade
Falling, calm22%5944%+1.5%
Falling, normal13%3540%+1.4%
Falling, wild13%3526%−2.5%
Rising, calm23%5942%+2.0%
Rising, normal18%4033%+2.0%
Rising, wild11%2524%−0.2%

Questions

Did Donchian 20/10 breakout beat holding Bitcoin in this test?

No, not in this test: from 2017 to 2026 the rules made 437.4% after costs, while holding Bitcoin made 1,075.8%. Profitable, with a smaller worst drop than holding (−66% vs −84%). That is one market, one timeframe and one set of rules, not a promise for the future.

How did you test it?

On 4-hour Bitcoin data from Aug 2017 to Dec 2026, with orders filled at the open of the next candle and 0.1% exchange fee and 0.05% spread per side. The most recent 30% of the data is shown separately. The rule is fixed in advance; nothing is tuned on the data. How we test

A rule from the Lab's fixed list, run in a fixed order and picked before the result was known; every outcome is published, losers too. Past results don't guarantee future ones. Not financial advice.

Newsletter

New tests, now and then.

Only for this newsletter; we send a mail to confirm first, and every mail has a link to stop. Privacy