Trend-Following Backtester · Guide · backtest 한국어
equity · BR
Hapvida Participacoes e Investimentos SA backtest
10 trend-following strategies were compared on the full daily history of Hapvida Participacoes e Investimentos SA. 10 beat buy-and-hold CAGR; ADX / DI 방향성 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 4.3%, MDD -7.9%).
Results by strategy
10 of 10 beat buy and hold (CAGR -21.6%, drawdown -97.0%).
Sharpe leader (same as main): ADX / DI 방향성 — CAGR 4.3%, MDD -7.9%, Sharpe 0.61, 5% exposure.
CAGR reference leader: Supertrend — CAGR 8.4%, MDD -55.2%, exposure 50%.
Return/drawdown alternative: ADX / DI 방향성 — CAGR is 25.9%p higher than buy and hold, while drawdown improves by 89.1%p (CAGR 4.3%, MDD -7.9%, exposure 5%).
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=26, threshold=30 |
4.3% | -7.9% | 0.61 | 0.55 | 1.4x | 4 | 5% |
| Donchian 채널 돌파 entryN=92, exitN=26 |
8.1% | -25.2% | 0.55 | 0.32 | 1.9x | 10 | 22% |
| 볼린저 밴드 돌파 n=39, k=1.8 |
7.9% | -42.6% | 0.44 | 0.18 | 1.9x | 40 | 31% |
| Supertrend period=22, mult=3.1 |
8.4% | -55.2% | 0.41 | 0.15 | 1.9x | 36 | 50% |
| SMA 크로스오버 fast=14, slow=38 |
6.8% | -54.9% | 0.37 | 0.12 | 1.7x | 47 | 48% |
| EMA 크로스오버 fast=45, slow=266 |
5.3% | -54.2% | 0.33 | 0.10 | 1.5x | 4 | 30% |
| MACD fast=22, slow=34, signal=19 |
4.8% | -63.6% | 0.32 | 0.08 | 1.5x | 69 | 50% |
| Parabolic SAR step=0.01, maxStep=0.04 |
4.8% | -53.1% | 0.31 | 0.09 | 1.5x | 74 | 48% |
| Keltner 채널 돌파 emaPeriod=37, atrPeriod=23, mult=2 |
3.5% | -41.0% | 0.27 | 0.08 | 1.3x | 32 | 27% |
| ROC 모멘텀 n=30, threshold=-0.01 |
1.8% | -60.4% | 0.22 | 0.03 | 1.2x | 141 | 50% |
| Buy and hold | -21.6% | -97.0% | -0.15 | -0.22 | 0.1x | 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, 26-day) is ≥ 30
- Sell — Sell when direction flips or the trend weakens (ADX < 30)