SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · US

John B. Sanfilippo & Son, Inc. backtest

10 trend-following strategies were compared on the full daily history of John B. Sanfilippo & Son, Inc.. 5 beat buy-and-hold CAGR; ADX / DI 방향성 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 4.9%, MDD -25.9%).

Data 1991-12-04 ~ 2026-09-30daily bars 8,767 (34.8 years)Costs 0.5%Venue XNASMonthly snapshot 2026-09-30

Results by strategy

5 of 10 beat buy and hold (CAGR 5.0%, drawdown -92.3%).

Sharpe leader (same as main): ADX / DI 방향성 — CAGR 4.9%, MDD -25.9%, Sharpe 0.50, 5% exposure.

CAGR reference leader: SMA 크로스오버 — CAGR 9.3%, MDD -68.6%, exposure 50%.

Return/drawdown alternative: ADX / DI 방향성 — CAGR is 0.2%p lower than buy and hold, while drawdown improves by 66.3%p (CAGR 4.9%, MDD -25.9%, exposure 5%).

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 · parametersCAGRMDDSharpeCalmarTotalTradesExposure
ADX / DI 방향성
period=16, threshold=43
4.9%-25.9%0.500.195.2x385%
SMA 크로스오버
fast=51, slow=150
9.3%-68.6%0.440.1421.9x5650%
Keltner 채널 돌파
emaPeriod=56, atrPeriod=8, mult=3.9
5.5%-55.5%0.390.106.4x5418%
EMA 크로스오버
fast=51, slow=162
6.5%-74.4%0.360.098.9x5251%
Supertrend
period=19, mult=5
5.8%-78.3%0.340.077.2x8252%
Donchian 채널 돌파
entryN=119, exitN=74
5.4%-68.6%0.330.086.2x4241%
볼린저 밴드 돌파
n=68, k=2.4
4.8%-72.5%0.320.075.2x8027%
Parabolic SAR
step=0.01, maxStep=0.12
1.8%-77.5%0.220.021.9x39651%
ROC 모멘텀
n=114, threshold=0.11
-0.7%-91.5%0.11-0.010.8x30836%
MACD
fast=26, slow=56, signal=23
-5.4%-97.4%0.01-0.060.1x30451%
Buy and hold5.0%-92.3%0.350.055.5x1100%
1x 10x 1992 1997 2002 2007 2012 2017 2022 SMA 크로스오버ADX / DI 방향성Buy and hold
ADX / DI 방향성 (Sharpe leader), SMA 크로스오버 (CAGR reference), Buy and hold.
0% -23% -46% -69% -92% 1992 1997 2002 2007 2012 2017 2022 Buy and holdSMA 크로스오버ADX / DI 방향성
ADX / DI 방향성 maximum drawdown -25.9% (1992-09-08 → 1995-05-16), recovered after 3,788 days.

Rules of the top strategy

Looks at both the direction and the strength of the trend; holds only in a strong uptrend.

Method and caveats

Past performance does not guarantee future returns. Parameters were selected on the same full-history sample using sharpe over 120 trials per strategy, so results contain in-sample bias. 0.5% trading costs are included; taxes, slippage and rejected orders are not.
Re-run the same setupMore US assetsAll asset reports

Read next