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%).

Data 2020-12-09 ~ 2026-07-31daily bars 1,416 (5.6 years)Costs 0.5%Venue XNYSMonthly snapshot 2026-07-31

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 · parametersCAGRMDDSharpeCalmarTotalTradesExposure
Supertrend
period=6, mult=2.9
1.5%-78.0%0.310.021.1x3244%
SMA 크로스오버
fast=9, slow=58
1.2%-50.1%0.270.021.1x3033%
ADX / DI 방향성
period=11, threshold=39
3.2%-35.6%0.240.091.2x104%
ROC 모멘텀
n=146, threshold=0.08
0.3%-54.1%0.230.011.0x3420%
Keltner 채널 돌파
emaPeriod=55, atrPeriod=27, mult=4
-0.3%-49.2%0.18-0.011.0x810%
볼린저 밴드 돌파
n=51, k=2.4
-3.7%-53.2%0.11-0.070.8x1417%
Donchian 채널 돌파
entryN=85, exitN=59
-5.1%-71.3%0.10-0.070.7x617%
EMA 크로스오버
fast=10, slow=29
-9.7%-79.4%0.08-0.120.6x4036%
MACD
fast=16, slow=37, signal=14
-12.0%-85.4%0.07-0.140.5x6253%
Parabolic SAR
step=0.025, maxStep=0.12
-27.9%-89.1%-0.32-0.310.2x12943%
Buy and hold-33.7%-95.6%-0.11-0.350.1x1100%
0.1 1x 2021 2022 2023 2024 2025 2026 ADX / DI 방향성SupertrendBuy and hold
Supertrend (Sharpe leader), ADX / DI 방향성 (CAGR reference), Buy and hold.
0% -24% -48% -72% -96% 2021 2022 2023 2024 2025 2026 Buy and holdADX / DI 방향성Supertrend
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 setupAll asset reports

Read next