Trend-Following Backtester · Guide · backtest 한국어

equity · BR

Companhia Brasileira de Aluminio backtest

10 trend-following strategies were compared on the full daily history of Companhia Brasileira de Aluminio. 10 beat buy-and-hold CAGR; 볼린저 밴드 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 11.8%, MDD -14.0%).

Data 2021-07-16 ~ 2026-07-31daily bars 1,259 (5.0 years)Costs 0.5%Venue BMFBOVESPAMonthly snapshot 2026-07-31

Results by strategy

10 of 10 beat buy and hold (CAGR -1.5%, drawdown -87.9%).

Sharpe leader (same as main): 볼린저 밴드 돌파 — CAGR 19.0%, MDD -14.7%, Sharpe 1.36, 13% exposure.

CAGR reference leader: MACD — CAGR 26.8%, MDD -56.9%, exposure 48%.

Return/drawdown alternative: ADX / DI 방향성 — CAGR is 20.5%p higher than buy and hold, while drawdown improves by 73.2%p (CAGR 11.8%, MDD -14.0%, exposure 16%).

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
볼린저 밴드 돌파
n=33, k=3.1
19.0%-14.7%1.361.292.4x413%
Donchian 채널 돌파
entryN=103, exitN=8
17.6%-18.8%1.090.942.3x1117%
ADX / DI 방향성
period=27, threshold=29
11.8%-14.0%1.060.851.8x316%
Keltner 채널 돌파
emaPeriod=23, atrPeriod=19, mult=2.8
19.4%-31.3%0.990.622.4x1421%
MACD
fast=10, slow=53, signal=18
26.8%-56.9%0.840.473.3x4948%
Parabolic SAR
step=0.01, maxStep=0.32
23.1%-57.6%0.770.402.9x6555%
SMA 크로스오버
fast=29, slow=206
15.6%-50.7%0.760.312.1x727%
ROC 모멘텀
n=40, threshold=0.04
16.6%-53.9%0.650.312.2x6437%
Supertrend
period=29, mult=4.3
15.9%-59.7%0.640.272.1x1741%
EMA 크로스오버
fast=42, slow=118
8.7%-61.6%0.440.141.5x933%
Buy and hold-1.5%-87.9%0.24-0.020.9x1100%
1x 2022 2023 2024 2025 2026 MACD볼린저 밴드 돌파Buy and hold
볼린저 밴드 돌파 (Sharpe leader), MACD (CAGR reference), Buy and hold.
0% -22% -44% -66% -88% 2022 2023 2024 2025 2026 Buy and holdMACD볼린저 밴드 돌파
볼린저 밴드 돌파 maximum drawdown -14.7% (2024-05-29 → 2025-12-02), recovered after 576 days.

Rules of the top strategy

Breaking above the upper band (average plus a multiple of volatility) signals a strong move up.

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