Trend-Following Backtester · Guide · backtest 한국어
equity · GB
J Sainsbury plc backtest
10 trend-following strategies were compared on the full daily history of J Sainsbury plc. 4 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 1.2%, MDD -17.1%).
Results by strategy
4 of 10 beat buy and hold (CAGR 0.7%, drawdown -74.4%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 3.8%, MDD -41.7%, Sharpe 0.30, 54% exposure.
Return/drawdown alternative: ADX / DI 방향성 — CAGR is 3.1%p higher than buy and hold, while drawdown improves by 32.6%p (CAGR 1.2%, MDD -17.1%, exposure 3%).
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=72, slow=140 |
3.8% | -41.7% | 0.30 | 0.09 | 4.2x | 71 | 54% |
| ADX / DI 방향성 period=51, threshold=23 |
1.2% | -17.1% | 0.26 | 0.07 | 1.6x | 8 | 3% |
| Keltner 채널 돌파 emaPeriod=38, atrPeriod=20, mult=4 |
1.1% | -23.6% | 0.18 | 0.05 | 1.5x | 70 | 13% |
| 볼린저 밴드 돌파 n=75, k=3.3 |
0.7% | -35.7% | 0.15 | 0.02 | 1.3x | 22 | 9% |
| Donchian 채널 돌파 entryN=76, exitN=48 |
0.4% | -66.1% | 0.10 | 0.01 | 1.1x | 78 | 43% |
| ROC 모멘텀 n=121, threshold=-0.02 |
0.0% | -76.6% | 0.09 | 0.00 | 1.0x | 332 | 59% |
| EMA 크로스오버 fast=59, slow=191 |
0.2% | -59.8% | 0.09 | 0.00 | 1.1x | 55 | 51% |
| Supertrend period=17, mult=4.9 |
-1.8% | -72.5% | -0.02 | -0.03 | 0.5x | 168 | 52% |
| Parabolic SAR step=0.01, maxStep=0.1 |
-6.0% | -93.6% | -0.24 | -0.06 | 0.1x | 534 | 52% |
| MACD fast=38, slow=47, signal=29 |
-6.2% | -93.5% | -0.24 | -0.07 | 0.1x | 302 | 51% |
| Buy and hold | 0.7% | -74.4% | 0.16 | 0.01 | 1.3x | 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 72-day average price crosses above the 140-day average
- Sell — Sell (to cash) when the 72-day average falls below the 140-day average