Trend-Following Backtester · Guide · backtest 한국어
equity · BR
CPFL Energia S.A. backtest
10 trend-following strategies were compared on the full daily history of CPFL Energia S.A.. 0 beat buy-and-hold CAGR; Donchian 채널 돌파 ranks first by Sharpe, matching the main backtester.
Results by strategy
0 of 10 beat buy and hold (CAGR 21.3%, drawdown -62.9%).
Sharpe leader (same as main): Donchian 채널 돌파 — CAGR 3.3%, MDD -64.0%, Sharpe 0.27, 89% exposure.
CAGR reference leader: ROC 모멘텀 — CAGR 20.5%, MDD -64.3%, exposure 99%. It is hold-like at 95%+ exposure and is not used as the featured strategy.
No strategy retained at least 75% of buy-and-hold CAGR while reducing drawdown by both 20% relatively and 5 percentage points absolutely.
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=16, exitN=102 |
3.3% | -64.0% | 0.27 | 0.05 | 2.4x | 55 | 89% |
| ROC 모멘텀 Hold-like · Exposure 99% n=3, threshold=-0.12 |
20.5% | -64.3% | 0.24 | 0.32 | 146.4x | 29 | 99% |
| MACD fast=13, slow=43, signal=8 |
11.7% | -80.3% | 0.21 | 0.15 | 19.4x | 392 | 45% |
| SMA 크로스오버 fast=34, slow=190 |
12.7% | -48.6% | 0.20 | 0.26 | 24.5x | 44 | 58% |
| EMA 크로스오버 fast=75, slow=121 |
9.0% | -78.9% | 0.20 | 0.11 | 10.1x | 42 | 59% |
| ADX / DI 방향성 period=50, threshold=49 |
10.2% | -68.5% | 0.19 | 0.15 | 13.3x | 12 | 7% |
| Supertrend period=23, mult=5 |
4.8% | -94.2% | 0.19 | 0.05 | 3.5x | 75 | 56% |
| Keltner 채널 돌파 emaPeriod=9, atrPeriod=32, mult=4 |
3.3% | -93.7% | 0.18 | 0.04 | 2.4x | 26 | 14% |
| 볼린저 밴드 돌파 n=61, k=3.5 |
1.2% | -57.1% | 0.15 | 0.02 | 1.4x | 20 | 16% |
| Parabolic SAR step=0.015, maxStep=0.22 |
-8.4% | -93.6% | -0.14 | -0.09 | 0.1x | 398 | 52% |
| Buy and hold | 21.3% | -62.9% | 0.25 | 0.34 | 174.3x | 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 16 days
- Sell — Sell when price breaks below the lowest low of the last 102 days