Trend-Following Backtester · Guide · backtest 한국어

equity · KR

한미반도체 backtest

10 trend-following strategies were compared on the full daily history of 한미반도체. 4 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Donchian 채널 돌파 (CAGR 33.5%, MDD -55.9%).

Data 2005-07-25 ~ 2026-07-31daily bars 5,195 (21.0 years)Costs 0.5%Venue XKRXMonthly snapshot 2026-07-31

Results by strategy

4 of 10 beat buy and hold (CAGR 25.9%, drawdown -85.3%).

Sharpe leader (same as main): SMA 크로스오버 — CAGR 32.6%, MDD -59.1%, Sharpe 0.86, 62% exposure.

CAGR reference leader: Donchian 채널 돌파 — CAGR 33.5%, MDD -55.9%, exposure 77%.

Return/drawdown alternative: Donchian 채널 돌파 — CAGR is 6.7%p higher than buy and hold, while drawdown improves by 26.3%p (CAGR 33.5%, MDD -55.9%, exposure 77%).

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
SMA 크로스오버
fast=53, slow=168
32.6%-59.1%0.860.55374.4x2562%
Donchian 채널 돌파
entryN=17, exitN=59
33.5%-55.9%0.860.60433.9x5077%
ROC 모멘텀
n=142, threshold=0.04
29.6%-59.1%0.810.50233.5x9158%
EMA 크로스오버
fast=48, slow=155
29.8%-60.3%0.810.49239.9x2161%
Supertrend
period=28, mult=4
25.8%-67.1%0.770.38124.7x7853%
볼린저 밴드 돌파
n=52, k=1
22.8%-44.0%0.730.5274.6x12646%
Keltner 채널 돌파
emaPeriod=55, atrPeriod=20, mult=2.1
21.5%-45.6%0.720.4759.5x9039%
Parabolic SAR
step=0.005, maxStep=0.38
22.6%-55.3%0.720.4172.6x15051%
ADX / DI 방향성
period=33, threshold=7
19.6%-62.8%0.630.3143.3x22860%
MACD
fast=18, slow=43, signal=18
8.9%-69.2%0.410.136.0x24451%
Buy and hold25.9%-85.3%0.690.30126.2x1100%
1x 10x 100x 2006 2009 2012 2015 2018 2021 2024 Donchian 채널 돌파SMA 크로스오버Buy and hold
SMA 크로스오버 (Sharpe leader), Donchian 채널 돌파 (CAGR reference), Buy and hold.
0% -21% -43% -64% -85% 2006 2009 2012 2015 2018 2021 2024 Buy and holdDonchian 채널 돌파SMA 크로스오버
SMA 크로스오버 maximum drawdown -59.1% (2026-05-14 → 2026-07-29), prior peak not yet recovered.

Rules of the top strategy

When the short average rises above the long average, it reads that as an uptrend starting.

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 setupAll asset reports

Read next