SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · CN

Shanghai Electric Power Co., Ltd. Class A backtest

10 trend-following strategies were compared on the full daily history of Shanghai Electric Power Co., Ltd. Class A. 9 beat buy-and-hold CAGR; 볼린저 밴드 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 16.4%, MDD -36.1%).

Data 2003-10-29 ~ 2026-08-31daily bars 5,588 (22.8 years)Costs 0.5%Venue SSEMonthly snapshot 2026-08-31

Results by strategy

9 of 10 beat buy and hold (CAGR 3.9%, drawdown -81.7%).

Sharpe leader (same as main): 볼린저 밴드 돌파 — CAGR 16.4%, MDD -36.1%, Sharpe 0.79, 16% exposure.

Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 12.4%p higher than buy and hold, while drawdown improves by 45.6%p (CAGR 16.4%, MDD -36.1%, exposure 16%).

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=54, k=3.5
16.4%-36.1%0.790.4531.8x2216%
Keltner 채널 돌파
emaPeriod=47, atrPeriod=13, mult=3.4
13.8%-49.9%0.670.2819.0x4220%
ADX / DI 방향성
period=18, threshold=36
11.3%-46.9%0.660.2411.6x3410%
Donchian 채널 돌파
entryN=78, exitN=16
11.8%-62.4%0.590.1912.8x4621%
SMA 크로스오버
fast=44, slow=126
12.7%-54.6%0.560.2315.4x4643%
Supertrend
period=22, mult=4.2
10.1%-64.3%0.490.168.9x7646%
EMA 크로스오버
fast=54, slow=59
6.4%-78.7%0.360.084.1x6444%
ROC 모멘텀
n=90, threshold=0.07
5.5%-76.5%0.330.073.4x20831%
Parabolic SAR
step=0.005, maxStep=0.2
4.6%-71.7%0.300.062.8x15547%
MACD
fast=20, slow=68, signal=12
0.3%-74.2%0.160.001.1x24753%
Buy and hold3.9%-81.7%0.300.052.4x1100%
1x 10x 2004 2007 2010 2013 2016 2019 2022 2025 볼린저 밴드 돌파Buy and hold
볼린저 밴드 돌파: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -20% -41% -61% -82% 2004 2007 2010 2013 2016 2019 2022 2025 Buy and hold볼린저 밴드 돌파
볼린저 밴드 돌파 maximum drawdown -36.1% (2015-05-26 → 2020-07-24), recovered after 2,313 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 setupMore CN assetsAll asset reports

Read next