Trend-Following Backtester · Guide · backtest 한국어

equity · HK

XPeng, Inc. Class A backtest

10 trend-following strategies were compared on the full daily history of XPeng, Inc. Class A. 10 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is EMA 크로스오버 (CAGR 16.7%, MDD -38.3%).

Data 2021-07-07 ~ 2026-07-31daily bars 1,245 (5.1 years)Costs 0.5%Venue HKEXMonthly snapshot 2026-07-31

Results by strategy

10 of 10 beat buy and hold (CAGR -20.9%, drawdown -88.3%).

Sharpe leader (same as main): EMA 크로스오버 — CAGR 16.7%, MDD -38.3%, Sharpe 0.57, 36% exposure.

CAGR reference leader: Supertrend — CAGR 17.2%, MDD -42.5%, exposure 41%.

Return/drawdown alternative: EMA 크로스오버 — CAGR is 37.6%p higher than buy and hold, while drawdown improves by 50.1%p (CAGR 16.7%, MDD -38.3%, exposure 36%).

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
EMA 크로스오버
fast=17, slow=115
16.7%-38.3%0.570.442.2x1036%
Supertrend
period=20, mult=1.5
17.2%-42.5%0.570.402.2x9241%
SMA 크로스오버
fast=6, slow=159
16.1%-38.3%0.560.422.1x1036%
ROC 모멘텀
n=113, threshold=0
12.4%-46.6%0.490.271.8x3241%
Donchian 채널 돌파
entryN=103, exitN=46
11.9%-41.1%0.480.291.8x626%
Parabolic SAR
step=0.01, maxStep=0.12
5.1%-53.1%0.360.101.3x5745%
MACD
fast=13, slow=51, signal=18
4.0%-60.6%0.340.071.2x5545%
Keltner 채널 돌파
emaPeriod=50, atrPeriod=10, mult=2.3
3.6%-57.3%0.290.061.2x1822%
볼린저 밴드 돌파
n=42, k=1
2.5%-58.8%0.280.041.1x3430%
ADX / DI 방향성
period=9, threshold=17
-0.0%-56.9%0.25-0.001.0x12642%
Buy and hold-20.9%-88.3%0.06-0.240.3x1100%
1x 2022 2023 2024 2025 2026 SupertrendEMA 크로스오버Buy and hold
EMA 크로스오버 (Sharpe leader), Supertrend (CAGR reference), Buy and hold.
0% -22% -44% -66% -88% 2022 2023 2024 2025 2026 Buy and holdSupertrendEMA 크로스오버
EMA 크로스오버 maximum drawdown -38.3% (2023-07-31 → 2023-10-19), recovered after 429 days.

Rules of the top strategy

Uses two exponential averages (more weight on recent prices) and trades their crossover.

Method and caveats

Past performance does not guarantee future returns. Parameters were selected on the same full-history sample using sharpe over 40 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 setupAll asset reports

Read next