SleepWell Trade

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.1%, MDD -35.6%).

Data 2020-12-09 ~ 2026-08-31daily bars 1,437 (5.7 years)Costs 0.5%Venue XNYSMonthly snapshot 2026-08-31

Results by strategy

10 of 10 beat buy and hold (CAGR -31.3%, drawdown -95.6%).

Sharpe leader (same as main): Supertrend — CAGR 3.3%, MDD -78.0%, Sharpe 0.34, 45% exposure.

Return/drawdown alternative: ADX / DI 방향성 — CAGR is 34.6%p higher than buy and hold, while drawdown improves by 17.6%p (CAGR 3.1%, 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 · parametersCAGRMDDSharpeCalmarTotalTradesExposure
Supertrend
period=6, mult=2.9
3.3%-78.0%0.340.041.2x3345%
SMA 크로스오버
fast=9, slow=58
1.8%-51.6%0.280.041.1x3134%
ADX / DI 방향성
period=11, threshold=39
3.1%-35.6%0.240.091.2x104%
ROC 모멘텀
n=146, threshold=0.08
0.3%-54.1%0.220.011.0x3419%
Keltner 채널 돌파
emaPeriod=55, atrPeriod=27, mult=4
-0.3%-49.2%0.18-0.011.0x810%
MACD
fast=16, slow=37, signal=14
-9.3%-85.4%0.12-0.110.6x6353%
볼린저 밴드 돌파
n=51, k=2.4
-3.6%-53.2%0.11-0.070.8x1417%
EMA 크로스오버
fast=10, slow=29
-8.5%-79.4%0.11-0.110.6x4137%
Donchian 채널 돌파
entryN=85, exitN=59
-5.0%-71.3%0.10-0.070.7x617%
Parabolic SAR
step=0.025, maxStep=0.12
-27.6%-89.1%-0.31-0.310.2x13344%
Buy and hold-31.3%-95.6%-0.07-0.330.1x1100%
0.1 1x 2021 2022 2023 2024 2025 2026 SupertrendBuy and hold
Supertrend: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -24% -48% -72% -96% 2021 2022 2023 2024 2025 2026 Buy and holdSupertrend
Supertrend maximum drawdown -78.0% (2020-12-22 → 2022-12-23), prior peak not yet recovered.

Rules of the top strategy

Trades the direction of a volatility-based trend line that trails below/above price.

Method and caveats

Past performance does not guarantee future returns. Parameters were carried forward from the latest full optimization and replayed on this monthly dataset. 0.5% trading costs are included; taxes, slippage and rejected orders are not.
Re-optimize the same period and setupMore US assetsAll asset reports

Read next