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

Data 2000-01-03 ~ 2026-07-31daily bars 6,672 (26.6 years)Costs 0.5%Venue BMFBOVESPAMonthly snapshot 2026-07-31

Results by strategy

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

Sharpe leader (same as main): Donchian 채널 돌파 — CAGR 15.6%, MDD -41.7%, Sharpe 0.78, 38% exposure.

CAGR reference leader: ROC 모멘텀 — CAGR 16.5%, MDD -58.2%, exposure 59%.

Return/drawdown alternative: ADX / DI 방향성 — CAGR is 15.0%p higher than buy and hold, while drawdown improves by 56.3%p (CAGR 5.0%, MDD -29.3%, 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=117, exitN=38
15.6%-41.7%0.780.3747.6x4638%
EMA 크로스오버
fast=21, slow=139
15.7%-59.8%0.690.2648.3x4458%
볼린저 밴드 돌파
n=51, k=3.3
10.4%-38.4%0.670.2713.8x3220%
ROC 모멘텀
n=142, threshold=-0.02
16.5%-58.2%0.670.2857.7x12459%
SMA 크로스오버
fast=48, slow=204
16.1%-55.5%0.670.2952.6x3257%
Keltner 채널 돌파
emaPeriod=32, atrPeriod=15, mult=3.7
11.5%-45.5%0.670.2518.0x9632%
ADX / DI 방향성
period=25, threshold=32
5.0%-29.3%0.500.173.7x5012%
MACD
fast=21, slow=60, signal=24
4.8%-69.2%0.310.073.5x20949%
Supertrend
period=19, mult=5
2.8%-85.9%0.240.032.1x17458%
Parabolic SAR
step=0.015, maxStep=0.12
-5.7%-97.1%0.13-0.060.2x33155%
Buy and hold0.6%-98.0%0.340.011.2x1100%
0.1 1x 10x 100x 2001 2005 2009 2013 2017 2021 2025 ROC 모멘텀Donchian 채널 돌파Buy and hold
Donchian 채널 돌파 (Sharpe leader), ROC 모멘텀 (CAGR reference), Buy and hold.
0% -25% -49% -74% -98% 2001 2005 2009 2013 2017 2021 2025 Buy and holdROC 모멘텀Donchian 채널 돌파
Donchian 채널 돌파 maximum drawdown -41.7% (2020-03-04 → 2025-12-09), prior peak not yet recovered.

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 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