Trend-Following Backtester · Guide · backtest 한국어
equity · KR
HANARO Fn K-반도체 backtest
10 trend-following strategies were compared on the full daily history of HANARO Fn K-반도체. 6 beat buy-and-hold CAGR; ADX / DI 방향성 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is MACD (CAGR 42.6%, MDD -25.2%).
Results by strategy
6 of 10 beat buy and hold (CAGR 41.6%, drawdown -53.5%).
Sharpe leader (same as main): ADX / DI 방향성 — CAGR 43.2%, MDD -25.5%, Sharpe 1.47, 34% exposure.
CAGR reference leader: SMA 크로스오버 — CAGR 51.3%, MDD -53.5%, exposure 55%.
Return/drawdown alternative: MACD — CAGR is 1.5%p higher than buy and hold, while drawdown improves by 28.0%p (CAGR 42.6%, MDD -25.2%, exposure 53%).
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 · parameters | CAGR | MDD | Sharpe | Calmar | Total | Trades | Exposure |
|---|---|---|---|---|---|---|---|
| ADX / DI 방향성 period=33, threshold=17 |
43.2% | -25.5% | 1.47 | 1.69 | 6.4x | 10 | 34% |
| MACD fast=24, slow=26, signal=18 |
42.6% | -25.2% | 1.46 | 1.69 | 6.3x | 47 | 53% |
| Supertrend period=11, mult=4.9 |
47.6% | -30.6% | 1.46 | 1.56 | 7.5x | 14 | 62% |
| 볼린저 밴드 돌파 n=58, k=2.8 |
41.0% | -30.6% | 1.42 | 1.34 | 5.9x | 6 | 32% |
| Donchian 채널 돌파 entryN=24, exitN=23 |
44.3% | -30.6% | 1.39 | 1.45 | 6.7x | 18 | 57% |
| SMA 크로스오버 fast=18, slow=176 |
51.3% | -53.5% | 1.33 | 0.96 | 8.5x | 3 | 55% |
| Keltner 채널 돌파 emaPeriod=64, atrPeriod=22, mult=0.7 |
40.4% | -31.7% | 1.31 | 1.28 | 5.8x | 33 | 56% |
| EMA 크로스오버 fast=23, slow=26 |
40.7% | -35.6% | 1.27 | 1.14 | 5.8x | 21 | 59% |
| ROC 모멘텀 n=115, threshold=0.07 |
43.3% | -53.5% | 1.19 | 0.81 | 6.4x | 27 | 53% |
| Parabolic SAR step=0.005, maxStep=0.16 |
30.9% | -29.1% | 1.16 | 1.06 | 4.0x | 45 | 58% |
| Buy and hold | 41.6% | -53.5% | 1.07 | 0.78 | 6.0x | 1 | 100% |
Rules of the top strategy
Looks at both the direction and the strength of the trend; holds only in a strong uptrend.
- Buy — Buy when up-direction (+DI) beats down-direction (−DI) and trend strength (ADX, 33-day) is ≥ 17
- Sell — Sell when direction flips or the trend weakens (ADX < 17)