SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · CN

Anji Microelectronics Technology (Shanghai) Co.Ltd. Class A backtest

10 trend-following strategies were compared on the full daily history of Anji Microelectronics Technology (Shanghai) Co.Ltd. Class A. 5 beat buy-and-hold CAGR; MACD ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is MACD (CAGR 29.5%, MDD -45.1%).

Data 2019-07-22 ~ 2026-09-30daily bars 1,747 (7.2 years)Costs 0.5%Venue SSEMonthly snapshot 2026-09-30

Results by strategy

5 of 10 beat buy and hold (CAGR 22.4%, drawdown -65.2%).

Sharpe leader (same as main): MACD — CAGR 29.5%, MDD -45.1%, Sharpe 0.81, 47% exposure.

Return/drawdown alternative: MACD — CAGR is 7.1%p higher than buy and hold, while drawdown improves by 20.0%p (CAGR 29.5%, MDD -45.1%, exposure 47%).

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
MACD
fast=20, slow=52, signal=22
29.5%-45.1%0.810.656.4x5647%
EMA 크로스오버
fast=10, slow=32
26.6%-48.1%0.750.555.5x4053%
SMA 크로스오버
fast=12, slow=42
24.7%-52.2%0.720.474.9x4654%
ROC 모멘텀
n=27, threshold=-0.01
24.4%-53.8%0.710.454.8x11456%
볼린저 밴드 돌파
n=40, k=1.2
20.9%-51.7%0.670.403.9x5243%
Donchian 채널 돌파
entryN=9, exitN=18
22.7%-57.0%0.670.404.3x4364%
ADX / DI 방향성
period=24, threshold=8
20.3%-52.4%0.630.393.8x7666%
Keltner 채널 돌파
emaPeriod=35, atrPeriod=27, mult=0.8
15.6%-40.6%0.560.382.8x7245%
Supertrend
period=12, mult=4
9.0%-64.1%0.420.141.9x2864%
Parabolic SAR
step=0.015, maxStep=0.12
8.7%-54.6%0.410.161.8x11848%
Buy and hold22.4%-65.2%0.640.344.3x1100%
1x 2020 2021 2022 2023 2024 2025 2026 MACDBuy and hold
MACD: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -16% -33% -49% -65% 2020 2021 2022 2023 2024 2025 2026 Buy and holdMACD
MACD maximum drawdown -45.1% (2020-07-14 → 2021-05-12), recovered after 491 days.

Rules of the top strategy

Looks at the gap (MACD) between a short and long average crossing its own signal line.

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

Read next