Trend-Following Backtester · Guide · backtest 한국어
equity · ID
PT Perusahaan Gas Negara (Persero) Tbk Class B backtest
10 trend-following strategies were compared on the full daily history of PT Perusahaan Gas Negara (Persero) Tbk Class B. 9 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 8.9%, MDD -41.1%).
Results by strategy
9 of 10 beat buy and hold (CAGR 6.8%, drawdown -90.5%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 15.1%, MDD -49.0%, Sharpe 0.62, 53% exposure.
Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 8.3%p higher than buy and hold, while drawdown improves by 41.4%p (CAGR 8.9%, MDD -41.1%, exposure 25%).
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=15, slow=39 |
15.1% | -49.0% | 0.62 | 0.31 | 24.5x | 146 | 53% |
| EMA 크로스오버 fast=19, slow=37 |
13.8% | -52.0% | 0.59 | 0.27 | 19.0x | 106 | 51% |
| Donchian 채널 돌파 entryN=35, exitN=51 |
13.0% | -62.3% | 0.55 | 0.21 | 16.2x | 56 | 58% |
| ADX / DI 방향성 period=34, threshold=20 |
8.5% | -60.2% | 0.53 | 0.14 | 6.4x | 42 | 16% |
| 볼린저 밴드 돌파 n=43, k=2.4 |
8.9% | -41.1% | 0.50 | 0.22 | 7.0x | 78 | 25% |
| Keltner 채널 돌파 emaPeriod=21, atrPeriod=21, mult=3.7 |
6.0% | -30.6% | 0.48 | 0.20 | 3.8x | 36 | 10% |
| MACD fast=21, slow=59, signal=18 |
9.9% | -69.0% | 0.47 | 0.14 | 8.6x | 204 | 52% |
| Supertrend period=17, mult=5 |
9.6% | -49.2% | 0.46 | 0.20 | 8.1x | 62 | 55% |
| Parabolic SAR step=0.005, maxStep=0.32 |
9.0% | -62.6% | 0.44 | 0.14 | 7.1x | 156 | 51% |
| ROC 모멘텀 n=84, threshold=-0.03 |
9.2% | -67.2% | 0.44 | 0.14 | 7.4x | 206 | 59% |
| Buy and hold | 6.8% | -90.5% | 0.37 | 0.08 | 4.5x | 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 15-day average price crosses above the 39-day average
- Sell — Sell (to cash) when the 15-day average falls below the 39-day average