XXUANTIFYInvite a friend

Stochastic 20/80 on Bitcoin (4-hour): backtest 2017–2026

MXuantify Lab · Mean reversion by Xuantify · house profile · tested 4 Dec 2026 · data to 4 Dec 2026

Summary

We tested Stochastic 20/80 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 lost 85.7%, while simply holding Bitcoin made 1,075.8%. On the most recent 30% of the data (Feb 2024 – Dec 2026), shown separately, they lost 64.6%; holding lost 1.0%.

Did not beat holding in this test

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

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

  1. Result card: Stochastic 20/80 on Bitcoin (BTCUSDT), −85.7% after costs
    The result 1/4
    Download
  2. Year by year card: Stochastic 20/80 on Bitcoin (BTCUSDT), each year and month of the test beside just holding
    Year by year 2/4
    Download
  3. The ride card: Stochastic 20/80 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: Stochastic 20/80 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 · Stochastic %K crosses above 20

Out · Stochastic %K crosses above 80

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
456
49.0 a year
Win rate
64%
Profit factor 0.84 (won ÷ lost)
Average trade
−0.26%
Per trade after costs; trades compound into the total
Time in the market
39%
The rest of the time it waited in cash

What happened

64% of the 456 trades won, and the average trade lost 0.26% after costs. So the losing trades were bigger than the winning ones. The rules were in the market 39% of the time; holding was in it all the time. The most recent 30% went worse than the first 70% (−64.6% against −59.5%).

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 +1 −2 +13 +2 +13 +29%
2018 −14 −4 −25 +13 −1 +7 +7 +2 +3 −3 −36 −19 −58%
2019 +3 0 +7 +1 +12 +6 −2 −13 −16 +7 −20 +4 −16%
2020 +4 −9 −24 +4 +6 +5 +1 +3 −7 +7 +10 +3 −2%
2021 −9 +18 +8 −5 −19 −1 +10 +1 +12 +6 +6 −8 +14%
2022 −1 +14 +8 −8 −8 −32 0 −6 +7 +2 −15 −2 −40%
2023 0 −4 +4 +7 +5 +6 +2 −5 +4 0 +8 +2 +32%
2024* −2 +4 −5 −1 +1 −2 +5 −13 −1 −3 −2 −4 −22%
2025 +4 −13 −3 +3 +3 +4 +8 −7 +2 −11 −22 −1 −32%
2026 −6 −4 +3 +1 −3 −19 +10 −1 +2 +4 −17 −5 −32%

* 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)−85.7%−59.5%−64.6%−90%
An exchange with 0% fees (spread only)−64.4%−24.4%−52.9%−79%
No costs at all (theoretical)−43.8%+3.2%−45.6%−76%
Just holding Bitcoin+1,075.8%+1,102.0%−1.0%−84%

Costs did not decide it: with no costs at all the rules lost 43.8%.

Against chance

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 1 of the 20.

In which markets did it trade?

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. 25 trades came before the 200-day average existed and are not in a row.

MarketShare of timeTradesWonAverage trade
Falling, calm22%9969%−0.3%
Falling, normal13%4659%−1.7%
Falling, wild13%5465%+0.6%
Rising, calm23%10764%−0.3%
Rising, normal18%7766%−0.2%
Rising, wild11%4858%−0.3%

Questions

Did Stochastic 20/80 beat holding Bitcoin in this test?

No, not in this test: from 2017 to 2026 the rules lost 85.7% after costs, while holding Bitcoin made 1,075.8%. That is one market, one timeframe and one set of rules, not a promise for the future.

Why does a 64% win rate still lose money?

Because the losing trades were bigger than the winning ones: the profit factor (money won divided by money lost) was 0.84.

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