Trend-Following Backtester · Guide · backtest 한국어
equity · US
Tandem Diabetes Care, Inc. backtest
10 trend-following strategies were compared on the full daily history of Tandem Diabetes Care, Inc.. 10 beat buy-and-hold CAGR; ADX / DI 방향성 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Keltner 채널 돌파 (CAGR 11.1%, MDD -19.2%).
Results by strategy
10 of 10 beat buy and hold (CAGR -17.5%, drawdown -99.3%).
Sharpe leader (same as main): ADX / DI 방향성 — CAGR 14.3%, MDD -21.5%, Sharpe 0.97, 3% exposure.
CAGR reference leader: ROC 모멘텀 — CAGR 27.6%, MDD -45.9%, exposure 27%.
Return/drawdown alternative: Keltner 채널 돌파 — CAGR is 31.8%p higher than buy and hold, while drawdown improves by 77.8%p (CAGR 11.1%, MDD -19.2%, exposure 4%).
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 |
|---|---|---|---|---|---|---|---|
| ADX / DI 방향성 period=25, threshold=39 |
14.3% | -21.5% | 0.97 | 0.67 | 5.6x | 6 | 3% |
| Donchian 채널 돌파 entryN=112, exitN=8 |
18.5% | -37.0% | 0.87 | 0.50 | 8.9x | 26 | 12% |
| ROC 모멘텀 n=90, threshold=0.13 |
27.6% | -45.9% | 0.86 | 0.60 | 23.0x | 58 | 27% |
| 볼린저 밴드 돌파 n=25, k=3 |
20.2% | -39.3% | 0.81 | 0.51 | 10.7x | 30 | 15% |
| SMA 크로스오버 fast=53, slow=134 |
26.8% | -60.5% | 0.80 | 0.44 | 21.2x | 15 | 32% |
| Keltner 채널 돌파 emaPeriod=12, atrPeriod=21, mult=3.2 |
11.1% | -19.2% | 0.78 | 0.58 | 3.9x | 10 | 4% |
| EMA 크로스오버 fast=55, slow=127 |
17.9% | -71.1% | 0.62 | 0.25 | 8.3x | 10 | 35% |
| Supertrend period=19, mult=4.4 |
9.3% | -83.7% | 0.42 | 0.11 | 3.1x | 44 | 42% |
| Parabolic SAR step=0.04, maxStep=0.04 |
6.7% | -81.5% | 0.37 | 0.08 | 2.3x | 140 | 47% |
| MACD fast=8, slow=16, signal=15 |
5.4% | -84.2% | 0.36 | 0.06 | 2.0x | 238 | 54% |
| Buy and hold | -17.5% | -99.3% | 0.12 | -0.18 | 0.1x | 1 | 100% |
Rules of the top strategy
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, 25-day) is ≥ 39
- Sell — Sell when direction flips or the trend weakens (ADX < 39)