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 15.5%, MDD -58.7%).

Data 2002-11-20 ~ 2026-08-31daily bars 5,833 (23.8 years)Costs 0.5%Venue SSEMonthly snapshot 2026-08-31

Results by strategy

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

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

Return/drawdown alternative: Supertrend — CAGR is 2.4%p higher than buy and hold, while drawdown improves by 0.6%p (CAGR 15.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
15.8%-78.0%0.590.2032.9x40553%
Supertrend
period=8, mult=2.6
15.5%-58.7%0.580.2630.6x18949%
Parabolic SAR
step=0.01, maxStep=0.36
14.0%-60.7%0.550.2322.8x28549%
ROC 모멘텀
n=144, threshold=-0.04
12.5%-66.2%0.500.1916.4x16159%
SMA 크로스오버
fast=5, slow=168
11.7%-78.7%0.480.1513.9x8152%
Donchian 채널 돌파
entryN=63, exitN=77
11.0%-79.6%0.470.1412.0x3753%
EMA 크로스오버
fast=22, slow=181
10.2%-82.5%0.450.1210.1x4553%
볼린저 밴드 돌파
n=21, k=1.5
8.7%-84.0%0.420.107.3x25537%
ADX / DI 방향성
period=13, threshold=26
6.6%-71.4%0.370.094.6x20227%
Keltner 채널 돌파
emaPeriod=53, atrPeriod=26, mult=1.7
5.4%-79.6%0.330.073.5x13937%
Buy and hold13.4%-78.6%0.510.1719.8x1100%
1x 10x 2003 2006 2009 2012 2015 2018 2021 2024 MACDBuy and hold
MACD: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -20% -39% -59% -79% 2003 2006 2009 2012 2015 2018 2021 2024 Buy and holdMACD
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