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.7%, MDD -51.0%).

Data 2011-05-02 ~ 2026-07-31daily bars 3,792 (15.2 years)Costs 0.5%Venue BMFBOVESPAMonthly snapshot 2026-07-31

Results by strategy

10 of 10 beat buy and hold (CAGR 0.6%, drawdown -98.3%).

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

Return/drawdown alternative: ROC 모멘텀 — CAGR is 38.1%p higher than buy and hold, while drawdown improves by 47.2%p (CAGR 38.7%, 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.7%-51.0%1.110.76146.6x3639%
EMA 크로스오버
fast=49, slow=147
32.7%-51.0%0.950.6474.6x1244%
Keltner 채널 돌파
emaPeriod=52, atrPeriod=12, mult=1.5
28.7%-64.3%0.900.4546.8x7239%
볼린저 밴드 돌파
n=48, k=1.1
29.0%-71.8%0.880.4048.6x7041%
ADX / DI 방향성
period=37, threshold=11
30.1%-71.1%0.860.4255.1x11843%
Donchian 채널 돌파
entryN=20, exitN=51
32.5%-74.2%0.830.4473.3x4266%
SMA 크로스오버
fast=38, slow=104
25.9%-82.0%0.750.3233.3x2852%
Supertrend
period=21, mult=3.1
22.0%-70.4%0.700.3120.8x9646%
Parabolic SAR
step=0.005, maxStep=0.18
16.2%-73.9%0.560.229.9x13150%
MACD
fast=12, slow=52, signal=8
12.4%-80.5%0.480.156.0x23150%
Buy and hold0.6%-98.3%0.320.011.1x1100%
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 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