Trend-Following Backtester · Guide · backtest 한국어
equity · KR
S-Oil backtest
10 trend-following strategies were compared on the full daily history of S-Oil. 2 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is EMA 크로스오버 (CAGR 11.3%, MDD -52.0%).
Results by strategy
2 of 10 beat buy and hold (CAGR 10.0%, drawdown -76.9%).
Sharpe leader (same as main): EMA 크로스오버 — CAGR 11.3%, MDD -52.0%, Sharpe 0.51, 50% exposure.
Return/drawdown alternative: EMA 크로스오버 — CAGR is 1.3%p higher than buy and hold, while drawdown improves by 24.9%p (CAGR 11.3%, MDD -52.0%, exposure 50%).
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 |
|---|---|---|---|---|---|---|---|
| EMA 크로스오버 fast=5, slow=178 |
11.3% | -52.0% | 0.51 | 0.22 | 17.5x | 81 | 50% |
| SMA 크로스오버 fast=4, slow=193 |
10.8% | -55.1% | 0.49 | 0.20 | 15.5x | 83 | 48% |
| Supertrend period=17, mult=4.6 |
9.9% | -57.5% | 0.46 | 0.17 | 12.5x | 79 | 54% |
| Donchian 채널 돌파 entryN=27, exitN=56 |
7.9% | -74.0% | 0.40 | 0.11 | 7.7x | 77 | 63% |
| 볼린저 밴드 돌파 n=77, k=2.1 |
6.9% | -51.9% | 0.39 | 0.13 | 5.9x | 77 | 35% |
| ROC 모멘텀 n=148, threshold=0.12 |
7.0% | -70.7% | 0.38 | 0.10 | 6.1x | 143 | 36% |
| ADX / DI 방향성 period=35, threshold=14 |
6.2% | -56.1% | 0.36 | 0.11 | 5.0x | 129 | 31% |
| Keltner 채널 돌파 emaPeriod=55, atrPeriod=19, mult=3.7 |
3.8% | -43.6% | 0.28 | 0.09 | 2.7x | 60 | 23% |
| MACD fast=29, slow=72, signal=24 |
1.3% | -65.7% | 0.19 | 0.02 | 1.4x | 203 | 50% |
| Parabolic SAR step=0.02, maxStep=0.16 |
-2.4% | -83.7% | 0.06 | -0.03 | 0.5x | 541 | 49% |
| Buy and hold | 10.0% | -76.9% | 0.44 | 0.13 | 12.6x | 1 | 100% |
Rules of the top strategy
Uses two exponential averages (more weight on recent prices) and trades their crossover.
- Buy — Buy when the 5-day EMA crosses above the 178-day EMA
- Sell — Sell when the 5-day EMA falls below the 178-day EMA