SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · HK

KunLun Energy Co. Ltd. backtest

10 trend-following strategies were compared on the full daily history of KunLun Energy Co. Ltd.. 3 beat buy-and-hold CAGR; MACD ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Supertrend (CAGR 10.2%, MDD -55.1%).

Data 2000-01-04 ~ 2026-08-31daily bars 6,644 (26.7 years)Costs 0.5%Venue HKEXMonthly snapshot 2026-08-31

Results by strategy

3 of 10 beat buy and hold (CAGR 8.1%, drawdown -82.3%).

Sharpe leader (same as main): MACD — CAGR 11.2%, MDD -66.0%, Sharpe 0.52, 51% exposure.

Return/drawdown alternative: Supertrend — CAGR is 3.1%p higher than buy and hold, while drawdown improves by 16.3%p (CAGR 10.2%, MDD -55.1%, exposure 50%).

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=29, slow=45, signal=23
11.2%-66.0%0.520.1717.1x19951%
ADX / DI 방향성
period=23, threshold=17
9.6%-56.7%0.500.1711.6x16431%
Supertrend
period=9, mult=3.5
10.2%-55.1%0.480.1813.3x11550%
볼린저 밴드 돌파
n=23, k=3.2
5.8%-28.1%0.450.214.4x4810%
Keltner 채널 돌파
emaPeriod=22, atrPeriod=28, mult=3.2
5.5%-36.8%0.400.154.2x7214%
Donchian 채널 돌파
entryN=40, exitN=61
7.4%-74.8%0.390.106.7x5963%
EMA 크로스오버
fast=19, slow=183
6.5%-72.8%0.370.095.4x6053%
SMA 크로스오버
fast=15, slow=158
6.0%-78.7%0.350.084.8x7851%
Parabolic SAR
step=0.005, maxStep=0.26
5.5%-83.5%0.330.074.2x19549%
ROC 모멘텀
n=149, threshold=0.01
3.3%-75.7%0.260.042.4x22751%
Buy and hold8.1%-82.3%0.400.108.0x1100%
1x 10x 2001 2005 2009 2013 2017 2021 2025 MACDBuy and hold
MACD: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -21% -41% -62% -82% 2001 2005 2009 2013 2017 2021 2025 Buy and holdMACD
MACD maximum drawdown -66.0% (2007-10-26 → 2009-01-15), recovered after 727 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 HK assetsAll asset reports

Read next