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. The return/drawdown alternative is Donchian 채널 돌파 (CAGR 8.0%, MDD -50.6%).
Results by strategy
0 of 10 beat buy and hold (CAGR 10.0%, drawdown -74.6%).
Sharpe leader (same as main): Donchian 채널 돌파 — CAGR 8.0%, MDD -50.6%, Sharpe 0.45, 65% exposure.
Return/drawdown alternative: Donchian 채널 돌파 — CAGR is 2.0%p lower than buy and hold, while drawdown improves by 24.0%p (CAGR 8.0%, MDD -50.6%, 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 |
|---|---|---|---|---|---|---|---|
| Donchian 채널 돌파 entryN=54, exitN=68 |
8.0% | -50.6% | 0.45 | 0.16 | 26.8x | 83 | 65% |
| Keltner 채널 돌파 emaPeriod=104, atrPeriod=15, mult=2.2 |
5.7% | -64.5% | 0.39 | 0.09 | 10.7x | 159 | 49% |
| SMA 크로스오버 fast=32, slow=67 |
6.2% | -69.6% | 0.38 | 0.09 | 12.9x | 157 | 57% |
| ROC 모멘텀 n=151, threshold=0.04 |
6.0% | -50.8% | 0.38 | 0.12 | 11.9x | 279 | 55% |
| ADX / DI 방향성 period=24, threshold=29 |
3.2% | -31.6% | 0.36 | 0.10 | 3.8x | 86 | 14% |
| Supertrend period=25, mult=4.9 |
4.9% | -77.3% | 0.32 | 0.06 | 7.6x | 187 | 57% |
| EMA 크로스오버 fast=35, slow=121 |
4.2% | -56.8% | 0.30 | 0.07 | 5.8x | 93 | 61% |
| 볼린저 밴드 돌파 n=59, k=2.9 |
2.5% | -40.5% | 0.25 | 0.06 | 2.9x | 93 | 24% |
| MACD fast=18, slow=51, signal=14 |
2.2% | -77.0% | 0.21 | 0.03 | 2.5x | 525 | 50% |
| Parabolic SAR step=0.005, maxStep=0.36 |
1.7% | -66.2% | 0.19 | 0.03 | 2.1x | 341 | 54% |
| Buy and hold | 10.0% | -74.6% | 0.46 | 0.13 | 57.9x | 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 54 days
- Sell — Sell when price breaks below the lowest low of the last 68 days