SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · BR

CPFL Energia S.A. backtest

10 trend-following strategies were compared on the full daily history of CPFL Energia S.A.. 0 beat buy-and-hold CAGR; Donchian 채널 돌파 ranks first by Sharpe, matching the main backtester.

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

0 of 10 beat buy and hold (CAGR 21.3%, drawdown -62.9%).

Sharpe leader (same as main): Donchian 채널 돌파 — CAGR 3.3%, MDD -64.0%, Sharpe 0.27, 89% exposure.

CAGR reference leader: ROC 모멘텀 — CAGR 20.5%, MDD -64.3%, exposure 99%. It is hold-like at 95%+ exposure and is not used as the featured strategy.

No strategy retained at least 75% of buy-and-hold CAGR while reducing drawdown by both 20% relatively and 5 percentage points absolutely.

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=16, exitN=102
3.3%-64.0%0.270.052.4x5589%
ROC 모멘텀
Hold-like · Exposure 99%
n=3, threshold=-0.12
20.5%-64.3%0.240.32146.4x2999%
MACD
fast=13, slow=43, signal=8
11.7%-80.3%0.210.1519.4x39245%
SMA 크로스오버
fast=34, slow=190
12.7%-48.6%0.200.2624.5x4458%
EMA 크로스오버
fast=75, slow=121
9.0%-78.9%0.200.1110.1x4259%
ADX / DI 방향성
period=50, threshold=49
10.2%-68.5%0.190.1513.3x127%
Supertrend
period=23, mult=5
4.8%-94.2%0.190.053.5x7556%
Keltner 채널 돌파
emaPeriod=9, atrPeriod=32, mult=4
3.3%-93.7%0.180.042.4x2614%
볼린저 밴드 돌파
n=61, k=3.5
1.2%-57.1%0.150.021.4x2016%
Parabolic SAR
step=0.015, maxStep=0.22
-8.4%-93.6%-0.14-0.090.1x39852%
Buy and hold21.3%-62.9%0.250.34174.3x1100%
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% -16% -32% -48% -64% 2001 2005 2009 2013 2017 2021 2025 Buy and holdROC 모멘텀Donchian 채널 돌파
Donchian 채널 돌파 maximum drawdown -64.0% (2000-07-19 → 2001-12-20), recovered after 2,539 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