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.
Results by strategy
10 of 10 beat buy and hold (CAGR 25.7%, drawdown -95.9%). Sorted by CAGR.
| Strategy · parameters | CAGR | Max drawdown | Sharpe | Calmar | Total return | Trades | Time in market |
|---|---|---|---|---|---|---|---|
| Bollinger band breakout n=11, k=2.2 |
114.0% | -42.2% | 1.38 | 2.70 | 836.1x | 132 | 22% |
| ADX / DI directional period=7, threshold=38 |
105.3% | -50.2% | 1.29 | 2.10 | 577.9x | 158 | 25% |
| Keltner channel breakout emaPeriod=7, atrPeriod=11, mult=1.2 |
103.7% | -36.8% | 1.34 | 2.81 | 539.8x | 94 | 14% |
| MACD fast=9, slow=59, signal=15 |
95.5% | -61.4% | 1.19 | 1.55 | 375.3x | 158 | 49% |
| Donchian channel breakout entryN=35, exitN=2 |
90.8% | -48.0% | 1.29 | 1.89 | 302.6x | 66 | 11% |
| Parabolic SAR step=0.045, maxStep=0.1 |
90.3% | -58.1% | 1.16 | 1.55 | 296.4x | 264 | 45% |
| Supertrend period=8, mult=2.3 |
78.8% | -68.4% | 1.08 | 1.15 | 170.7x | 96 | 45% |
| ROC momentum n=14, threshold=0.14 |
74.2% | -58.9% | 1.11 | 1.26 | 135.5x | 160 | 16% |
| SMA crossover fast=9, slow=34 |
69.6% | -82.9% | 1.01 | 0.84 | 107.1x | 106 | 41% |
| EMA crossover fast=8, slow=11 |
67.3% | -62.5% | 1.00 | 1.08 | 94.8x | 168 | 41% |
| Buy & hold | 25.7% | -95.9% | 0.71 | 0.27 | 7.6x | 1 | 100% |
The rules, strategy by strategy
Bollinger band breakout
Breaking above the upper band (average plus a multiple of volatility) signals a strong move up.
- Buy Buy when the close breaks above the upper band of the 11-day average (2.2× volatility)
- Sell Sell when the close falls back to the 11-day middle average
- CAGR
- 114.0%
- Max drawdown
- -42.2%
- Sharpe
- 1.38
- Trades
- 132
- Time in market
- 22%
- Win rate
- 46%
ADX / DI directional
Looks at both the direction and the strength of the trend; holds only in a strong uptrend.
- Buy Buy when up-direction (+DI) beats down-direction (−DI) and trend strength (ADX, 7-day) is ≥ 38
- Sell Sell when direction flips or the trend weakens (ADX < 38)
- CAGR
- 105.3%
- Max drawdown
- -50.2%
- Sharpe
- 1.29
- Trades
- 158
- Time in market
- 25%
- Win rate
- 45%
Keltner channel breakout
Breaking above the channel top (average plus a multiple of volatility) signals an upside breakout.
- Buy Buy when the close breaks above the 7-day average + 1.2× volatility (Keltner top)
- Sell Sell when the close falls back to the 7-day average
- CAGR
- 103.7%
- Max drawdown
- -36.8%
- Sharpe
- 1.34
- Trades
- 94
- Time in market
- 14%
- Win rate
- 46%
MACD
Looks at the gap (MACD) between a short and long average crossing its own signal line.
- Buy Buy when the MACD line (9/59) crosses above its 15-day signal line
- Sell Sell when the MACD line crosses back below the signal line
- CAGR
- 95.5%
- Max drawdown
- -61.4%
- Sharpe
- 1.19
- Trades
- 158
- Time in market
- 49%
- Win rate
- 46%
Donchian channel breakout
A new high means a trend starting; a new low means it’s over (turtle-trading style).
- Buy Buy on a breakout above the highest high of the last 35 days
- Sell Sell when price breaks below the lowest low of the last 2 days
- CAGR
- 90.8%
- Max drawdown
- -48.0%
- Sharpe
- 1.29
- Trades
- 66
- Time in market
- 11%
- Win rate
- 47%
Parabolic SAR
Trades around the Parabolic SAR dots that accelerate toward price.
- Buy Buy when price rises above the SAR dots
- Sell Sell when price falls below the SAR dots
- CAGR
- 90.3%
- Max drawdown
- -58.1%
- Sharpe
- 1.16
- Trades
- 264
- Time in market
- 45%
- Win rate
- 45%
Supertrend
Trades the direction of a volatility-based trend line that trails below/above price.
- Buy Buy when price moves above the trend line (flips up) — 8-day volatility, 2.3× band
- Sell Sell when price drops below the trend line (flips down)
- CAGR
- 78.8%
- Max drawdown
- -68.4%
- Sharpe
- 1.08
- Trades
- 96
- Time in market
- 45%
- Win rate
- 47%
ROC momentum
Rides the trend when recent return (momentum) over a window is above a threshold.
- Buy Buy when the last 14-day return is greater than 14%
- Sell Sell when the 14-day return drops to 14% or below
- CAGR
- 74.2%
- Max drawdown
- -58.9%
- Sharpe
- 1.11
- Trades
- 160
- Time in market
- 16%
- Win rate
- 44%
SMA crossover
When the short average rises above the long average, it reads that as an uptrend starting.
- Buy Buy when the 9-day average price crosses above the 34-day average
- Sell Sell (to cash) when the 9-day average falls below the 34-day average
- CAGR
- 69.6%
- Max drawdown
- -82.9%
- Sharpe
- 1.01
- Trades
- 106
- Time in market
- 41%
- Win rate
- 48%
EMA crossover
Uses two exponential averages (more weight on recent prices) and trades their crossover.
- Buy Buy when the 8-day EMA crosses above the 11-day EMA
- Sell Sell when the 8-day EMA falls below the 11-day EMA
- CAGR
- 67.3%
- Max drawdown
- -62.5%
- Sharpe
- 1.00
- Trades
- 168
- Time in market
- 41%
- Win rate
- 46%