SleepWell Trade

Trend-Following Backtester · Guide · Assets 한국어

Assets

Bitcoin backtest

The largest crypto asset by market cap. Its moves are violent and its trends run long, which makes it the textbook proving ground for trend following.

Data 2017-09-25 ~ 2026-10-23 Daily bars 3,300 (9.1y) Costs 0.5%Venue Upbit (KRW)

Results by strategy

10 of 10 beat buy and hold (CAGR 42.7%, drawdown -86.8%). Sorted by CAGR.

Strategy · parametersCAGRMax drawdown SharpeCalmarTotal return TradesTime in market
Bollinger band breakout
n=37, k=1.6
81.7%-41.5% 1.711.97225.4x 6041%
Supertrend
period=3, mult=3.2
76.6%-62.8% 1.501.22174.0x 7453%
EMA crossover
fast=5, slow=30
73.5%-57.6% 1.491.28148.8x 10452%
Keltner channel breakout
emaPeriod=35, atrPeriod=17, mult=2
73.1%-40.8% 1.601.79145.5x 5837%
ROC momentum
n=36, threshold=0.09
68.6%-53.6% 1.521.28114.5x 13836%
Parabolic SAR
step=0.01, maxStep=0.24
63.3%-48.1% 1.361.3285.5x 16451%
ADX / DI directional
period=24, threshold=9
63.1%-53.3% 1.391.1884.9x 13748%
MACD
fast=15, slow=41, signal=12
55.0%-55.9% 1.250.9853.3x 15452%
Donchian channel breakout
entryN=37, exitN=6
53.8%-51.8% 1.401.0449.7x 7030%
SMA crossover
fast=1, slow=136
48.3%-39.5% 1.261.2235.8x 4950%
Buy & hold42.7%-86.8% 0.890.4925.2x 1100%
1x 10x 100x 2018 2020 2022 2024 2026 Bollinger band breakoutBuy & hold
Bollinger band breakout (solid) vs buy and hold (dashed). Log scale.
0% -22% -43% -65% -87% 2018 2020 2022 2024 2026 Buy & holdBollinger band breakout
Bollinger band breakout maximum drawdown -41.5% (2018-01-05 peak → 2019-03-04 trough) · recovered after 489 days. Buy and hold uses the same scale.
Parameters were optimized over the full history. The same data chose them and scored them, so these run above live results. With two or three parameters the distortion is bounded, but read them as a relative ranking, not a return target. Settings match the backtester's defaults (0.5% costs, Sharpe objective, 120 trials). More in optimization and overfitting.

The rules, strategy by strategy

Bollinger band breakout

Breaking above the upper band (average plus a multiple of volatility) signals a strong move up.

CAGR
81.7%
Max drawdown
-41.5%
Sharpe
1.71
Trades
60
Time in market
41%
Win rate
54%

Supertrend

Trades the direction of a volatility-based trend line that trails below/above price.

CAGR
76.6%
Max drawdown
-62.8%
Sharpe
1.50
Trades
74
Time in market
53%
Win rate
54%

EMA crossover

Uses two exponential averages (more weight on recent prices) and trades their crossover.

CAGR
73.5%
Max drawdown
-57.6%
Sharpe
1.49
Trades
104
Time in market
52%
Win rate
53%

Keltner channel breakout

Breaking above the channel top (average plus a multiple of volatility) signals an upside breakout.

CAGR
73.1%
Max drawdown
-40.8%
Sharpe
1.60
Trades
58
Time in market
37%
Win rate
54%

ROC momentum

Rides the trend when recent return (momentum) over a window is above a threshold.

CAGR
68.6%
Max drawdown
-53.6%
Sharpe
1.52
Trades
138
Time in market
36%
Win rate
51%

Parabolic SAR

Trades around the Parabolic SAR dots that accelerate toward price.

CAGR
63.3%
Max drawdown
-48.1%
Sharpe
1.36
Trades
164
Time in market
51%
Win rate
51%

ADX / DI directional

Looks at both the direction and the strength of the trend; holds only in a strong uptrend.

CAGR
63.1%
Max drawdown
-53.3%
Sharpe
1.39
Trades
137
Time in market
48%
Win rate
52%

MACD

Looks at the gap (MACD) between a short and long average crossing its own signal line.

CAGR
55.0%
Max drawdown
-55.9%
Sharpe
1.25
Trades
154
Time in market
52%
Win rate
50%

Donchian channel breakout

A new high means a trend starting; a new low means it’s over (turtle-trading style).

CAGR
53.8%
Max drawdown
-51.8%
Sharpe
1.40
Trades
70
Time in market
30%
Win rate
53%

SMA crossover

When the short average rises above the long average, it reads that as an uptrend starting.

CAGR
48.3%
Max drawdown
-39.5%
Sharpe
1.26
Trades
49
Time in market
50%
Win rate
52%
Backtest Bitcoin yourselfSet up live trading

Read next