Trend-Following Backtester · Guide · backtest 한국어
equity · US
DLocal Limited backtest
10 trend-following strategies were compared on the full daily history of DLocal Limited. 8 beat buy-and-hold CAGR; ADX / DI 방향성 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 7.5%, MDD -22.6%).
Results by strategy
8 of 10 beat buy and hold (CAGR -13.9%, drawdown -90.0%).
Sharpe leader (same as main): ADX / DI 방향성 — CAGR 7.5%, MDD -22.6%, Sharpe 0.46, 10% exposure.
Return/drawdown alternative: ADX / DI 방향성 — CAGR is 21.4%p higher than buy and hold, while drawdown improves by 67.4%p (CAGR 7.5%, MDD -22.6%, 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 |
|---|---|---|---|---|---|---|---|
| ADX / DI 방향성 period=21, threshold=31 |
7.5% | -22.6% | 0.46 | 0.33 | 1.5x | 6 | 10% |
| SMA 크로스오버 fast=27, slow=113 |
3.1% | -41.2% | 0.27 | 0.08 | 1.2x | 15 | 32% |
| Supertrend period=23, mult=4.5 |
2.3% | -54.8% | 0.26 | 0.04 | 1.1x | 11 | 37% |
| 볼린저 밴드 돌파 n=11, k=2.4 |
1.1% | -38.3% | 0.17 | 0.03 | 1.1x | 28 | 12% |
| EMA 크로스오버 fast=38, slow=41 |
-2.8% | -50.8% | 0.14 | -0.06 | 0.9x | 15 | 38% |
| ROC 모멘텀 n=39, threshold=0.07 |
-3.1% | -50.3% | 0.10 | -0.06 | 0.9x | 69 | 31% |
| Donchian 채널 돌파 entryN=42, exitN=40 |
-11.9% | -65.5% | -0.10 | -0.18 | 0.5x | 15 | 44% |
| Keltner 채널 돌파 emaPeriod=55, atrPeriod=13, mult=2.2 |
-8.3% | -48.2% | -0.11 | -0.17 | 0.6x | 19 | 23% |
| Parabolic SAR step=0.02, maxStep=0.14 |
-24.9% | -88.5% | -0.25 | -0.28 | 0.2x | 104 | 46% |
| MACD fast=15, slow=23, signal=15 |
-23.2% | -88.8% | -0.30 | -0.26 | 0.3x | 64 | 48% |
| Buy and hold | -13.9% | -90.0% | 0.18 | -0.15 | 0.5x | 1 | 100% |
Rules of the top strategy
Looks at both the direction and the strength of the trend; holds only in a strong uptrend.
- Buy — Buy when up-direction (+DI) beats down-direction (−DI) and trend strength (ADX, 21-day) is ≥ 31
- Sell — Sell when direction flips or the trend weakens (ADX < 31)