Trend-Following Backtester · Guide · backtest 한국어
equity · US
Unifirst Corporation backtest
10 trend-following strategies were compared on the full daily history of Unifirst Corporation. 0 beat buy-and-hold CAGR; Donchian 채널 돌파 ranks first by Sharpe, matching the main backtester.
Results by strategy
0 of 10 beat buy and hold (CAGR 9.6%, drawdown -74.6%).
Sharpe leader (same as main): Donchian 채널 돌파 — CAGR 9.1%, MDD -72.5%, Sharpe 0.45, 84% exposure.
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 · parameters | CAGR | MDD | Sharpe | Calmar | Total | Trades | Exposure |
|---|---|---|---|---|---|---|---|
| Donchian 채널 돌파 entryN=11, exitN=65 |
9.1% | -72.5% | 0.45 | 0.12 | 40.5x | 140 | 84% |
| 볼린저 밴드 돌파 n=93, k=3 |
4.9% | -34.0% | 0.40 | 0.14 | 7.7x | 54 | 25% |
| Supertrend period=3, mult=4.5 |
6.7% | -70.3% | 0.40 | 0.10 | 16.1x | 256 | 56% |
| SMA 크로스오버 fast=23, slow=67 |
6.3% | -62.6% | 0.39 | 0.10 | 13.8x | 168 | 57% |
| ADX / DI 방향성 period=26, threshold=29 |
3.0% | -27.1% | 0.35 | 0.11 | 3.5x | 68 | 12% |
| Keltner 채널 돌파 emaPeriod=77, atrPeriod=28, mult=3.7 |
4.5% | -49.6% | 0.34 | 0.09 | 6.5x | 132 | 38% |
| ROC 모멘텀 n=151, threshold=0.03 |
5.2% | -54.9% | 0.34 | 0.09 | 8.6x | 289 | 56% |
| EMA 크로스오버 fast=8, slow=201 |
5.1% | -63.2% | 0.33 | 0.08 | 8.5x | 121 | 63% |
| MACD fast=22, slow=26, signal=22 |
3.4% | -67.8% | 0.26 | 0.05 | 4.2x | 480 | 49% |
| Parabolic SAR step=0.005, maxStep=0.06 |
2.5% | -61.5% | 0.22 | 0.04 | 2.8x | 328 | 54% |
| Buy and hold | 9.6% | -74.6% | 0.45 | 0.13 | 49.5x | 1 | 100% |
Rules of the top strategy
A new high means a trend starting; a new low means it’s over (turtle-trading style).
- Buy — Buy on a breakout above the highest high of the last 11 days
- Sell — Sell when price breaks below the lowest low of the last 65 days