Trend-Following Backtester · Guide · backtest 한국어
equity · KR
코스맥스 backtest
10 trend-following strategies were compared on the full daily history of 코스맥스. 1 beat buy-and-hold CAGR; Donchian 채널 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Donchian 채널 돌파 (CAGR 21.2%, MDD -51.7%).
Results by strategy
1 of 10 beat buy and hold (CAGR 12.0%, drawdown -80.9%).
Sharpe leader (same as main): Donchian 채널 돌파 — CAGR 21.2%, MDD -51.7%, Sharpe 0.66, 86% exposure.
Return/drawdown alternative: Donchian 채널 돌파 — CAGR is 9.2%p higher than buy and hold, while drawdown improves by 29.2%p (CAGR 21.2%, MDD -51.7%, exposure 86%).
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 |
|---|---|---|---|---|---|---|---|
| Donchian 채널 돌파 entryN=4, exitN=45 |
21.2% | -51.7% | 0.66 | 0.41 | 11.0x | 59 | 86% |
| ROC 모멘텀 n=174, threshold=0.07 |
10.2% | -48.8% | 0.46 | 0.21 | 3.4x | 71 | 48% |
| SMA 크로스오버 fast=30, slow=40 |
8.5% | -68.9% | 0.41 | 0.12 | 2.8x | 97 | 56% |
| MACD fast=23, slow=31, signal=17 |
8.0% | -74.0% | 0.40 | 0.11 | 2.6x | 136 | 53% |
| Supertrend period=16, mult=2.1 |
7.1% | -75.5% | 0.37 | 0.09 | 2.3x | 125 | 53% |
| EMA 크로스오버 fast=32, slow=42 |
7.0% | -68.3% | 0.37 | 0.10 | 2.3x | 49 | 53% |
| Keltner 채널 돌파 emaPeriod=13, atrPeriod=28, mult=3.5 |
2.3% | -14.6% | 0.35 | 0.16 | 1.3x | 8 | 3% |
| 볼린저 밴드 돌파 n=44, k=1.5 |
5.4% | -59.1% | 0.33 | 0.09 | 1.9x | 77 | 39% |
| ADX / DI 방향성 period=17, threshold=12 |
4.4% | -70.1% | 0.30 | 0.06 | 1.7x | 213 | 54% |
| Parabolic SAR step=0.03, maxStep=0.2 |
1.6% | -75.8% | 0.22 | 0.02 | 1.2x | 318 | 54% |
| Buy and hold | 12.0% | -80.9% | 0.48 | 0.15 | 4.1x | 1 | 100% |
Rules of the top strategy
A new high means a trend starting; a new low means it’s over (turtle-trading style).
- Buy — Buy on a breakout above the highest high of the last 4 days
- Sell — Sell when price breaks below the lowest low of the last 45 days