Trend-Following Backtester · Guide · backtest 한국어

equity · BR

Direcional Engenharia S.A. backtest

10 trend-following strategies were compared on the full daily history of Direcional Engenharia S.A.. 1 beat buy-and-hold CAGR; MACD ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is MACD (CAGR 11.5%, MDD -51.4%).

Data 2009-11-19 ~ 2026-07-31daily bars 4,147 (16.7 years)Costs 0.5%Venue BMFBOVESPAMonthly snapshot 2026-07-31

Results by strategy

1 of 10 beat buy and hold (CAGR 7.2%, drawdown -81.3%).

Sharpe leader (same as main): MACD — CAGR 11.5%, MDD -51.4%, Sharpe 0.55, 50% exposure.

Return/drawdown alternative: MACD — CAGR is 4.4%p higher than buy and hold, while drawdown improves by 29.9%p (CAGR 11.5%, MDD -51.4%, exposure 50%).

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
MACD
fast=29, slow=47, signal=20
11.5%-51.4%0.550.226.2x13850%
Donchian 채널 돌파
entryN=61, exitN=24
5.1%-57.0%0.350.092.3x4837%
SMA 크로스오버
fast=46, slow=184
5.8%-72.8%0.340.082.6x2857%
EMA 크로스오버
fast=12, slow=135
5.7%-68.2%0.340.082.5x4656%
Keltner 채널 돌파
emaPeriod=44, atrPeriod=14, mult=2.2
4.8%-53.8%0.340.092.2x7632%
Supertrend
period=6, mult=4.6
5.4%-57.8%0.330.092.4x5453%
ROC 모멘텀
n=135, threshold=0.18
4.3%-52.3%0.310.082.0x12234%
볼린저 밴드 돌파
n=49, k=1.8
4.3%-53.1%0.300.082.0x8235%
Parabolic SAR
step=0.005, maxStep=0.14
4.1%-57.7%0.290.072.0x14851%
ADX / DI 방향성
period=21, threshold=31
2.2%-22.8%0.290.101.4x206%
Buy and hold7.2%-81.3%0.380.093.2x1100%
1x 2010 2013 2016 2019 2022 2025 MACDBuy and hold
MACD: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -20% -41% -61% -81% 2010 2013 2016 2019 2022 2025 Buy and holdMACD
MACD maximum drawdown -51.4% (2021-06-24 → 2022-06-07), recovered after 917 days.

Rules of the top strategy

Looks at the gap (MACD) between a short and long average crossing its own signal line.

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