SleepWell Trade

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

Data 2018-07-09 ~ 2026-09-30daily bars 2,027 (8.2 years)Costs 0.5%Venue HKEXMonthly snapshot 2026-09-30

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 · parametersCAGRMDDSharpeCalmarTotalTradesExposure
볼린저 밴드 돌파
n=36, k=3.5
25.5%-25.7%1.220.996.5x817%
SMA 크로스오버
fast=14, slow=222
32.3%-38.2%1.010.8510.0x651%
Donchian 채널 돌파
entryN=82, exitN=16
22.3%-30.1%1.000.745.2x1419%
Keltner 채널 돌파
emaPeriod=52, atrPeriod=19, mult=3.5
23.2%-31.0%0.980.755.6x1425%
ROC 모멘텀
n=147, threshold=0
26.7%-52.6%0.900.517.0x4449%
EMA 크로스오버
fast=66, slow=133
26.9%-40.7%0.890.667.1x650%
ADX / DI 방향성
period=30, threshold=14
21.5%-42.6%0.860.515.0x4230%
Supertrend
period=11, mult=3.7
17.9%-42.5%0.690.423.9x3043%
MACD
fast=18, slow=54, signal=15
11.5%-62.6%0.500.182.4x8652%
Parabolic SAR
step=0.015, maxStep=0.1
6.8%-68.3%0.370.101.7x12648%
Buy and hold5.0%-76.1%0.340.071.5x1100%
1x 10x 2019 2020 2021 2022 2023 2024 2025 2026 SMA 크로스오버볼린저 밴드 돌파Buy and hold
볼린저 밴드 돌파 (Sharpe leader), SMA 크로스오버 (CAGR reference), Buy and hold.
0% -19% -38% -57% -76% 2019 2020 2021 2022 2023 2024 2025 2026 Buy and holdSMA 크로스오버볼린저 밴드 돌파
볼린저 밴드 돌파 maximum drawdown -25.7% (2020-09-02 → 2024-03-20), recovered after 1,350 days.

Rules of the top strategy

Breaking above the upper band (average plus a multiple of volatility) signals a strong move up.

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 HK assetsAll asset reports

Read next