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; ADX / DI 방향성 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 8.3%, MDD -33.9%).

Data 2020-12-09 ~ 2026-09-30daily bars 1,458 (5.8 years)Costs 0.5%Venue XNYSMonthly snapshot 2026-09-30

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 · parametersCAGRMDDSharpeCalmarTotalTradesExposure
ADX / DI 방향성
period=7, threshold=49
8.3%-33.9%0.430.241.6x103%
Supertrend
period=8, mult=2.8
4.6%-69.9%0.360.071.3x3542%
Keltner 채널 돌파
emaPeriod=52, atrPeriod=11, mult=1.5
2.5%-57.2%0.280.041.2x2722%
ROC 모멘텀
n=81, threshold=0.12
1.1%-61.1%0.250.021.1x3621%
EMA 크로스오버
fast=17, slow=29
-1.0%-59.6%0.24-0.020.9x3335%
볼린저 밴드 돌파
n=59, k=0.6
-1.5%-56.5%0.21-0.030.9x3530%
SMA 크로스오버
fast=11, slow=57
-3.5%-54.1%0.18-0.060.8x3135%
MACD
fast=16, slow=34, signal=19
-7.0%-82.0%0.16-0.090.7x5654%
Donchian 채널 돌파
entryN=95, exitN=62
-4.9%-71.3%0.09-0.070.7x617%
Parabolic SAR
step=0.025, maxStep=0.12
-27.6%-89.1%-0.32-0.310.2x13444%
Buy and hold-30.7%-95.6%-0.06-0.320.1x1100%
0.1 1x 2021 2022 2023 2024 2025 2026 ADX / DI 방향성Buy and hold
ADX / DI 방향성: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -24% -48% -72% -96% 2021 2022 2023 2024 2025 2026 Buy and holdADX / DI 방향성
ADX / DI 방향성 maximum drawdown -33.9% (2023-05-30 → 2024-12-11), prior peak not yet recovered.

Rules of the top strategy

Looks at both the direction and the strength of the trend; holds only in a strong uptrend.

Method and caveats

Past performance does not guarantee future returns. Parameters were selected on the same full-history sample using sharpe over 120 trials per strategy, so results contain in-sample bias. 0.5% trading costs are included; taxes, slippage and rejected orders are not.
Re-run the same setupMore US assetsAll asset reports

Read next