Trend-Following Backtester · Guide · backtest 한국어
equity · PT
Banco Comercial Portugues S.A. backtest
10 trend-following strategies were compared on the full daily history of Banco Comercial Portugues S.A.. 10 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 1.6%, MDD -42.2%).
Results by strategy
10 of 10 beat buy and hold (CAGR -10.4%, drawdown -99.7%).
Sharpe leader (same as main): EMA 크로스오버 — CAGR 11.1%, MDD -48.5%, Sharpe 0.54, 48% exposure.
Return/drawdown alternative: ADX / DI 방향성 — CAGR is 21.5%p higher than buy and hold, while drawdown improves by 51.2%p (CAGR 1.6%, MDD -42.2%, exposure 10%).
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=58, slow=139 |
11.1% | -48.5% | 0.54 | 0.23 | 16.6x | 23 | 48% |
| Donchian 채널 돌파 entryN=101, exitN=69 |
10.3% | -55.1% | 0.54 | 0.19 | 13.9x | 25 | 42% |
| SMA 크로스오버 fast=58, slow=180 |
9.8% | -60.4% | 0.49 | 0.16 | 12.2x | 29 | 48% |
| ROC 모멘텀 n=116, threshold=-0.02 |
8.3% | -65.1% | 0.44 | 0.13 | 8.4x | 137 | 51% |
| Keltner 채널 돌파 emaPeriod=48, atrPeriod=29, mult=2.2 |
6.6% | -49.4% | 0.42 | 0.13 | 5.5x | 107 | 33% |
| 볼린저 밴드 돌파 n=36, k=1.4 |
6.3% | -49.5% | 0.39 | 0.13 | 5.1x | 169 | 36% |
| Supertrend period=10, mult=3.3 |
4.6% | -68.2% | 0.30 | 0.07 | 3.3x | 163 | 43% |
| ADX / DI 방향성 period=15, threshold=36 |
1.6% | -42.2% | 0.20 | 0.04 | 1.5x | 66 | 10% |
| MACD fast=18, slow=28, signal=18 |
-1.6% | -91.1% | 0.08 | -0.02 | 0.7x | 315 | 51% |
| Parabolic SAR step=0.025, maxStep=0.28 |
-3.6% | -96.1% | -0.00 | -0.04 | 0.4x | 599 | 50% |
| Buy and hold | -10.4% | -99.7% | -0.07 | -0.10 | 0.1x | 1 | 100% |
Rules of the top strategy
Uses two exponential averages (more weight on recent prices) and trades their crossover.
- Buy — Buy when the 58-day EMA crosses above the 139-day EMA
- Sell — Sell when the 58-day EMA falls below the 139-day EMA