Trend-Following Backtester · Guide · backtest 한국어
equity · US
Xenon Pharmaceuticals Inc. backtest
10 trend-following strategies were compared on the full daily history of Xenon Pharmaceuticals Inc.. 2 beat buy-and-hold CAGR; Supertrend ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is SMA 크로스오버 (CAGR 11.8%, MDD -56.3%).
Results by strategy
2 of 10 beat buy and hold (CAGR 11.2%, drawdown -90.4%).
Sharpe leader (same as main): Supertrend — CAGR 17.5%, MDD -66.1%, Sharpe 0.55, 60% exposure.
Return/drawdown alternative: SMA 크로스오버 — CAGR is 6.4%p higher than buy and hold, while drawdown improves by 24.4%p (CAGR 11.8%, MDD -56.3%, exposure 50%).
The alternative must retain 75% of buy-and-hold CAGR, improve drawdown by at least 20% and 5 percentage points, and stay below 95% exposure; the ranking weights return retention 60% and drawdown improvement 40%.
| Strategy · parameters | CAGR | MDD | Sharpe | Calmar | Total | Trades | Exposure |
|---|---|---|---|---|---|---|---|
| Supertrend period=17, mult=4.9 |
17.5% | -66.1% | 0.55 | 0.27 | 6.8x | 20 | 60% |
| Keltner 채널 돌파 emaPeriod=45, atrPeriod=11, mult=3.9 |
8.9% | -48.9% | 0.51 | 0.18 | 2.8x | 14 | 13% |
| ADX / DI 방향성 period=26, threshold=36 |
5.1% | -17.7% | 0.49 | 0.29 | 1.8x | 8 | 4% |
| SMA 크로스오버 fast=33, slow=44 |
11.8% | -56.3% | 0.48 | 0.21 | 3.8x | 96 | 50% |
| EMA 크로스오버 fast=26, slow=62 |
9.3% | -54.3% | 0.43 | 0.17 | 2.9x | 34 | 52% |
| Donchian 채널 돌파 entryN=30, exitN=33 |
10.1% | -68.0% | 0.42 | 0.15 | 3.2x | 36 | 52% |
| 볼린저 밴드 돌파 n=54, k=2.6 |
3.5% | -60.3% | 0.29 | 0.06 | 1.5x | 24 | 20% |
| ROC 모멘텀 n=35, threshold=0.14 |
-0.5% | -66.8% | 0.17 | -0.01 | 0.9x | 108 | 22% |
| Parabolic SAR step=0.05, maxStep=0.14 |
-10.6% | -85.9% | 0.02 | -0.12 | 0.3x | 396 | 48% |
| MACD fast=17, slow=37, signal=23 |
-15.8% | -93.0% | -0.17 | -0.17 | 0.1x | 142 | 49% |
| Buy and hold | 11.2% | -90.4% | 0.47 | 0.12 | 3.5x | 1 | 100% |
Rules of the top strategy
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) — 17-day volatility, 4.9× band
- Sell — Sell when price drops below the trend line (flips down)