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; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Keltner 채널 돌파 (CAGR 12.0%, MDD -31.4%).
Results by strategy
10 of 10 beat buy and hold (CAGR -24.6%, drawdown -88.3%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 21.7%, MDD -38.4%, Sharpe 0.68, 34% exposure.
Return/drawdown alternative: Keltner 채널 돌파 — CAGR is 46.3%p higher than buy and hold, while drawdown improves by 50.0%p (CAGR 12.0%, MDD -31.4%, exposure 12%).
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 |
|---|---|---|---|---|---|---|---|
| SMA 크로스오버 fast=15, slow=169 |
21.7% | -38.4% | 0.68 | 0.56 | 2.8x | 4 | 34% |
| Supertrend period=33, mult=1.5 |
21.2% | -47.3% | 0.64 | 0.45 | 2.7x | 88 | 38% |
| ROC 모멘텀 n=141, threshold=0.05 |
17.6% | -47.2% | 0.59 | 0.37 | 2.3x | 32 | 35% |
| EMA 크로스오버 fast=14, slow=139 |
16.6% | -38.3% | 0.58 | 0.43 | 2.2x | 6 | 32% |
| Donchian 채널 돌파 entryN=112, exitN=61 |
15.0% | -40.3% | 0.55 | 0.37 | 2.1x | 4 | 29% |
| Keltner 채널 돌파 emaPeriod=36, atrPeriod=11, mult=4 |
12.0% | -31.4% | 0.51 | 0.38 | 1.8x | 8 | 12% |
| Parabolic SAR step=0.01, maxStep=0.12 |
3.4% | -53.1% | 0.32 | 0.06 | 1.2x | 58 | 44% |
| 볼린저 밴드 돌파 n=59, k=1.2 |
4.3% | -57.1% | 0.31 | 0.08 | 1.2x | 20 | 29% |
| MACD fast=15, slow=48, signal=16 |
-0.0% | -70.3% | 0.27 | -0.00 | 1.0x | 60 | 45% |
| ADX / DI 방향성 period=9, threshold=19 |
0.1% | -55.3% | 0.24 | 0.00 | 1.0x | 110 | 36% |
| Buy and hold | -24.6% | -88.3% | -0.01 | -0.28 | 0.2x | 1 | 100% |
Rules of the top strategy
When the short average rises above the long average, it reads that as an uptrend starting.
- Buy — Buy when the 15-day average price crosses above the 169-day average
- Sell — Sell (to cash) when the 15-day average falls below the 169-day average