Trend-Following Backtester · Guide · backtest 한국어

equity · KR

HD현대일렉트릭 backtest

10 trend-following strategies were compared on the full daily history of HD현대일렉트릭. 5 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Keltner 채널 돌파 (CAGR 37.3%, MDD -32.8%).

Data 2017-05-10 ~ 2026-07-31daily bars 2,258 (9.2 years)Costs 0.5%Venue XKRXMonthly snapshot 2026-07-31

Results by strategy

5 of 10 beat buy and hold (CAGR 31.0%, drawdown -93.1%).

Sharpe leader (same as main): EMA 크로스오버 — CAGR 56.4%, MDD -42.9%, Sharpe 1.23, 60% exposure.

Return/drawdown alternative: Keltner 채널 돌파 — CAGR is 25.4%p higher than buy and hold, while drawdown improves by 50.2%p (CAGR 37.3%, MDD -32.8%, exposure 48%).

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
EMA 크로스오버
fast=9, slow=184
56.4%-42.9%1.231.3262.0x860%
Donchian 채널 돌파
entryN=103, exitN=59
52.7%-43.0%1.191.2349.5x656%
SMA 크로스오버
fast=13, slow=179
52.7%-43.0%1.181.2349.7x1059%
ROC 모멘텀
n=140, threshold=0.13
47.0%-38.4%1.141.2235.0x5853%
Keltner 채널 돌파
emaPeriod=98, atrPeriod=20, mult=3.2
37.3%-32.8%0.991.1418.6x2048%
ADX / DI 방향성
period=44, threshold=17
24.7%-44.2%0.810.567.7x1631%
Supertrend
period=27, mult=4.3
25.8%-78.9%0.750.338.3x3660%
MACD
fast=23, slow=40, signal=9
24.3%-49.6%0.740.497.4x10651%
Parabolic SAR
step=0.015, maxStep=0.16
20.5%-60.8%0.660.345.6x15653%
볼린저 밴드 돌파
n=18, k=1.1
15.4%-52.5%0.570.293.8x14046%
Buy and hold31.0%-93.1%0.760.3312.1x1100%
0.1 1x 10x 100x 2018 2020 2022 2024 2026 EMA 크로스오버Buy and hold
EMA 크로스오버: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -23% -47% -70% -93% 2018 2020 2022 2024 2026 Buy and holdEMA 크로스오버
EMA 크로스오버 maximum drawdown -42.9% (2026-05-07 → 2026-07-10), prior peak not yet recovered.

Rules of the top strategy

Uses two exponential averages (more weight on recent prices) and trades their crossover.

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