SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · BR

Companhia Paranaense de Energia backtest

10 trend-following strategies were compared on the full daily history of Companhia Paranaense de Energia. 1 beat buy-and-hold CAGR; Supertrend ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Supertrend (CAGR 10.3%, MDD -56.9%).

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

1 of 10 beat buy and hold (CAGR 10.2%, drawdown -75.4%).

Sharpe leader (same as main): Supertrend — CAGR 10.3%, MDD -56.9%, Sharpe 0.53, 53% exposure.

Return/drawdown alternative: Supertrend — CAGR is 0.1%p higher than buy and hold, while drawdown improves by 18.5%p (CAGR 10.3%, MDD -56.9%, exposure 53%).

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
Supertrend
period=8, mult=4.3
10.3%-56.9%0.530.1813.7x9353%
볼린저 밴드 돌파
n=56, k=2.5
6.7%-43.0%0.460.165.7x6828%
Donchian 채널 돌파
entryN=23, exitN=30
9.1%-57.5%0.460.1610.3x10562%
MACD
fast=33, slow=66, signal=37
8.6%-62.2%0.460.149.1x15351%
SMA 크로스오버
fast=14, slow=32
8.8%-56.6%0.460.169.5x23355%
EMA 크로스오버
fast=51, slow=236
7.7%-69.7%0.410.117.3x3363%
Parabolic SAR
step=0.005, maxStep=0.02
6.9%-61.8%0.390.115.9x12757%
ADX / DI 방향성
period=21, threshold=32
2.0%-21.1%0.310.101.7x265%
Keltner 채널 돌파
emaPeriod=59, atrPeriod=9, mult=3.2
2.9%-50.1%0.250.062.1x8931%
ROC 모멘텀
n=130, threshold=-0.04
2.9%-87.4%0.250.032.2x21569%
Buy and hold10.2%-75.4%0.450.1413.4x1100%
1x 10x 2001 2005 2009 2013 2017 2021 2025 SupertrendBuy and hold
Supertrend: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -19% -38% -57% -75% 2001 2005 2009 2013 2017 2021 2025 Buy and holdSupertrend
Supertrend maximum drawdown -56.9% (2020-02-19 → 2023-05-31), prior peak not yet recovered.

Rules of the top strategy

Trades the direction of a volatility-based trend line that trails below/above price.

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