SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · BR

Dimed S.A. Distribuidora de Medicamentos backtest

10 trend-following strategies were compared on the full daily history of Dimed S.A. Distribuidora de Medicamentos. 9 beat buy-and-hold CAGR; Donchian 채널 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 5.4%, MDD -28.4%).

Data 2000-01-03 ~ 2026-09-30daily bars 6,714 (26.7 years)Costs 0.5%Venue BMFBOVESPAMonthly snapshot 2026-09-30

Results by strategy

9 of 10 beat buy and hold (CAGR 0.9%, drawdown -98.0%).

Sharpe leader (same as main): Donchian 채널 돌파 — CAGR 16.3%, MDD -35.7%, Sharpe 0.81, 38% exposure.

CAGR reference leader: SMA 크로스오버 — CAGR 17.5%, MDD -60.8%, exposure 56%.

Return/drawdown alternative: ADX / DI 방향성 — CAGR is 15.5%p higher than buy and hold, while drawdown improves by 62.3%p (CAGR 5.4%, MDD -28.4%, exposure 12%).

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=114, exitN=37
16.3%-35.7%0.810.4657.2x4638%
SMA 크로스오버
fast=35, slow=164
17.5%-60.8%0.720.2974.4x4056%
Keltner 채널 돌파
emaPeriod=32, atrPeriod=10, mult=2.8
13.2%-39.1%0.710.3427.7x12236%
ROC 모멘텀
n=142, threshold=-0.04
17.4%-54.9%0.700.3272.8x16261%
EMA 크로스오버
fast=26, slow=130
15.5%-55.2%0.680.2847.7x4358%
볼린저 밴드 돌파
n=51, k=3.3
10.3%-38.4%0.670.2713.8x3220%
MACD
fast=29, slow=103, signal=24
10.9%-67.3%0.520.1615.7x16152%
ADX / DI 방향성
period=27, threshold=30
5.4%-28.4%0.520.194.0x4412%
Supertrend
period=16, mult=5
2.8%-86.0%0.240.032.1x18157%
Parabolic SAR
step=0.015, maxStep=0.12
-5.8%-97.1%0.12-0.060.2x33455%
Buy and hold0.9%-98.0%0.350.011.3x1100%
0.1 1x 10x 100x 2001 2005 2009 2013 2017 2021 2025 SMA 크로스오버Donchian 채널 돌파Buy and hold
Donchian 채널 돌파 (Sharpe leader), SMA 크로스오버 (CAGR reference), Buy and hold.
0% -25% -49% -74% -98% 2001 2005 2009 2013 2017 2021 2025 Buy and holdSMA 크로스오버Donchian 채널 돌파
Donchian 채널 돌파 maximum drawdown -35.7% (2020-03-04 → 2023-05-16), recovered after 2,172 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