Trend-Following Backtester · Guide · backtest 한국어
equity · CA
CGI Inc. Class A backtest
10 trend-following strategies were compared on the full daily history of CGI Inc. Class A. 1 beat buy-and-hold CAGR; ADX / DI 방향성 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is EMA 크로스오버 (CAGR 18.1%, MDD -55.3%).
Results by strategy
1 of 10 beat buy and hold (CAGR 20.2%, drawdown -84.6%).
Sharpe leader (same as main): ADX / DI 방향성 — CAGR 14.8%, MDD -48.8%, Sharpe 0.86, 20% exposure.
CAGR reference leader: ROC 모멘텀 — CAGR 20.6%, MDD -77.5%, exposure 94%.
Return/drawdown alternative: EMA 크로스오버 — CAGR is 5.4%p lower than buy and hold, while drawdown improves by 35.8%p (CAGR 18.1%, MDD -55.3%, exposure 65%).
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 · parameters | CAGR | MDD | Sharpe | Calmar | Total | Trades | Exposure |
|---|---|---|---|---|---|---|---|
| ADX / DI 방향성 period=35, threshold=20 |
14.8% | -48.8% | 0.86 | 0.30 | 64.3x | 56 | 20% |
| Donchian 채널 돌파 entryN=72, exitN=41 |
17.2% | -56.4% | 0.81 | 0.30 | 118.4x | 60 | 54% |
| 볼린저 밴드 돌파 n=57, k=2.6 |
13.7% | -35.3% | 0.77 | 0.39 | 48.5x | 82 | 33% |
| EMA 크로스오버 fast=41, slow=73 |
18.1% | -55.3% | 0.76 | 0.33 | 149.1x | 67 | 65% |
| ROC 모멘텀 n=34, threshold=-0.15 |
20.6% | -77.5% | 0.74 | 0.27 | 285.4x | 93 | 94% |
| Supertrend period=16, mult=5 |
16.1% | -58.7% | 0.74 | 0.27 | 90.5x | 81 | 60% |
| Keltner 채널 돌파 emaPeriod=13, atrPeriod=36, mult=3.7 |
9.1% | -36.9% | 0.72 | 0.25 | 13.7x | 42 | 7% |
| SMA 크로스오버 fast=8, slow=75 |
16.2% | -68.1% | 0.72 | 0.24 | 91.4x | 154 | 61% |
| Parabolic SAR step=0.02, maxStep=0.02 |
12.7% | -72.4% | 0.60 | 0.18 | 36.6x | 182 | 61% |
| MACD fast=16, slow=46, signal=19 |
7.8% | -62.6% | 0.42 | 0.12 | 9.6x | 342 | 50% |
| Buy and hold | 20.2% | -84.6% | 0.69 | 0.24 | 256.7x | 1 | 100% |
Rules of the top strategy
Looks at both the direction and the strength of the trend; holds only in a strong uptrend.
- Buy — Buy when up-direction (+DI) beats down-direction (−DI) and trend strength (ADX, 35-day) is ≥ 20
- Sell — Sell when direction flips or the trend weakens (ADX < 20)