Trend-Following Backtester · Guide · backtest 한국어
equity · KR
키움증권 backtest
10 trend-following strategies were compared on the full daily history of 키움증권. 3 beat buy-and-hold CAGR; ADX / DI 방향성 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Donchian 채널 돌파 (CAGR 18.2%, MDD -55.1%).
Results by strategy
3 of 10 beat buy and hold (CAGR 17.8%, drawdown -79.3%).
Sharpe leader (same as main): ADX / DI 방향성 — CAGR 16.1%, MDD -46.9%, Sharpe 0.69, 26% exposure.
CAGR reference leader: Donchian 채널 돌파 — CAGR 18.2%, MDD -55.1%, exposure 70%.
Return/drawdown alternative: Donchian 채널 돌파 — CAGR is 1.7%p lower than buy and hold, while drawdown improves by 32.4%p (CAGR 18.2%, MDD -55.1%, exposure 70%).
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=28, threshold=18 |
16.1% | -46.9% | 0.69 | 0.34 | 28.3x | 90 | 26% |
| ROC 모멘텀 n=93, threshold=0.1 |
18.0% | -60.3% | 0.68 | 0.30 | 40.8x | 190 | 40% |
| Keltner 채널 돌파 emaPeriod=44, atrPeriod=10, mult=3.2 |
13.4% | -59.5% | 0.64 | 0.23 | 16.9x | 58 | 22% |
| SMA 크로스오버 fast=29, slow=138 |
17.8% | -69.1% | 0.63 | 0.26 | 39.4x | 54 | 54% |
| Donchian 채널 돌파 entryN=41, exitN=71 |
18.2% | -55.1% | 0.63 | 0.33 | 42.5x | 42 | 70% |
| 볼린저 밴드 돌파 n=42, k=2.6 |
13.7% | -50.4% | 0.62 | 0.27 | 17.8x | 74 | 26% |
| Supertrend period=27, mult=4.7 |
15.1% | -75.6% | 0.59 | 0.20 | 23.4x | 68 | 52% |
| EMA 크로스오버 fast=19, slow=125 |
13.3% | -72.6% | 0.53 | 0.18 | 16.4x | 64 | 53% |
| MACD fast=19, slow=54, signal=18 |
8.2% | -73.9% | 0.41 | 0.11 | 5.8x | 225 | 51% |
| Parabolic SAR step=0.005, maxStep=0.26 |
6.3% | -80.9% | 0.35 | 0.08 | 3.9x | 176 | 52% |
| Buy and hold | 17.8% | -79.3% | 0.59 | 0.22 | 39.2x | 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, 28-day) is ≥ 18
- Sell — Sell when direction flips or the trend weakens (ADX < 18)