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 6.0%, MDD -11.6%).
Results by strategy
10 of 10 beat buy and hold (CAGR -25.9%, drawdown -97.8%).
Sharpe leader (same as main): ADX / DI 방향성 — CAGR 6.0%, MDD -11.6%, Sharpe 0.68, 6% exposure.
CAGR reference leader: Supertrend — CAGR 10.0%, MDD -48.4%, exposure 46%.
Return/drawdown alternative: ADX / DI 방향성 — CAGR is 31.9%p higher than buy and hold, while drawdown improves by 86.2%p (CAGR 6.0%, MDD -11.6%, exposure 6%).
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=27, threshold=28 |
6.0% | -11.6% | 0.68 | 0.51 | 1.6x | 6 | 6% |
| Donchian 채널 돌파 entryN=62, exitN=26 |
7.7% | -39.5% | 0.48 | 0.20 | 1.9x | 14 | 28% |
| Supertrend period=29, mult=3 |
10.0% | -48.4% | 0.46 | 0.21 | 2.2x | 36 | 46% |
| EMA 크로스오버 fast=71, slow=233 |
8.5% | -54.2% | 0.45 | 0.16 | 2.0x | 4 | 31% |
| Keltner 채널 돌파 emaPeriod=37, atrPeriod=13, mult=3.7 |
4.4% | -22.1% | 0.45 | 0.20 | 1.4x | 6 | 9% |
| 볼린저 밴드 돌파 n=48, k=1.9 |
6.8% | -38.2% | 0.41 | 0.18 | 1.7x | 30 | 30% |
| SMA 크로스오버 fast=29, slow=50 |
4.0% | -56.9% | 0.28 | 0.07 | 1.4x | 38 | 46% |
| ROC 모멘텀 n=123, threshold=0.13 |
2.8% | -46.5% | 0.24 | 0.06 | 1.3x | 36 | 27% |
| MACD fast=16, slow=45, signal=20 |
0.0% | -64.8% | 0.18 | 0.00 | 1.0x | 69 | 50% |
| Parabolic SAR step=0.005, maxStep=0.36 |
-15.0% | -88.8% | -0.25 | -0.17 | 0.3x | 76 | 45% |
| Buy and hold | -25.9% | -97.8% | -0.23 | -0.27 | 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, 27-day) is ≥ 28
- Sell — Sell when direction flips or the trend weakens (ADX < 28)