Trend-Following Backtester · Guide · backtest 한국어
equity · KR
한국가스공사 backtest
10 trend-following strategies were compared on the full daily history of 한국가스공사. 6 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 1.2%, MDD -16.8%).
Results by strategy
6 of 10 beat buy and hold (CAGR 0.8%, drawdown -80.4%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 5.7%, MDD -41.6%, Sharpe 0.34, 47% exposure.
Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 4.9%p higher than buy and hold, while drawdown improves by 38.8%p (CAGR 1.2%, MDD -16.8%, exposure 0%).
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=60, slow=131 |
5.7% | -41.6% | 0.34 | 0.14 | 4.4x | 46 | 47% |
| 볼린저 밴드 돌파 n=14, k=3.4 |
1.2% | -16.8% | 0.23 | 0.07 | 1.4x | 2 | 0% |
| Keltner 채널 돌파 emaPeriod=12, atrPeriod=9, mult=4 |
1.2% | -16.8% | 0.23 | 0.07 | 1.4x | 2 | 0% |
| Donchian 채널 돌파 entryN=104, exitN=85 |
2.2% | -60.8% | 0.21 | 0.04 | 1.8x | 30 | 47% |
| EMA 크로스오버 fast=75, slow=206 |
1.7% | -58.7% | 0.20 | 0.03 | 1.6x | 30 | 48% |
| ROC 모멘텀 n=128, threshold=0.01 |
1.4% | -59.2% | 0.19 | 0.02 | 1.5x | 216 | 46% |
| Parabolic SAR step=0.01, maxStep=0.1 |
0.3% | -61.9% | 0.14 | 0.00 | 1.1x | 324 | 49% |
| Supertrend period=13, mult=2.7 |
-0.3% | -73.6% | 0.12 | -0.00 | 0.9x | 205 | 48% |
| ADX / DI 방향성 period=19, threshold=29 |
0.4% | -38.8% | 0.09 | 0.01 | 1.1x | 48 | 6% |
| MACD fast=18, slow=43, signal=15 |
-2.2% | -74.8% | 0.05 | -0.03 | 0.6x | 306 | 49% |
| Buy and hold | 0.8% | -80.4% | 0.21 | 0.01 | 1.2x | 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 60-day average price crosses above the 131-day average
- Sell — Sell (to cash) when the 60-day average falls below the 131-day average