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; Supertrend ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 3.2%, MDD -35.6%).
Results by strategy
10 of 10 beat buy and hold (CAGR -33.7%, drawdown -95.6%).
Sharpe leader (same as main): Supertrend — CAGR 1.5%, MDD -78.0%, Sharpe 0.31, 44% exposure.
CAGR reference leader: ADX / DI 방향성 — CAGR 3.2%, MDD -35.6%, exposure 4%.
Return/drawdown alternative: ADX / DI 방향성 — CAGR is 35.2%p higher than buy and hold, while drawdown improves by 17.6%p (CAGR 3.2%, MDD -35.6%, 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 |
|---|---|---|---|---|---|---|---|
| Supertrend period=6, mult=2.9 |
1.5% | -78.0% | 0.31 | 0.02 | 1.1x | 32 | 44% |
| SMA 크로스오버 fast=9, slow=58 |
1.2% | -50.1% | 0.27 | 0.02 | 1.1x | 30 | 33% |
| ADX / DI 방향성 period=11, threshold=39 |
3.2% | -35.6% | 0.24 | 0.09 | 1.2x | 10 | 4% |
| ROC 모멘텀 n=146, threshold=0.08 |
0.3% | -54.1% | 0.23 | 0.01 | 1.0x | 34 | 20% |
| Keltner 채널 돌파 emaPeriod=55, atrPeriod=27, mult=4 |
-0.3% | -49.2% | 0.18 | -0.01 | 1.0x | 8 | 10% |
| 볼린저 밴드 돌파 n=51, k=2.4 |
-3.7% | -53.2% | 0.11 | -0.07 | 0.8x | 14 | 17% |
| Donchian 채널 돌파 entryN=85, exitN=59 |
-5.1% | -71.3% | 0.10 | -0.07 | 0.7x | 6 | 17% |
| EMA 크로스오버 fast=10, slow=29 |
-9.7% | -79.4% | 0.08 | -0.12 | 0.6x | 40 | 36% |
| MACD fast=16, slow=37, signal=14 |
-12.0% | -85.4% | 0.07 | -0.14 | 0.5x | 62 | 53% |
| Parabolic SAR step=0.025, maxStep=0.12 |
-27.9% | -89.1% | -0.32 | -0.31 | 0.2x | 129 | 43% |
| Buy and hold | -33.7% | -95.6% | -0.11 | -0.35 | 0.1x | 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) — 6-day volatility, 2.9× band
- Sell — Sell when price drops below the trend line (flips down)