Trend-Following Backtester · Guide · backtest 한국어
equity · US
C3.ai, Inc. backtest
10 trend-following strategies were compared on the full daily history of C3.ai, Inc.. 10 beat buy-and-hold CAGR; ADX / DI 방향성 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 8.3%, MDD -33.9%).
Results by strategy
10 of 10 beat buy and hold (CAGR -30.7%, drawdown -95.6%).
Sharpe leader (same as main): ADX / DI 방향성 — CAGR 8.3%, MDD -33.9%, Sharpe 0.43, 3% exposure.
Return/drawdown alternative: ADX / DI 방향성 — CAGR is 39.0%p higher than buy and hold, while drawdown improves by 61.7%p (CAGR 8.3%, MDD -33.9%, exposure 3%).
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=7, threshold=49 |
8.3% | -33.9% | 0.43 | 0.24 | 1.6x | 10 | 3% |
| Supertrend period=8, mult=2.8 |
4.6% | -69.9% | 0.36 | 0.07 | 1.3x | 35 | 42% |
| Keltner 채널 돌파 emaPeriod=52, atrPeriod=11, mult=1.5 |
2.5% | -57.2% | 0.28 | 0.04 | 1.2x | 27 | 22% |
| ROC 모멘텀 n=81, threshold=0.12 |
1.1% | -61.1% | 0.25 | 0.02 | 1.1x | 36 | 21% |
| EMA 크로스오버 fast=17, slow=29 |
-1.0% | -59.6% | 0.24 | -0.02 | 0.9x | 33 | 35% |
| 볼린저 밴드 돌파 n=59, k=0.6 |
-1.5% | -56.5% | 0.21 | -0.03 | 0.9x | 35 | 30% |
| SMA 크로스오버 fast=11, slow=57 |
-3.5% | -54.1% | 0.18 | -0.06 | 0.8x | 31 | 35% |
| MACD fast=16, slow=34, signal=19 |
-7.0% | -82.0% | 0.16 | -0.09 | 0.7x | 56 | 54% |
| Donchian 채널 돌파 entryN=95, exitN=62 |
-4.9% | -71.3% | 0.09 | -0.07 | 0.7x | 6 | 17% |
| Parabolic SAR step=0.025, maxStep=0.12 |
-27.6% | -89.1% | -0.32 | -0.31 | 0.2x | 134 | 44% |
| Buy and hold | -30.7% | -95.6% | -0.06 | -0.32 | 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, 7-day) is ≥ 49
- Sell — Sell when direction flips or the trend weakens (ADX < 49)