Trend-Following Backtester · Guide · backtest 한국어
equity · US
J & J Snack Foods Corp. backtest
10 trend-following strategies were compared on the full daily history of J & J Snack Foods Corp.. 0 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is EMA 크로스오버 (CAGR 6.6%, MDD -48.8%).
Results by strategy
0 of 10 beat buy and hold (CAGR 7.3%, drawdown -76.2%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 7.1%, MDD -57.8%, Sharpe 0.39, 61% exposure.
Return/drawdown alternative: EMA 크로스오버 — CAGR is 0.2%p lower than buy and hold, while drawdown improves by 18.3%p (CAGR 6.6%, MDD -48.8%, 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 |
|---|---|---|---|---|---|---|---|
| SMA 크로스오버 fast=32, slow=142 |
7.1% | -57.8% | 0.39 | 0.12 | 16.5x | 75 | 61% |
| EMA 크로스오버 fast=66, slow=141 |
6.6% | -48.8% | 0.37 | 0.14 | 13.6x | 54 | 65% |
| ADX / DI 방향성 period=32, threshold=23 |
3.1% | -20.2% | 0.31 | 0.15 | 3.5x | 48 | 12% |
| Donchian 채널 돌파 entryN=92, exitN=79 |
4.6% | -51.5% | 0.30 | 0.09 | 6.3x | 59 | 61% |
| ROC 모멘텀 n=172, threshold=-0.15 |
4.1% | -66.0% | 0.28 | 0.06 | 5.1x | 164 | 80% |
| Supertrend period=8, mult=5 |
2.1% | -71.4% | 0.21 | 0.03 | 2.3x | 99 | 60% |
| Keltner 채널 돌파 emaPeriod=42, atrPeriod=8, mult=4 |
1.3% | -36.4% | 0.18 | 0.04 | 1.7x | 40 | 8% |
| MACD fast=46, slow=71, signal=52 |
0.9% | -75.1% | 0.16 | 0.01 | 1.4x | 190 | 51% |
| 볼린저 밴드 돌파 n=16, k=3.5 |
0.2% | -25.7% | 0.06 | 0.01 | 1.1x | 10 | 1% |
| Parabolic SAR step=0.005, maxStep=0.06 |
-3.0% | -93.0% | 0.03 | -0.03 | 0.3x | 304 | 54% |
| Buy and hold | 7.3% | -76.2% | 0.38 | 0.10 | 17.6x | 1 | 100% |
Rules of the top strategy
When the short average rises above the long average, it reads that as an uptrend starting.
- Buy — Buy when the 32-day average price crosses above the 142-day average
- Sell — Sell (to cash) when the 32-day average falls below the 142-day average