Trend-Following Backtester · Guide · backtest 한국어
equity · KR
에스피지 backtest
10 trend-following strategies were compared on the full daily history of 에스피지. 5 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 12.9%, MDD -41.2%).
Results by strategy
5 of 10 beat buy and hold (CAGR 9.5%, drawdown -81.3%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 16.4%, MDD -64.6%, Sharpe 0.59, 47% exposure.
Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 6.9%p higher than buy and hold, while drawdown improves by 16.7%p (CAGR 12.9%, MDD -41.2%, exposure 20%).
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=29, slow=82 |
16.4% | -64.6% | 0.59 | 0.25 | 39.5x | 71 | 47% |
| Donchian 채널 돌파 entryN=138, exitN=80 |
14.9% | -55.6% | 0.55 | 0.27 | 28.5x | 22 | 39% |
| 볼린저 밴드 돌파 n=57, k=3 |
12.9% | -41.2% | 0.55 | 0.31 | 18.6x | 42 | 20% |
| EMA 크로스오버 fast=40, slow=66 |
14.0% | -54.0% | 0.53 | 0.26 | 23.7x | 56 | 50% |
| Supertrend period=29, mult=4 |
11.3% | -73.3% | 0.47 | 0.15 | 13.4x | 75 | 45% |
| Keltner 채널 돌파 emaPeriod=48, atrPeriod=17, mult=2.5 |
8.8% | -52.7% | 0.42 | 0.17 | 7.8x | 84 | 26% |
| ROC 모멘텀 n=96, threshold=-0.02 |
9.1% | -70.7% | 0.41 | 0.13 | 8.2x | 242 | 54% |
| MACD fast=31, slow=56, signal=37 |
8.3% | -73.5% | 0.40 | 0.11 | 6.8x | 151 | 51% |
| ADX / DI 방향성 period=20, threshold=28 |
6.2% | -53.9% | 0.36 | 0.11 | 4.3x | 62 | 15% |
| Parabolic SAR step=0.015, maxStep=0.1 |
-2.5% | -89.0% | 0.12 | -0.03 | 0.5x | 391 | 48% |
| Buy and hold | 9.5% | -81.3% | 0.43 | 0.12 | 9.1x | 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 29-day average price crosses above the 82-day average
- Sell — Sell (to cash) when the 29-day average falls below the 82-day average