Trend-Following Backtester · Guide · backtest 한국어

equity · BR

Companhia Energetica de Minas Gerais SA backtest

10 trend-following strategies were compared on the full daily history of Companhia Energetica de Minas Gerais SA. 0 beat buy-and-hold CAGR; Keltner 채널 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Donchian 채널 돌파 (CAGR 6.6%, MDD -41.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

0 of 10 beat buy and hold (CAGR 8.1%, drawdown -85.4%).

Sharpe leader (same as main): Keltner 채널 돌파 — CAGR 4.4%, MDD -42.5%, Sharpe 0.41, 7% exposure.

CAGR reference leader: Donchian 채널 돌파 — CAGR 6.6%, MDD -41.3%, exposure 47%.

Return/drawdown alternative: Donchian 채널 돌파 — CAGR is 3.7%p lower than buy and hold, while drawdown improves by 42.9%p (CAGR 6.6%, MDD -41.3%, exposure 47%).

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
Keltner 채널 돌파
emaPeriod=19, atrPeriod=15, mult=3.2
4.4%-42.5%0.410.103.2x387%
Donchian 채널 돌파
entryN=37, exitN=27
6.6%-41.3%0.370.165.4x10347%
볼린저 밴드 돌파
n=27, k=3.5
2.5%-21.7%0.370.121.9x123%
ADX / DI 방향성
period=33, threshold=32
2.5%-17.6%0.360.141.9x103%
SMA 크로스오버
fast=7, slow=118
6.1%-49.3%0.350.124.8x10358%
Supertrend
period=24, mult=4.5
5.9%-55.8%0.340.114.6x8451%
MACD
fast=17, slow=28, signal=19
4.1%-73.4%0.280.062.9x32552%
EMA 크로스오버
fast=21, slow=210
4.0%-70.9%0.280.062.9x6157%
ROC 모멘텀
n=110, threshold=-0.13
3.6%-83.4%0.280.042.5x17378%
Parabolic SAR
step=0.005, maxStep=0.2
3.2%-80.4%0.250.042.3x21351%
Buy and hold8.1%-85.4%0.400.097.9x1100%
1x 2001 2005 2009 2013 2017 2021 2025 Donchian 채널 돌파Keltner 채널 돌파Buy and hold
Keltner 채널 돌파 (Sharpe leader), Donchian 채널 돌파 (CAGR reference), Buy and hold.
0% -21% -43% -64% -85% 2001 2005 2009 2013 2017 2021 2025 Buy and holdDonchian 채널 돌파Keltner 채널 돌파
Keltner 채널 돌파 maximum drawdown -42.5% (2012-04-27 → 2016-07-07), recovered after 1,761 days.

Rules of the top strategy

Breaking above the channel top (average plus a multiple of volatility) signals an upside breakout.

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