SleepWell Trade

Trend-Following Backtester · Guide · backtest 한국어

equity · CN

Zhejiang Yinlun Machinery Co., Ltd Class A backtest

10 trend-following strategies were compared on the full daily history of Zhejiang Yinlun Machinery Co., Ltd Class A. 0 beat buy-and-hold CAGR; MACD ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is MACD (CAGR 12.3%, MDD -53.6%).

Data 2007-04-18 ~ 2026-07-31daily bars 4,689 (19.3 years)Costs 0.5%Venue SZSEMonthly snapshot 2026-07-31

Results by strategy

0 of 10 beat buy and hold (CAGR 12.5%, drawdown -74.8%).

Sharpe leader (same as main): MACD — CAGR 12.3%, MDD -53.6%, Sharpe 0.52, 50% exposure.

Return/drawdown alternative: MACD — CAGR is 0.2%p lower than buy and hold, while drawdown improves by 21.1%p (CAGR 12.3%, MDD -53.6%, exposure 50%).

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
MACD
fast=18, slow=43, signal=19
12.3%-53.6%0.520.239.3x19450%
SMA 크로스오버
fast=37, slow=196
10.9%-66.0%0.470.167.3x2760%
Donchian 채널 돌파
entryN=7, exitN=65
10.9%-71.6%0.460.157.4x6687%
EMA 크로스오버
fast=49, slow=126
9.6%-66.1%0.440.155.9x2761%
Supertrend
period=9, mult=3.7
8.4%-55.5%0.410.154.8x8855%
Parabolic SAR
step=0.01, maxStep=0.08
6.2%-66.8%0.350.093.2x22850%
Keltner 채널 돌파
emaPeriod=28, atrPeriod=8, mult=1.2
5.3%-55.7%0.330.102.7x18237%
볼린저 밴드 돌파
n=33, k=1.6
4.8%-56.7%0.310.092.5x15037%
ADX / DI 방향성
period=32, threshold=7
3.8%-84.2%0.290.042.0x20259%
ROC 모멘텀
n=138, threshold=0.11
2.6%-72.6%0.250.041.7x14447%
Buy and hold12.5%-74.8%0.490.179.7x1100%
1x 10x 2008 2011 2014 2017 2020 2023 2026 MACDBuy and hold
MACD: Solid strategy line versus dashed buy-and-hold line. Log scale.
0% -19% -37% -56% -75% 2008 2011 2014 2017 2020 2023 2026 Buy and holdMACD
MACD maximum drawdown -53.6% (2015-06-17 → 2019-11-21), recovered after 1,853 days.

Rules of the top strategy

Looks at the gap (MACD) between a short and long average crossing its own signal line.

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 setupMore CN assetsAll asset reports

Read next