SleepWell Trade

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-08-31daily bars 2,075 (8.3 years)Costs 0.5%Venue BMFBOVESPAMonthly snapshot 2026-08-31

Results by strategy

10 of 10 beat buy and hold (CAGR -26.2%, drawdown -97.8%).

Sharpe leader (same as main): ADX / DI 방향성 — CAGR 4.3%, MDD -7.9%, Sharpe 0.61, 5% exposure.

CAGR reference leader: Donchian 채널 돌파 — CAGR 8.0%, MDD -25.2%, exposure 22%.

Return/drawdown alternative: ADX / DI 방향성 — CAGR is 30.5%p higher than buy and hold, while drawdown improves by 89.9%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.541.4x45%
Donchian 채널 돌파
entryN=92, exitN=26
8.0%-25.2%0.550.321.9x1022%
볼린저 밴드 돌파
n=39, k=1.8
5.8%-43.6%0.360.131.6x4231%
Supertrend
period=22, mult=3.1
5.7%-55.2%0.330.101.6x3850%
EMA 크로스오버
fast=45, slow=266
5.3%-54.2%0.330.101.5x430%
Keltner 채널 돌파
emaPeriod=37, atrPeriod=23, mult=2
3.4%-41.0%0.270.081.3x3226%
MACD
fast=22, slow=34, signal=19
2.6%-63.6%0.260.041.2x7050%
Parabolic SAR
step=0.01, maxStep=0.04
2.2%-53.1%0.230.041.2x7647%
SMA 크로스오버
fast=14, slow=38
-0.4%-66.1%0.17-0.011.0x4848%
ROC 모멘텀
n=30, threshold=-0.01
-0.0%-60.4%0.17-0.001.0x14250%
Buy and hold-26.2%-97.8%-0.24-0.270.1x1100%
0.1 1x 2019 2020 2021 2022 2023 2024 2025 2026 Donchian 채널 돌파ADX / DI 방향성Buy and hold
ADX / DI 방향성 (Sharpe leader), Donchian 채널 돌파 (CAGR reference), Buy and hold.
0% -24% -49% -73% -98% 2019 2020 2021 2022 2023 2024 2025 2026 Buy and holdDonchian 채널 돌파ADX / 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 carried forward from the latest full optimization and replayed on this monthly dataset. 0.5% trading costs are included; taxes, slippage and rejected orders are not.
Re-optimize the same period and setupMore BR assetsAll asset reports

Read next