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; ROC 모멘텀 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ROC 모멘텀 (CAGR 38.4%, MDD -51.0%).

Data 2011-05-02 ~ 2026-08-31daily bars 3,813 (15.3 years)Costs 0.5%Venue BMFBOVESPAMonthly snapshot 2026-08-31

Results by strategy

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

Sharpe leader (same as main): ROC 모멘텀 — CAGR 38.4%, MDD -51.0%, Sharpe 1.10, 39% exposure.

Return/drawdown alternative: ROC 모멘텀 — CAGR is 38.2%p higher than buy and hold, while drawdown improves by 47.4%p (CAGR 38.4%, MDD -51.0%, exposure 39%).

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
ROC 모멘텀
n=221, threshold=0.13
38.4%-51.0%1.100.75146.6x3639%
EMA 크로스오버
fast=49, slow=147
32.5%-51.0%0.940.6474.6x1244%
Keltner 채널 돌파
emaPeriod=52, atrPeriod=12, mult=1.5
28.5%-64.3%0.900.4446.8x7239%
볼린저 밴드 돌파
n=48, k=1.1
28.8%-71.8%0.880.4048.6x7041%
ADX / DI 방향성
period=37, threshold=11
29.9%-71.1%0.860.4255.1x11843%
Donchian 채널 돌파
entryN=20, exitN=51
32.3%-74.2%0.830.4473.3x4266%
SMA 크로스오버
fast=38, slow=104
25.7%-82.0%0.750.3133.3x2851%
Supertrend
period=21, mult=3.1
22.0%-70.4%0.700.3121.1x9745%
Parabolic SAR
step=0.005, maxStep=0.18
15.1%-73.9%0.540.208.6x13250%
MACD
fast=12, slow=52, signal=8
11.6%-80.5%0.470.145.4x23350%
Buy and hold0.3%-98.4%0.310.001.0x1100%
0.1 1x 10x 100x 2012 2014 2016 2018 2020 2022 2024 2026 ROC 모멘텀Buy and hold
ROC 모멘텀: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -25% -49% -74% -98% 2012 2014 2016 2018 2020 2022 2024 2026 Buy and holdROC 모멘텀
ROC 모멘텀 maximum drawdown -51.0% (2020-02-17 → 2020-03-18), recovered after 98 days.

Rules of the top strategy

Rides the trend when recent return (momentum) over a window is above a threshold.

Method and caveats

Past performance does not guarantee future returns. Parameters were carried forward from the latest full optimization and replayed on this monthly dataset. 0.5% trading costs are included; taxes, slippage and rejected orders are not.
Re-optimize the same period and setupMore BR assetsAll asset reports

Read next