SleepWell Trade

Trend-Following Backtester · Guide · Assets 한국어

Assets

XRP (Ripple) backtest

Long flat stretches punctuated by violent bursts. That shape makes entry timing matter more here than almost anywhere else.

Data 2017-09-25 ~ 2026-09-08 Daily bars 3,252 (9.0y) Costs 0.5%Venue Upbit (KRW)

Results by strategy

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

Strategy · parametersCAGRMax drawdown SharpeCalmarTotal return TradesTime in market
Bollinger band breakout
n=16, k=1.9
113.5%-45.3% 1.372.50890.4x 12226%
ADX / DI directional
period=8, threshold=38
109.7%-56.2% 1.341.95758.7x 12323%
Keltner channel breakout
emaPeriod=10, atrPeriod=9, mult=0.7
103.7%-47.0% 1.292.20582.7x 17427%
MACD
fast=19, slow=58, signal=17
101.7%-62.1% 1.231.64534.4x 11346%
SMA crossover
fast=3, slow=8
94.2%-48.9% 1.171.93381.2x 42945%
Parabolic SAR
step=0.015, maxStep=0.12
92.5%-64.4% 1.191.44352.5x 16843%
Supertrend
period=8, mult=2.3
87.4%-62.8% 1.141.39276.4x 9345%
Donchian channel breakout
entryN=36, exitN=2
87.2%-46.8% 1.271.86273.7x 6411%
ROC momentum
n=10, threshold=0.13
76.4%-55.8% 1.131.37160.8x 16014%
EMA crossover
fast=9, slow=10
73.2%-62.5% 1.051.17136.8x 16142%
Buy & hold28.3%-95.9% 0.720.299.3x 1100%
1x 10x 100x 1,000x 2018 2020 2022 2024 2026 Bollinger band breakoutBuy & hold
Bollinger band breakout (solid) vs buy and hold (dashed). Log scale.
0% -24% -48% -72% -96% 2018 2020 2022 2024 2026 Buy & holdBollinger band breakout
Bollinger band breakout maximum drawdown -45.3% (2021-08-14 peak → 2022-09-18 trough) · recovered after 1,189 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
113.5%
Max drawdown
-45.3%
Sharpe
1.37
Trades
122
Time in market
26%
Win rate
47%

ADX / DI directional

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

CAGR
109.7%
Max drawdown
-56.2%
Sharpe
1.34
Trades
123
Time in market
23%
Win rate
47%

Keltner channel breakout

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

CAGR
103.7%
Max drawdown
-47.0%
Sharpe
1.29
Trades
174
Time in market
27%
Win rate
45%

MACD

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

CAGR
101.7%
Max drawdown
-62.1%
Sharpe
1.23
Trades
113
Time in market
46%
Win rate
47%

SMA crossover

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

CAGR
94.2%
Max drawdown
-48.9%
Sharpe
1.17
Trades
429
Time in market
45%
Win rate
42%

Parabolic SAR

Trades around the Parabolic SAR dots that accelerate toward price.

CAGR
92.5%
Max drawdown
-64.4%
Sharpe
1.19
Trades
168
Time in market
43%
Win rate
47%

Supertrend

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

CAGR
87.4%
Max drawdown
-62.8%
Sharpe
1.14
Trades
93
Time in market
45%
Win rate
47%

Donchian channel breakout

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

CAGR
87.2%
Max drawdown
-46.8%
Sharpe
1.27
Trades
64
Time in market
11%
Win rate
47%

ROC momentum

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

CAGR
76.4%
Max drawdown
-55.8%
Sharpe
1.13
Trades
160
Time in market
14%
Win rate
43%

EMA crossover

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

CAGR
73.2%
Max drawdown
-62.5%
Sharpe
1.05
Trades
161
Time in market
42%
Win rate
46%
Backtest XRP (Ripple) yourselfSet up live trading

Read next