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.. 9 beat buy-and-hold CAGR; Donchian 채널 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 0.5%, MDD -6.0%).
Results by strategy
9 of 10 beat buy and hold (CAGR -0.3%, drawdown -94.7%).
Sharpe leader (same as main): Donchian 채널 돌파 — CAGR 3.9%, MDD -62.2%, Sharpe 0.28, 82% exposure.
Return/drawdown alternative: ADX / DI 방향성 — CAGR is 4.1%p higher than buy and hold, while drawdown improves by 32.5%p (CAGR 0.5%, MDD -6.0%, exposure 1%).
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 |
|---|---|---|---|---|---|---|---|
| Donchian 채널 돌파 entryN=22, exitN=97 |
3.9% | -62.2% | 0.28 | 0.06 | 7.8x | 100 | 82% |
| ADX / DI 방향성 period=51, threshold=27 |
0.5% | -6.0% | 0.27 | 0.09 | 1.3x | 2 | 1% |
| EMA 크로스오버 fast=58, slow=192 |
2.2% | -54.9% | 0.22 | 0.04 | 3.3x | 64 | 60% |
| Supertrend period=9, mult=4.8 |
2.3% | -55.6% | 0.22 | 0.04 | 3.4x | 160 | 54% |
| MACD fast=28, slow=59, signal=29 |
0.4% | -77.6% | 0.13 | 0.01 | 1.2x | 404 | 51% |
| SMA 크로스오버 fast=31, slow=117 |
0.2% | -89.4% | 0.11 | 0.00 | 1.1x | 156 | 57% |
| ROC 모멘텀 n=3, threshold=0.23 |
0.8% | -25.5% | 0.11 | 0.03 | 1.5x | 36 | 0% |
| 볼린저 밴드 돌파 n=12, k=3 |
0.2% | -9.7% | 0.08 | 0.02 | 1.1x | 16 | 1% |
| Keltner 채널 돌파 emaPeriod=34, atrPeriod=25, mult=4 |
-0.2% | -50.4% | 0.02 | -0.00 | 0.9x | 78 | 10% |
| Parabolic SAR step=0.005, maxStep=0.1 |
-2.9% | -91.1% | -0.05 | -0.03 | 0.2x | 452 | 54% |
| Buy and hold | -0.3% | -94.7% | 0.17 | -0.00 | 0.9x | 1 | 100% |
Rules of the top strategy
A new high means a trend starting; a new low means it’s over (turtle-trading style).
- Buy — Buy on a breakout above the highest high of the last 22 days
- Sell — Sell when price breaks below the lowest low of the last 97 days