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 Donchian 채널 돌파 (CAGR 11.6%, MDD -43.7%).
Results by strategy
0 of 10 beat buy and hold (CAGR 13.8%, drawdown -62.3%).
Sharpe leader (same as main): EMA 크로스오버 — CAGR 12.6%, MDD -52.9%, Sharpe 0.65, 67% exposure.
Return/drawdown alternative: Donchian 채널 돌파 — CAGR is 1.1%p lower than buy and hold, while drawdown improves by 9.4%p (CAGR 11.6%, MDD -43.7%, exposure 64%).
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=42, slow=180 |
12.6% | -52.9% | 0.65 | 0.24 | 13.2x | 23 | 67% |
| Donchian 채널 돌파 entryN=107, exitN=105 |
11.6% | -43.7% | 0.63 | 0.27 | 10.9x | 19 | 64% |
| Supertrend period=14, mult=4.4 |
10.8% | -49.4% | 0.60 | 0.22 | 9.3x | 67 | 60% |
| SMA 크로스오버 fast=54, slow=214 |
11.4% | -44.4% | 0.60 | 0.26 | 10.3x | 25 | 62% |
| 볼린저 밴드 돌파 n=31, k=2.9 |
6.4% | -24.7% | 0.58 | 0.26 | 3.9x | 58 | 20% |
| ROC 모멘텀 n=122, threshold=-0.03 |
9.4% | -49.1% | 0.52 | 0.19 | 7.0x | 153 | 67% |
| Keltner 채널 돌파 emaPeriod=28, atrPeriod=11, mult=2.9 |
4.3% | -38.7% | 0.42 | 0.11 | 2.5x | 64 | 19% |
| MACD fast=19, slow=63, signal=13 |
6.1% | -48.3% | 0.39 | 0.13 | 3.6x | 241 | 51% |
| Parabolic SAR step=0.01, maxStep=0.3 |
5.9% | -50.7% | 0.38 | 0.12 | 3.5x | 299 | 53% |
| ADX / DI 방향성 period=27, threshold=7 |
1.9% | -59.9% | 0.19 | 0.03 | 1.5x | 344 | 58% |
| Buy and hold | 13.8% | -62.3% | 0.59 | 0.22 | 16.4x | 1 | 100% |
Rules of the top strategy
Uses two exponential averages (more weight on recent prices) and trades their crossover.
- Buy — Buy when the 42-day EMA crosses above the 180-day EMA
- Sell — Sell when the 42-day EMA falls below the 180-day EMA