SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · CA

AltaGas Ltd. backtest

10 trend-following strategies were compared on the full daily history of AltaGas Ltd.. 5 beat buy-and-hold CAGR; Donchian 채널 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Donchian 채널 돌파 (CAGR 7.1%, MDD -37.8%).

Data 2004-05-17 ~ 2026-09-30daily bars 5,617 (22.4 years)Costs 0.5%Venue TSXMonthly snapshot 2026-09-30

Results by strategy

5 of 10 beat buy and hold (CAGR 4.6%, drawdown -82.4%).

Sharpe leader (same as main): Donchian 채널 돌파 — CAGR 7.1%, MDD -37.8%, Sharpe 0.55, 57% exposure.

Return/drawdown alternative: Donchian 채널 돌파 — CAGR is 2.5%p higher than buy and hold, while drawdown improves by 44.6%p (CAGR 7.1%, MDD -37.8%, exposure 57%).

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=74, exitN=53
7.1%-37.8%0.550.194.6x2957%
ROC 모멘텀
n=129, threshold=-0.02
5.5%-54.6%0.420.103.3x13365%
SMA 크로스오버
fast=50, slow=181
5.7%-62.4%0.410.093.5x2761%
Supertrend
period=19, mult=4.9
5.1%-53.5%0.410.103.0x5661%
EMA 크로스오버
fast=57, slow=92
5.2%-54.7%0.400.103.1x3161%
ADX / DI 방향성
period=25, threshold=34
0.9%-5.1%0.350.171.2x123%
볼린저 밴드 돌파
n=53, k=2.6
2.2%-19.4%0.290.111.6x5626%
Keltner 채널 돌파
emaPeriod=38, atrPeriod=29, mult=3.1
1.2%-30.7%0.180.041.3x6624%
MACD
fast=27, slow=52, signal=28
0.6%-55.1%0.120.011.1x17651%
Parabolic SAR
step=0.01, maxStep=0.12
-2.2%-73.4%-0.05-0.030.6x29356%
Buy and hold4.6%-82.4%0.310.062.7x1100%
1x 2005 2008 2011 2014 2017 2020 2023 2026 Donchian 채널 돌파Buy and hold
Donchian 채널 돌파: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -21% -41% -62% -82% 2005 2008 2011 2014 2017 2020 2023 2026 Buy and holdDonchian 채널 돌파
Donchian 채널 돌파 maximum drawdown -37.8% (2014-08-19 → 2020-10-01), recovered after 2,495 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 CA assetsAll asset reports

Read next