Trend-Following Backtester · Guide · backtest 한국어
equity · BR
Companhia Paranaense de Energia backtest
10 trend-following strategies were compared on the full daily history of Companhia Paranaense de Energia. 1 beat buy-and-hold CAGR; Supertrend ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Supertrend (CAGR 10.3%, MDD -56.9%).
Results by strategy
1 of 10 beat buy and hold (CAGR 10.2%, drawdown -75.4%).
Sharpe leader (same as main): Supertrend — CAGR 10.3%, MDD -56.9%, Sharpe 0.53, 53% exposure.
Return/drawdown alternative: Supertrend — CAGR is 0.1%p higher than buy and hold, while drawdown improves by 18.5%p (CAGR 10.3%, MDD -56.9%, exposure 53%).
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 |
|---|---|---|---|---|---|---|---|
| Supertrend period=8, mult=4.3 |
10.3% | -56.9% | 0.53 | 0.18 | 13.7x | 93 | 53% |
| 볼린저 밴드 돌파 n=56, k=2.5 |
6.7% | -43.0% | 0.46 | 0.16 | 5.7x | 68 | 28% |
| Donchian 채널 돌파 entryN=23, exitN=30 |
9.1% | -57.5% | 0.46 | 0.16 | 10.3x | 105 | 62% |
| MACD fast=33, slow=66, signal=37 |
8.6% | -62.2% | 0.46 | 0.14 | 9.1x | 153 | 51% |
| SMA 크로스오버 fast=14, slow=32 |
8.8% | -56.6% | 0.46 | 0.16 | 9.5x | 233 | 55% |
| EMA 크로스오버 fast=51, slow=236 |
7.7% | -69.7% | 0.41 | 0.11 | 7.3x | 33 | 63% |
| Parabolic SAR step=0.005, maxStep=0.02 |
6.9% | -61.8% | 0.39 | 0.11 | 5.9x | 127 | 57% |
| ADX / DI 방향성 period=21, threshold=32 |
2.0% | -21.1% | 0.31 | 0.10 | 1.7x | 26 | 5% |
| Keltner 채널 돌파 emaPeriod=59, atrPeriod=9, mult=3.2 |
2.9% | -50.1% | 0.25 | 0.06 | 2.1x | 89 | 31% |
| ROC 모멘텀 n=130, threshold=-0.04 |
2.9% | -87.4% | 0.25 | 0.03 | 2.2x | 215 | 69% |
| Buy and hold | 10.2% | -75.4% | 0.45 | 0.14 | 13.4x | 1 | 100% |
Rules of the top strategy
Trades the direction of a volatility-based trend line that trails below/above price.
- Buy — Buy when price moves above the trend line (flips up) — 8-day volatility, 4.3× band
- Sell — Sell when price drops below the trend line (flips down)