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 Keltner 채널 돌파 (CAGR 5.5%, MDD -12.1%).

Data 2020-09-25 ~ 2026-07-31daily bars 1,455 (5.8 years)Costs 0.5%Venue BMFBOVESPAMonthly snapshot 2026-07-31

Results by strategy

10 of 10 beat buy and hold (CAGR -13.8%, drawdown -77.1%).

Sharpe leader (same as main): ADX / DI 방향성 — CAGR 11.9%, MDD -18.5%, Sharpe 0.89, 9% exposure.

Return/drawdown alternative: Keltner 채널 돌파 — CAGR is 25.7%p higher than buy and hold, while drawdown improves by 58.6%p (CAGR 5.5%, MDD -12.1%, exposure 4%).

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=22, threshold=28
11.9%-18.5%0.890.651.9x49%
Keltner 채널 돌파
emaPeriod=14, atrPeriod=11, mult=2.6
5.5%-12.1%0.600.461.4x44%
볼린저 밴드 돌파
n=53, k=1.7
7.8%-26.9%0.470.291.6x1625%
EMA 크로스오버
fast=16, slow=184
4.4%-39.7%0.300.111.3x835%
ROC 모멘텀
n=66, threshold=0.11
3.9%-37.6%0.300.101.3x6421%
SMA 크로스오버
fast=24, slow=183
3.9%-34.9%0.290.111.3x833%
Donchian 채널 돌파
entryN=49, exitN=76
0.1%-46.7%0.150.001.0x850%
Supertrend
period=12, mult=4.8
-0.6%-52.2%0.12-0.011.0x1547%
Parabolic SAR
step=0.025, maxStep=0.28
-1.4%-42.1%0.11-0.030.9x13847%
MACD
fast=13, slow=52, signal=16
-11.4%-68.5%-0.23-0.170.5x7848%
Buy and hold-13.8%-77.1%-0.11-0.180.4x1100%
1x 2021 2022 2023 2024 2025 2026 ADX / DI 방향성Buy and hold
ADX / DI 방향성: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -19% -39% -58% -77% 2021 2022 2023 2024 2025 2026 Buy and holdADX / DI 방향성
ADX / DI 방향성 maximum drawdown -18.5% (2023-06-19 → 2023-07-04), recovered after 35 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