Trend-Following Backtester · Guide · backtest 한국어

equity · BR

Sao Martinho S.A. backtest

10 trend-following strategies were compared on the full daily history of Sao Martinho S.A.. 5 beat buy-and-hold CAGR; 볼린저 밴드 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 2.5%, MDD -16.8%).

Data 2007-02-12 ~ 2026-07-31daily bars 4,833 (19.5 years)Costs 0.5%Venue BMFBOVESPAMonthly snapshot 2026-07-31

Results by strategy

5 of 10 beat buy and hold (CAGR 3.2%, drawdown -75.1%).

Sharpe leader (same as main): 볼린저 밴드 돌파 — CAGR 6.9%, MDD -49.5%, Sharpe 0.42, 37% exposure.

CAGR reference leader: Parabolic SAR — CAGR 7.1%, MDD -51.4%, exposure 52%.

Return/drawdown alternative: ADX / DI 방향성 — CAGR is 3.7%p higher than buy and hold, while drawdown improves by 25.6%p (CAGR 2.5%, MDD -16.8%, exposure 8%).

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=28, k=1.6
6.9%-49.5%0.420.143.7x14837%
Parabolic SAR
step=0.005, maxStep=0.04
7.1%-51.4%0.400.143.8x14052%
Keltner 채널 돌파
emaPeriod=34, atrPeriod=15, mult=1.8
5.8%-50.9%0.390.113.0x11032%
MACD
fast=13, slow=59, signal=20
4.7%-58.6%0.310.082.4x21851%
Supertrend
period=15, mult=2.9
4.1%-44.3%0.290.092.2x12451%
ADX / DI 방향성
period=15, threshold=37
2.5%-16.8%0.280.151.6x388%
SMA 크로스오버
fast=41, slow=107
3.0%-68.6%0.250.041.8x5853%
Donchian 채널 돌파
entryN=30, exitN=76
2.8%-52.5%0.250.051.7x4074%
ROC 모멘텀
n=88, threshold=-0.05
-1.3%-67.8%0.10-0.020.8x21664%
EMA 크로스오버
fast=40, slow=66
-2.6%-72.2%0.03-0.040.6x6253%
Buy and hold3.2%-75.1%0.280.041.8x1100%
1x 2008 2011 2014 2017 2020 2023 2026 Parabolic SAR볼린저 밴드 돌파Buy and hold
볼린저 밴드 돌파 (Sharpe leader), Parabolic SAR (CAGR reference), Buy and hold.
0% -19% -38% -56% -75% 2008 2011 2014 2017 2020 2023 2026 Buy and holdParabolic SAR볼린저 밴드 돌파
볼린저 밴드 돌파 maximum drawdown -49.5% (2017-02-03 → 2019-11-08), recovered after 1,718 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