Trend-Following Backtester · Guide · backtest 한국어
equity · KR
NHN backtest
10 trend-following strategies were compared on the full daily history of NHN. 9 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 1.2%, MDD -24.0%).
Results by strategy
9 of 10 beat buy and hold (CAGR -2.1%, drawdown -78.5%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 7.8%, MDD -51.1%, Sharpe 0.39, 47% exposure.
Return/drawdown alternative: ADX / DI 방향성 — CAGR is 9.9%p higher than buy and hold, while drawdown improves by 27.4%p (CAGR 1.2%, MDD -24.0%, exposure 5%).
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 |
|---|---|---|---|---|---|---|---|
| SMA 크로스오버 fast=54, slow=87 |
7.8% | -51.1% | 0.39 | 0.15 | 2.7x | 41 | 47% |
| 볼린저 밴드 돌파 n=12, k=2.5 |
4.1% | -29.0% | 0.31 | 0.14 | 1.7x | 56 | 9% |
| Supertrend period=23, mult=3.2 |
3.7% | -60.1% | 0.27 | 0.06 | 1.6x | 74 | 43% |
| EMA 크로스오버 fast=39, slow=211 |
1.7% | -70.1% | 0.21 | 0.02 | 1.3x | 17 | 36% |
| ADX / DI 방향성 period=14, threshold=37 |
1.2% | -24.0% | 0.17 | 0.05 | 1.2x | 20 | 5% |
| Keltner 채널 돌파 emaPeriod=13, atrPeriod=14, mult=2.3 |
1.3% | -36.1% | 0.16 | 0.04 | 1.2x | 40 | 8% |
| Parabolic SAR step=0.005, maxStep=0.06 |
-0.5% | -58.9% | 0.14 | -0.01 | 0.9x | 112 | 49% |
| Donchian 채널 돌파 entryN=17, exitN=38 |
-2.0% | -71.5% | 0.12 | -0.03 | 0.8x | 61 | 62% |
| MACD fast=16, slow=22, signal=18 |
-1.9% | -63.4% | 0.10 | -0.03 | 0.8x | 156 | 50% |
| ROC 모멘텀 n=140, threshold=0.09 |
-2.6% | -72.9% | 0.05 | -0.04 | 0.7x | 89 | 30% |
| Buy and hold | -2.1% | -78.5% | 0.17 | -0.03 | 0.8x | 1 | 100% |
Rules of the top strategy
When the short average rises above the long average, it reads that as an uptrend starting.
- Buy — Buy when the 54-day average price crosses above the 87-day average
- Sell — Sell (to cash) when the 54-day average falls below the 87-day average