SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · CN

Chengdu Xuguang Electronics Co., Ltd. Class A backtest

10 trend-following strategies were compared on the full daily history of Chengdu Xuguang Electronics Co., Ltd. Class A. 3 beat buy-and-hold CAGR; MACD ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Supertrend (CAGR 14.5%, MDD -58.7%).

Data 2002-11-20 ~ 2026-07-31daily bars 5,812 (23.7 years)Costs 0.5%Venue SSEMonthly snapshot 2026-07-31

Results by strategy

3 of 10 beat buy and hold (CAGR 11.0%, drawdown -78.6%).

Sharpe leader (same as main): MACD — CAGR 14.5%, MDD -78.0%, Sharpe 0.56, 53% exposure.

CAGR reference leader: Supertrend — CAGR 14.5%, MDD -58.7%, exposure 49%.

Return/drawdown alternative: Supertrend — CAGR is 3.4%p higher than buy and hold, while drawdown improves by 0.6%p (CAGR 14.5%, MDD -58.7%, exposure 49%).

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=7, slow=34, signal=14
14.5%-78.0%0.560.1924.7x40453%
Supertrend
period=8, mult=2.6
14.5%-58.7%0.560.2524.7x18849%
Parabolic SAR
step=0.01, maxStep=0.36
13.1%-60.7%0.530.2218.4x28449%
ROC 모멘텀
n=144, threshold=-0.04
10.2%-66.2%0.450.159.9x16159%
SMA 크로스오버
fast=5, slow=168
9.4%-78.7%0.430.128.4x8152%
Donchian 채널 돌파
entryN=63, exitN=77
8.7%-79.6%0.410.117.2x3753%
볼린저 밴드 돌파
n=21, k=1.5
8.0%-84.0%0.400.106.2x25437%
EMA 크로스오버
fast=22, slow=181
7.9%-82.5%0.400.106.1x4553%
ADX / DI 방향성
period=13, threshold=26
6.8%-71.4%0.370.104.8x20027%
Keltner 채널 돌파
emaPeriod=53, atrPeriod=26, mult=1.7
5.6%-79.6%0.330.073.6x13837%
Buy and hold11.0%-78.6%0.470.1412.0x1100%
1x 10x 2003 2006 2009 2012 2015 2018 2021 2024 SupertrendMACDBuy and hold
MACD (Sharpe leader), Supertrend (CAGR reference), Buy and hold.
0% -20% -39% -59% -79% 2003 2006 2009 2012 2015 2018 2021 2024 Buy and holdSupertrendMACD
MACD maximum drawdown -78.0% (2016-08-26 → 2021-11-05), recovered after 3,553 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 carried forward from the latest full optimization and replayed on this monthly dataset. 0.5% trading costs are included; taxes, slippage and rejected orders are not.
Re-optimize the same period and setupMore CN assetsAll asset reports

Read next