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 19.6%, MDD -14.5%).

Data 2018-07-09 ~ 2026-07-31daily bars 1,984 (8.1 years)Costs 0.5%Venue HKEXMonthly snapshot 2026-07-31

Results by strategy

10 of 10 beat buy and hold (CAGR 6.8%, drawdown -76.1%).

Sharpe leader (same as main): 볼린저 밴드 돌파 — CAGR 19.6%, MDD -14.5%, Sharpe 1.15, 13% exposure.

CAGR reference leader: SMA 크로스오버 — CAGR 32.3%, MDD -38.2%, exposure 52%.

Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 12.8%p higher than buy and hold, while drawdown improves by 61.5%p (CAGR 19.6%, MDD -14.5%, exposure 13%).

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=32, k=3.5
19.6%-14.5%1.151.354.2x613%
Donchian 채널 돌파
entryN=82, exitN=15
22.8%-30.1%1.010.765.2x1420%
SMA 크로스오버
fast=15, slow=211
32.3%-38.2%1.000.849.5x652%
Keltner 채널 돌파
emaPeriod=51, atrPeriod=8, mult=3.4
23.7%-30.4%0.990.785.6x1425%
ROC 모멘텀
n=142, threshold=0.06
27.2%-45.0%0.920.607.0x4646%
ADX / DI 방향성
period=30, threshold=14
23.7%-42.6%0.920.565.6x3931%
EMA 크로스오버
fast=56, slow=149
27.5%-40.9%0.900.677.1x651%
Supertrend
period=12, mult=3.8
19.3%-42.5%0.730.454.2x2943%
MACD
fast=14, slow=54, signal=19
13.8%-62.5%0.560.222.8x8351%
Parabolic SAR
step=0.015, maxStep=0.38
6.9%-71.2%0.370.101.7x13548%
Buy and hold6.8%-76.1%0.380.091.7x1100%
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 -14.5% (2020-07-13 → 2024-03-20), recovered after 1,383 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 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