Trend-Following Backtester · Guide · backtest 한국어

equity · US

Cal-Maine Foods, Inc. backtest

10 trend-following strategies were compared on the full daily history of Cal-Maine Foods, Inc.. 1 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is SMA 크로스오버 (CAGR 14.7%, MDD -56.2%).

Data 1996-12-12 ~ 2026-07-31daily bars 7,454 (29.6 years)Costs 0.5%Venue XNASMonthly snapshot 2026-07-31

Results by strategy

1 of 10 beat buy and hold (CAGR 14.2%, drawdown -74.3%).

Sharpe leader (same as main): SMA 크로스오버 — CAGR 14.7%, MDD -56.2%, Sharpe 0.59, 54% exposure.

Return/drawdown alternative: SMA 크로스오버 — CAGR is 0.5%p higher than buy and hold, while drawdown improves by 18.1%p (CAGR 14.7%, MDD -56.2%, exposure 54%).

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
SMA 크로스오버
fast=50, slow=285
14.7%-56.2%0.590.2658.5x2854%
볼린저 밴드 돌파
n=54, k=3.5
9.3%-49.0%0.550.1913.9x2512%
EMA 크로스오버
fast=55, slow=156
11.0%-62.6%0.490.1821.8x4153%
ADX / DI 방향성
period=30, threshold=33
5.6%-31.2%0.450.185.0x145%
Donchian 채널 돌파
entryN=82, exitN=75
8.1%-68.3%0.410.1210.0x4350%
Keltner 채널 돌파
emaPeriod=54, atrPeriod=22, mult=3.9
5.4%-64.6%0.350.084.7x6020%
ROC 모멘텀
n=124, threshold=0.11
5.8%-75.7%0.340.085.3x24237%
Supertrend
period=28, mult=4.5
4.0%-69.5%0.280.063.2x11150%
Parabolic SAR
step=0.005, maxStep=0.26
1.1%-78.9%0.190.011.4x23351%
MACD
fast=18, slow=47, signal=17
-1.3%-86.7%0.11-0.020.7x34552%
Buy and hold14.2%-74.3%0.520.1951.3x1100%
1x 10x 1997 2001 2005 2009 2013 2017 2021 2025 SMA 크로스오버Buy and hold
SMA 크로스오버: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -19% -37% -56% -74% 1997 2001 2005 2009 2013 2017 2021 2025 Buy and holdSMA 크로스오버
SMA 크로스오버 maximum drawdown -56.2% (2015-10-19 → 2022-01-27), recovered after 3,341 days.

Rules of the top strategy

When the short average rises above the long average, it reads that as an uptrend starting.

Method and caveats

Past performance does not guarantee future returns. Parameters were carried forward from the latest full optimization and replayed on this monthly dataset. 0.5% trading costs are included; taxes, slippage and rejected orders are not.
Re-optimize the same period and setupAll asset reports

Read next