Trend-Following Backtester · Guide · backtest 한국어
equity · BR
Hidrovias do Brasil SA backtest
10 trend-following strategies were compared on the full daily history of Hidrovias do Brasil SA. 10 beat buy-and-hold CAGR; ADX / DI 방향성 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 4.5%, MDD -10.8%).
Results by strategy
10 of 10 beat buy and hold (CAGR -12.6%, drawdown -77.1%).
Sharpe leader (same as main): ADX / DI 방향성 — CAGR 13.0%, MDD -18.5%, Sharpe 0.93, 10% exposure.
Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 25.6%p higher than buy and hold, while drawdown improves by 58.6%p (CAGR 4.5%, MDD -10.8%, exposure 3%).
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=24, threshold=25 |
13.0% | -18.5% | 0.93 | 0.70 | 2.1x | 4 | 10% |
| Keltner 채널 돌파 emaPeriod=52, atrPeriod=11, mult=3.7 |
11.1% | -18.6% | 0.74 | 0.60 | 1.9x | 4 | 13% |
| 볼린저 밴드 돌파 n=24, k=3.5 |
4.5% | -10.8% | 0.60 | 0.42 | 1.3x | 2 | 3% |
| ROC 모멘텀 n=29, threshold=0.14 |
6.1% | -36.1% | 0.43 | 0.17 | 1.4x | 48 | 16% |
| SMA 크로스오버 fast=20, slow=211 |
4.5% | -32.3% | 0.31 | 0.14 | 1.3x | 8 | 33% |
| EMA 크로스오버 fast=44, slow=195 |
4.2% | -27.5% | 0.29 | 0.15 | 1.3x | 4 | 35% |
| Donchian 채널 돌파 entryN=111, exitN=75 |
2.1% | -35.2% | 0.21 | 0.06 | 1.1x | 4 | 39% |
| Supertrend period=18, mult=4.6 |
1.6% | -50.5% | 0.20 | 0.03 | 1.1x | 15 | 48% |
| Parabolic SAR step=0.025, maxStep=0.32 |
-1.2% | -42.1% | 0.12 | -0.03 | 0.9x | 143 | 47% |
| MACD fast=22, slow=72, signal=18 |
-3.0% | -55.1% | 0.06 | -0.05 | 0.8x | 49 | 47% |
| Buy and hold | -12.6% | -77.1% | -0.08 | -0.16 | 0.4x | 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, 24-day) is ≥ 25
- Sell — Sell when direction flips or the trend weakens (ADX < 25)