Trend-Following Backtester · Guide · backtest 한국어
equity · HK
Xiaomi Corporation Class B backtest
10 trend-following strategies were compared on the full daily history of Xiaomi Corporation Class B. 10 beat buy-and-hold CAGR; 볼린저 밴드 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 25.5%, MDD -25.7%).
Results by strategy
10 of 10 beat buy and hold (CAGR 5.0%, drawdown -76.1%).
Sharpe leader (same as main): 볼린저 밴드 돌파 — CAGR 25.5%, MDD -25.7%, Sharpe 1.22, 17% exposure.
CAGR reference leader: SMA 크로스오버 — CAGR 32.3%, MDD -38.2%, exposure 51%.
Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 20.5%p higher than buy and hold, while drawdown improves by 50.3%p (CAGR 25.5%, MDD -25.7%, exposure 17%).
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 |
|---|---|---|---|---|---|---|---|
| 볼린저 밴드 돌파 n=36, k=3.5 |
25.5% | -25.7% | 1.22 | 0.99 | 6.5x | 8 | 17% |
| SMA 크로스오버 fast=14, slow=222 |
32.3% | -38.2% | 1.01 | 0.85 | 10.0x | 6 | 51% |
| Donchian 채널 돌파 entryN=82, exitN=16 |
22.3% | -30.1% | 1.00 | 0.74 | 5.2x | 14 | 19% |
| Keltner 채널 돌파 emaPeriod=52, atrPeriod=19, mult=3.5 |
23.2% | -31.0% | 0.98 | 0.75 | 5.6x | 14 | 25% |
| ROC 모멘텀 n=147, threshold=0 |
26.7% | -52.6% | 0.90 | 0.51 | 7.0x | 44 | 49% |
| EMA 크로스오버 fast=66, slow=133 |
26.9% | -40.7% | 0.89 | 0.66 | 7.1x | 6 | 50% |
| ADX / DI 방향성 period=30, threshold=14 |
21.5% | -42.6% | 0.86 | 0.51 | 5.0x | 42 | 30% |
| Supertrend period=11, mult=3.7 |
17.9% | -42.5% | 0.69 | 0.42 | 3.9x | 30 | 43% |
| MACD fast=18, slow=54, signal=15 |
11.5% | -62.6% | 0.50 | 0.18 | 2.4x | 86 | 52% |
| Parabolic SAR step=0.015, maxStep=0.1 |
6.8% | -68.3% | 0.37 | 0.10 | 1.7x | 126 | 48% |
| Buy and hold | 5.0% | -76.1% | 0.34 | 0.07 | 1.5x | 1 | 100% |
Rules of the top strategy
Breaking above the upper band (average plus a multiple of volatility) signals a strong move up.
- Buy — Buy when the close breaks above the upper band of the 36-day average (3.5× volatility)
- Sell — Sell when the close falls back to the 36-day middle average