Trend-Following Backtester · Guide · backtest 한국어
equity · BR
Porto Seguro S.A. backtest
10 trend-following strategies were compared on the full daily history of Porto Seguro S.A.. 0 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is EMA 크로스오버 (CAGR 12.4%, MDD -46.8%).
Results by strategy
0 of 10 beat buy and hold (CAGR 12.9%, drawdown -62.3%).
Sharpe leader (same as main): EMA 크로스오버 — CAGR 12.4%, MDD -46.8%, Sharpe 0.64, 67% exposure.
Return/drawdown alternative: EMA 크로스오버 — CAGR is 0.5%p lower than buy and hold, while drawdown improves by 15.4%p (CAGR 12.4%, MDD -46.8%, exposure 67%).
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=37, slow=204 |
12.4% | -46.8% | 0.64 | 0.27 | 12.9x | 22 | 67% |
| Supertrend period=14, mult=4.4 |
10.2% | -49.4% | 0.58 | 0.21 | 8.4x | 68 | 60% |
| ROC 모멘텀 n=116, threshold=0.02 |
9.9% | -51.0% | 0.56 | 0.19 | 7.9x | 152 | 59% |
| SMA 크로스오버 fast=56, slow=188 |
10.0% | -49.1% | 0.55 | 0.20 | 8.0x | 27 | 63% |
| Donchian 채널 돌파 entryN=19, exitN=41 |
9.3% | -51.9% | 0.50 | 0.18 | 7.0x | 76 | 73% |
| 볼린저 밴드 돌파 n=34, k=1.8 |
7.0% | -43.7% | 0.49 | 0.16 | 4.4x | 142 | 38% |
| Keltner 채널 돌파 emaPeriod=24, atrPeriod=21, mult=3.6 |
3.1% | -23.2% | 0.41 | 0.13 | 2.0x | 30 | 10% |
| Parabolic SAR step=0.01, maxStep=0.12 |
5.9% | -55.4% | 0.38 | 0.11 | 3.5x | 300 | 53% |
| MACD fast=14, slow=66, signal=17 |
5.6% | -48.3% | 0.37 | 0.12 | 3.3x | 244 | 51% |
| ADX / DI 방향성 period=17, threshold=35 |
1.3% | -26.4% | 0.22 | 0.05 | 1.3x | 34 | 7% |
| Buy and hold | 12.9% | -62.3% | 0.56 | 0.21 | 14.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 37-day EMA crosses above the 204-day EMA
- Sell — Sell when the 37-day EMA falls below the 204-day EMA