Trend-Following Backtester · Guide · backtest 한국어
equity · PL
XTB Spolka Akcyjna backtest
10 trend-following strategies were compared on the full daily history of XTB Spolka Akcyjna. 5 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Donchian 채널 돌파 (CAGR 35.9%, MDD -47.3%).
Results by strategy
5 of 10 beat buy and hold (CAGR 27.5%, drawdown -80.1%).
Sharpe leader (same as main): EMA 크로스오버 — CAGR 36.6%, MDD -48.6%, Sharpe 0.99, 61% exposure.
Return/drawdown alternative: Donchian 채널 돌파 — CAGR is 9.1%p higher than buy and hold, while drawdown improves by 31.5%p (CAGR 35.9%, MDD -47.3%, exposure 68%).
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=13, slow=189 |
36.6% | -48.6% | 0.99 | 0.75 | 25.6x | 17 | 61% |
| SMA 크로스오버 fast=14, slow=171 |
35.2% | -56.2% | 0.97 | 0.63 | 23.1x | 25 | 58% |
| Donchian 채널 돌파 entryN=29, exitN=74 |
35.9% | -47.3% | 0.96 | 0.76 | 24.2x | 17 | 68% |
| Supertrend period=15, mult=4.8 |
30.3% | -55.8% | 0.92 | 0.54 | 15.6x | 26 | 50% |
| 볼린저 밴드 돌파 n=33, k=2.6 |
26.4% | -51.8% | 0.91 | 0.51 | 11.5x | 44 | 31% |
| Keltner 채널 돌파 emaPeriod=23, atrPeriod=24, mult=2.6 |
24.0% | -41.4% | 0.90 | 0.58 | 9.3x | 36 | 21% |
| ROC 모멘텀 n=125, threshold=-0.03 |
31.6% | -53.9% | 0.89 | 0.59 | 17.3x | 59 | 58% |
| ADX / DI 방향성 period=18, threshold=33 |
15.9% | -42.3% | 0.72 | 0.38 | 4.7x | 22 | 10% |
| MACD fast=21, slow=49, signal=17 |
10.7% | -76.9% | 0.46 | 0.14 | 2.9x | 100 | 53% |
| Parabolic SAR step=0.015, maxStep=0.12 |
9.0% | -70.7% | 0.42 | 0.13 | 2.5x | 152 | 50% |
| Buy and hold | 27.5% | -80.1% | 0.75 | 0.34 | 12.5x | 1 | 100% |
Rules of the top strategy
Uses two exponential averages (more weight on recent prices) and trades their crossover.
- Buy — Buy when the 13-day EMA crosses above the 189-day EMA
- Sell — Sell when the 13-day EMA falls below the 189-day EMA