SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · NZ

a2 Milk Company Limited backtest

10 trend-following strategies were compared on the full daily history of a2 Milk Company Limited. 2 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester.

Data 2004-01-05 ~ 2026-09-30daily bars 5,718 (22.7 years)Costs 0.5%Venue NZXMonthly snapshot 2026-09-30

Results by strategy

2 of 10 beat buy and hold (CAGR 14.2%, drawdown -90.0%).

Sharpe leader (same as main): EMA 크로스오버 — CAGR 20.8%, MDD -72.3%, Sharpe 0.64, 55% exposure.

CAGR reference leader: SMA 크로스오버 — CAGR 23.3%, MDD -74.5%, exposure 54%.

No strategy retained at least 75% of buy-and-hold CAGR while reducing drawdown by both 20% relatively and 5 percentage points absolutely.

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
EMA 크로스오버
fast=44, slow=213
20.8%-72.3%0.640.2974.0x2055%
SMA 크로스오버
fast=70, slow=132
23.3%-74.5%0.630.31116.3x3654%
Donchian 채널 돌파
entryN=113, exitN=75
11.6%-88.8%0.470.1312.1x3049%
ADX / DI 방향성
period=33, threshold=21
8.2%-64.4%0.400.135.9x6620%
ROC 모멘텀
n=148, threshold=-0.04
4.6%-98.7%0.400.052.8x16260%
볼린저 밴드 돌파
n=96, k=2.7
-3.0%-98.9%0.20-0.030.5x4631%
Supertrend
period=6, mult=4.8
-17.0%-100.0%0.15-0.170.0x16957%
MACD
fast=10, slow=38, signal=10
-17.7%-99.7%0.12-0.180.0x41850%
Parabolic SAR
step=0.005, maxStep=0.32
-17.6%-100.0%-0.04-0.180.0x13848%
Keltner 채널 돌파
emaPeriod=56, atrPeriod=23, mult=2.9
-20.6%-100.0%-0.06-0.210.0x13640%
Buy and hold14.2%-90.0%0.610.1620.4x1100%
1x 10x 100x 2005 2008 2011 2014 2017 2020 2023 2026 SMA 크로스오버EMA 크로스오버Buy and hold
EMA 크로스오버 (Sharpe leader), SMA 크로스오버 (CAGR reference), Buy and hold.
0% -22% -45% -67% -90% 2005 2008 2011 2014 2017 2020 2023 2026 Buy and holdSMA 크로스오버EMA 크로스오버
EMA 크로스오버 maximum drawdown -72.3% (2007-06-19 → 2009-08-13), recovered after 1,713 days.

Rules of the top strategy

Uses two exponential averages (more weight on recent prices) and trades their crossover.

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 NZ assetsAll asset reports

Read next