SleepWell Trade

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.. 6 beat buy-and-hold CAGR; 볼린저 밴드 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Keltner 채널 돌파 (CAGR 6.8%, MDD -39.3%).

Data 2007-02-12 ~ 2026-09-30daily bars 4,875 (19.6 years)Costs 0.5%Venue BMFBOVESPAMonthly snapshot 2026-09-30

Results by strategy

6 of 10 beat buy and hold (CAGR 4.2%, drawdown -75.1%).

Sharpe leader (same as main): 볼린저 밴드 돌파 — CAGR 8.0%, MDD -47.5%, Sharpe 0.46, 38% exposure.

Return/drawdown alternative: Keltner 채널 돌파 — CAGR is 3.8%p higher than buy and hold, while drawdown improves by 27.7%p (CAGR 6.8%, MDD -39.3%, exposure 32%).

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=29, k=1.5
8.0%-47.5%0.460.174.5x15038%
Keltner 채널 돌파
emaPeriod=28, atrPeriod=9, mult=1.7
6.8%-39.3%0.430.173.6x12432%
Parabolic SAR
step=0.005, maxStep=0.04
7.3%-51.4%0.410.144.0x14252%
MACD
fast=22, slow=30, signal=20
6.0%-62.7%0.350.103.1x19851%
Supertrend
period=9, mult=3.4
5.4%-48.5%0.340.112.8x9653%
SMA 크로스오버
fast=8, slow=25
4.6%-55.6%0.310.082.4x20652%
ADX / DI 방향성
period=16, threshold=37
2.5%-17.8%0.290.141.6x347%
Donchian 채널 돌파
entryN=23, exitN=76
2.4%-52.9%0.240.051.6x4576%
EMA 크로스오버
fast=8, slow=28
0.4%-59.8%0.150.011.1x16851%
ROC 모멘텀
n=127, threshold=-0.02
-0.0%-67.1%0.14-0.001.0x14859%
Buy and hold4.2%-75.1%0.310.062.2x1100%
1x 2008 2011 2014 2017 2020 2023 2026 볼린저 밴드 돌파Buy and hold
볼린저 밴드 돌파: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -19% -38% -56% -75% 2008 2011 2014 2017 2020 2023 2026 Buy and hold볼린저 밴드 돌파
볼린저 밴드 돌파 maximum drawdown -47.5% (2017-02-03 → 2019-11-08), recovered after 1,469 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 120 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 setupMore BR assetsAll asset reports

Read next