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%).

Data 2018-04-26 ~ 2026-07-31daily bars 2,054 (8.3 years)Costs 0.5%Venue BMFBOVESPAMonthly snapshot 2026-07-31

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 · parametersCAGRMDDSharpeCalmarTotalTradesExposure
ADX / DI 방향성
period=26, threshold=30
4.3%-7.9%0.610.551.4x45%
Donchian 채널 돌파
entryN=92, exitN=26
8.1%-25.2%0.550.321.9x1022%
볼린저 밴드 돌파
n=39, k=1.8
7.9%-42.6%0.440.181.9x4031%
Supertrend
period=22, mult=3.1
8.4%-55.2%0.410.151.9x3650%
SMA 크로스오버
fast=14, slow=38
6.8%-54.9%0.370.121.7x4748%
EMA 크로스오버
fast=45, slow=266
5.3%-54.2%0.330.101.5x430%
MACD
fast=22, slow=34, signal=19
4.8%-63.6%0.320.081.5x6950%
Parabolic SAR
step=0.01, maxStep=0.04
4.8%-53.1%0.310.091.5x7448%
Keltner 채널 돌파
emaPeriod=37, atrPeriod=23, mult=2
3.5%-41.0%0.270.081.3x3227%
ROC 모멘텀
n=30, threshold=-0.01
1.8%-60.4%0.220.031.2x14150%
Buy and hold-21.6%-97.0%-0.15-0.220.1x1100%
0.1 1x 2019 2020 2021 2022 2023 2024 2025 2026 SupertrendADX / DI 방향성Buy and hold
ADX / DI 방향성 (Sharpe leader), Supertrend (CAGR reference), Buy and hold.
0% -24% -48% -73% -97% 2019 2020 2021 2022 2023 2024 2025 2026 Buy and holdSupertrendADX / DI 방향성
ADX / DI 방향성 maximum drawdown -7.9% (2019-09-02 → 2019-09-09), recovered after 21 days.

Rules of the top strategy

Looks at both the direction and the strength of the trend; holds only in a strong uptrend.

Method and caveats

Past performance does not guarantee future returns. Parameters were selected on the same full-history sample using sharpe over 40 trials per strategy, so results contain in-sample bias. 0.5% trading costs are included; taxes, slippage and rejected orders are not.
Re-run the same setupAll asset reports

Read next