SleepWell Trade

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. 2 beat buy-and-hold CAGR; 볼린저 밴드 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Supertrend (CAGR 6.3%, MDD -53.5%).

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

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

Sharpe leader (same as main): 볼린저 밴드 돌파 — CAGR 1.9%, MDD -6.1%, Sharpe 0.47, 2% exposure.

CAGR reference leader: Donchian 채널 돌파 — CAGR 9.1%, MDD -72.7%, exposure 83%.

Return/drawdown alternative: Supertrend — CAGR is 6.3%p lower than buy and hold, while drawdown improves by 79.3%p (CAGR 6.3%, MDD -53.5%, exposure 48%).

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
볼린저 밴드 돌파
n=19, k=3.5
1.9%-6.1%0.470.311.6x62%
Donchian 채널 돌파
entryN=18, exitN=100
9.1%-72.7%0.420.1210.2x4783%
Keltner 채널 돌파
emaPeriod=16, atrPeriod=8, mult=2.8
4.5%-42.7%0.410.113.2x447%
ROC 모멘텀
Hold-like · Exposure 99%
n=5, threshold=-0.12
8.3%-82.3%0.400.108.5x8399%
ADX / DI 방향성
period=33, threshold=32
2.5%-17.6%0.360.141.9x103%
Supertrend
period=24, mult=4
6.3%-53.5%0.360.125.1x10348%
SMA 크로스오버
fast=14, slow=32
6.3%-64.0%0.360.105.1x22954%
Parabolic SAR
step=0.005, maxStep=0.04
4.7%-76.3%0.310.063.5x19152%
EMA 크로스오버
fast=10, slow=50
4.1%-58.6%0.280.072.9x15955%
MACD
fast=18, slow=30, signal=16
3.6%-75.0%0.270.052.5x33653%
Buy and hold8.1%-85.4%0.400.108.1x1100%
1x 10x 2001 2005 2009 2013 2017 2021 2025 Donchian 채널 돌파볼린저 밴드 돌파Buy and hold
볼린저 밴드 돌파 (Sharpe leader), Donchian 채널 돌파 (CAGR reference), Buy and hold.
0% -21% -43% -64% -85% 2001 2005 2009 2013 2017 2021 2025 Buy and holdDonchian 채널 돌파볼린저 밴드 돌파
볼린저 밴드 돌파 maximum drawdown -6.1% (2018-10-26 → 2018-10-31), recovered after 21 days.

Rules of the top strategy

Breaking above the upper band (average plus a multiple of volatility) signals a strong move up.

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