Trend-Following Backtester · Guide · backtest 한국어
equity · US
Pacific Gas & Electric Co. backtest
10 trend-following strategies were compared on the full daily history of Pacific Gas & Electric Co.. 5 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 0.3%, MDD -17.6%).
Results by strategy
5 of 10 beat buy and hold (CAGR 0.4%, drawdown -94.7%).
Sharpe leader (same as main): EMA 크로스오버 — CAGR 2.8%, MDD -43.0%, Sharpe 0.26, 58% exposure.
Return/drawdown alternative: ADX / DI 방향성 — CAGR is 2.4%p higher than buy and hold, while drawdown improves by 51.7%p (CAGR 0.3%, MDD -17.6%, exposure 2%).
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=53, slow=292 |
2.8% | -43.0% | 0.26 | 0.06 | 4.4x | 49 | 58% |
| ROC 모멘텀 Hold-like · Exposure 96% n=14, threshold=-0.1 |
2.2% | -80.8% | 0.22 | 0.03 | 3.3x | 207 | 96% |
| Supertrend period=15, mult=4.8 |
1.8% | -60.0% | 0.19 | 0.03 | 2.7x | 160 | 54% |
| Donchian 채널 돌파 entryN=69, exitN=74 |
1.8% | -70.8% | 0.19 | 0.03 | 2.6x | 87 | 61% |
| SMA 크로스오버 fast=75, slow=217 |
1.1% | -71.4% | 0.15 | 0.02 | 1.8x | 77 | 60% |
| ADX / DI 방향성 period=34, threshold=29 |
0.3% | -17.6% | 0.12 | 0.02 | 1.2x | 12 | 2% |
| MACD fast=38, slow=88, signal=24 |
0.2% | -82.7% | 0.11 | 0.00 | 1.1x | 365 | 51% |
| 볼린저 밴드 돌파 n=11, k=3 |
-0.0% | -7.6% | 0.01 | -0.00 | 1.0x | 4 | 0% |
| Keltner 채널 돌파 emaPeriod=52, atrPeriod=29, mult=3.7 |
-0.7% | -66.9% | -0.01 | -0.01 | 0.7x | 126 | 20% |
| Parabolic SAR step=0.005, maxStep=0.34 |
-2.9% | -91.5% | -0.04 | -0.03 | 0.2x | 453 | 54% |
| Buy and hold | 0.4% | -94.7% | 0.19 | 0.00 | 1.2x | 1 | 100% |
Rules of the top strategy
Uses two exponential averages (more weight on recent prices) and trades their crossover.
- Buy — Buy when the 53-day EMA crosses above the 292-day EMA
- Sell — Sell when the 53-day EMA falls below the 292-day EMA