Trend-Following Backtester · Guide · backtest 한국어

equity · US

Canadian Solar Inc. backtest

10 trend-following strategies were compared on the full daily history of Canadian Solar Inc.. 10 beat buy-and-hold CAGR; Supertrend ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Keltner 채널 돌파 (CAGR 8.0%, MDD -71.2%).

Data 2006-11-09 ~ 2026-07-31daily bars 4,960 (19.7 years)Costs 0.5%Venue XNASMonthly snapshot 2026-07-31

Results by strategy

10 of 10 beat buy and hold (CAGR -0.2%, drawdown -96.0%).

Sharpe leader (same as main): Supertrend — CAGR 16.3%, MDD -90.2%, Sharpe 0.55, 44% exposure.

Return/drawdown alternative: Keltner 채널 돌파 — CAGR is 16.6%p higher than buy and hold, while drawdown improves by 5.8%p (CAGR 8.0%, MDD -71.2%, exposure 25%).

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=10, mult=3
16.3%-90.2%0.550.1819.8x13044%
SMA 크로스오버
fast=40, slow=117
14.6%-84.6%0.520.1714.6x5045%
ADX / DI 방향성
period=9, threshold=25
14.2%-71.5%0.510.2013.8x30634%
Donchian 채널 돌파
entryN=116, exitN=55
12.8%-80.7%0.490.1610.8x2435%
ROC 모멘텀
n=97, threshold=0.12
11.4%-86.5%0.460.138.4x17836%
Parabolic SAR
step=0.01, maxStep=0.14
10.5%-89.3%0.450.127.2x25847%
볼린저 밴드 돌파
n=47, k=1.4
10.3%-81.9%0.440.136.9x12036%
Keltner 채널 돌파
emaPeriod=79, atrPeriod=20, mult=2.9
8.0%-71.2%0.390.114.5x5825%
MACD
fast=13, slow=70, signal=18
6.8%-93.1%0.390.073.6x23451%
EMA 크로스오버
fast=47, slow=122
4.3%-91.2%0.330.052.3x3640%
Buy and hold-0.2%-96.0%0.37-0.001.0x1100%
1x 10x 2007 2010 2013 2016 2019 2022 2025 SupertrendBuy and hold
Supertrend: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -24% -48% -72% -96% 2007 2010 2013 2016 2019 2022 2025 Buy and holdSupertrend
Supertrend maximum drawdown -90.2% (2021-01-21 → 2025-05-06), 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 carried forward from the latest full optimization and replayed on this monthly dataset. 0.5% trading costs are included; taxes, slippage and rejected orders are not.
Re-optimize the same period and setupAll asset reports

Read next