Trend-Following Backtester · Guide · backtest 한국어
equity · US
Nexa Resources S.A. backtest
10 trend-following strategies were compared on the full daily history of Nexa Resources S.A.. 10 beat buy-and-hold CAGR; ADX / DI 방향성 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 9.0%, MDD -22.9%).
Results by strategy
10 of 10 beat buy and hold (CAGR -4.0%, drawdown -87.2%).
Sharpe leader (same as main): ADX / DI 방향성 — CAGR 9.0%, MDD -22.9%, Sharpe 0.74, 4% exposure.
CAGR reference leader: ROC 모멘텀 — CAGR 10.7%, MDD -42.7%, exposure 21%.
Return/drawdown alternative: ADX / DI 방향성 — CAGR is 13.0%p higher than buy and hold, while drawdown improves by 64.3%p (CAGR 9.0%, MDD -22.9%, exposure 4%).
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=37 |
9.0% | -22.9% | 0.74 | 0.39 | 2.2x | 2 | 4% |
| ROC 모멘텀 n=144, threshold=0.28 |
10.7% | -42.7% | 0.49 | 0.25 | 2.5x | 32 | 21% |
| Donchian 채널 돌파 entryN=63, exitN=75 |
3.4% | -62.0% | 0.30 | 0.06 | 1.4x | 11 | 53% |
| Supertrend period=23, mult=3.2 |
3.3% | -60.1% | 0.29 | 0.05 | 1.3x | 46 | 49% |
| SMA 크로스오버 fast=57, slow=130 |
1.7% | -65.6% | 0.24 | 0.03 | 1.2x | 22 | 46% |
| EMA 크로스오버 fast=13, slow=26 |
0.9% | -69.8% | 0.23 | 0.01 | 1.1x | 74 | 50% |
| Keltner 채널 돌파 emaPeriod=17, atrPeriod=30, mult=3.3 |
2.1% | -33.0% | 0.21 | 0.06 | 1.2x | 8 | 4% |
| MACD fast=12, slow=23, signal=16 |
-1.7% | -71.6% | 0.17 | -0.02 | 0.9x | 138 | 51% |
| Parabolic SAR step=0.005, maxStep=0.1 |
-3.3% | -64.4% | 0.13 | -0.05 | 0.7x | 72 | 49% |
| 볼린저 밴드 돌파 n=46, k=2.7 |
-2.8% | -74.5% | 0.04 | -0.04 | 0.8x | 26 | 18% |
| Buy and hold | -4.0% | -87.2% | 0.23 | -0.05 | 0.7x | 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 ≥ 37
- Sell — Sell when direction flips or the trend weakens (ADX < 37)