SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · BR

Magazine Luiza S.A. backtest

10 trend-following strategies were compared on the full daily history of Magazine Luiza S.A.. 10 beat buy-and-hold CAGR; Donchian 채널 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Donchian 채널 돌파 (CAGR 32.5%, MDD -42.6%).

Data 2011-05-02 ~ 2026-09-30daily bars 3,834 (15.4 years)Costs 0.5%Venue BMFBOVESPAMonthly snapshot 2026-09-30

Results by strategy

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

Sharpe leader (same as main): Donchian 채널 돌파 — CAGR 32.5%, MDD -42.6%, Sharpe 1.10, 31% exposure.

CAGR reference leader: SMA 크로스오버 — CAGR 36.4%, MDD -67.6%, exposure 50%.

Return/drawdown alternative: Donchian 채널 돌파 — CAGR is 29.3%p higher than buy and hold, while drawdown improves by 55.9%p (CAGR 32.5%, MDD -42.6%, exposure 31%).

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
Donchian 채널 돌파
entryN=253, exitN=76
32.5%-42.6%1.100.7676.2x631%
Keltner 채널 돌파
emaPeriod=51, atrPeriod=27, mult=1.7
32.2%-61.9%0.980.5273.6x6338%
SMA 크로스오버
fast=16, slow=51
36.4%-67.6%0.970.54119.4x6150%
EMA 크로스오버
fast=48, slow=149
32.0%-51.3%0.940.6272.5x1244%
볼린저 밴드 돌파
n=58, k=1.1
31.4%-76.1%0.930.4167.0x5941%
ADX / DI 방향성
period=37, threshold=11
32.4%-71.1%0.910.4675.7x11943%
ROC 모멘텀
n=41, threshold=0.05
30.4%-75.2%0.870.4059.7x16344%
Supertrend
period=28, mult=3
25.5%-65.2%0.760.3933.3x10145%
Parabolic SAR
step=0.025, maxStep=0.1
16.6%-86.1%0.570.1910.6x28551%
MACD
fast=16, slow=59, signal=6
16.6%-76.1%0.560.2210.7x22950%
Buy and hold3.2%-98.4%0.360.031.6x1100%
0.1 1x 10x 100x 2012 2014 2016 2018 2020 2022 2024 2026 SMA 크로스오버Donchian 채널 돌파Buy and hold
Donchian 채널 돌파 (Sharpe leader), SMA 크로스오버 (CAGR reference), Buy and hold.
0% -25% -49% -74% -98% 2012 2014 2016 2018 2020 2022 2024 2026 Buy and holdSMA 크로스오버Donchian 채널 돌파
Donchian 채널 돌파 maximum drawdown -42.6% (2017-09-07 → 2017-11-10), recovered after 147 days.

Rules of the top strategy

A new high means a trend starting; a new low means it’s over (turtle-trading style).

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