Trend-Following Backtester · Guide · backtest 한국어
equity · CN
Anji Microelectronics Technology (Shanghai) Co.Ltd. Class A backtest
10 trend-following strategies were compared on the full daily history of Anji Microelectronics Technology (Shanghai) Co.Ltd. Class A. 5 beat buy-and-hold CAGR; MACD ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is MACD (CAGR 29.5%, MDD -45.1%).
Results by strategy
5 of 10 beat buy and hold (CAGR 22.4%, drawdown -65.2%).
Sharpe leader (same as main): MACD — CAGR 29.5%, MDD -45.1%, Sharpe 0.81, 47% exposure.
Return/drawdown alternative: MACD — CAGR is 7.1%p higher than buy and hold, while drawdown improves by 20.0%p (CAGR 29.5%, MDD -45.1%, exposure 47%).
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 |
|---|---|---|---|---|---|---|---|
| MACD fast=20, slow=52, signal=22 |
29.5% | -45.1% | 0.81 | 0.65 | 6.4x | 56 | 47% |
| EMA 크로스오버 fast=10, slow=32 |
26.6% | -48.1% | 0.75 | 0.55 | 5.5x | 40 | 53% |
| SMA 크로스오버 fast=12, slow=42 |
24.7% | -52.2% | 0.72 | 0.47 | 4.9x | 46 | 54% |
| ROC 모멘텀 n=27, threshold=-0.01 |
24.4% | -53.8% | 0.71 | 0.45 | 4.8x | 114 | 56% |
| 볼린저 밴드 돌파 n=40, k=1.2 |
20.9% | -51.7% | 0.67 | 0.40 | 3.9x | 52 | 43% |
| Donchian 채널 돌파 entryN=9, exitN=18 |
22.7% | -57.0% | 0.67 | 0.40 | 4.3x | 43 | 64% |
| ADX / DI 방향성 period=24, threshold=8 |
20.3% | -52.4% | 0.63 | 0.39 | 3.8x | 76 | 66% |
| Keltner 채널 돌파 emaPeriod=35, atrPeriod=27, mult=0.8 |
15.6% | -40.6% | 0.56 | 0.38 | 2.8x | 72 | 45% |
| Supertrend period=12, mult=4 |
9.0% | -64.1% | 0.42 | 0.14 | 1.9x | 28 | 64% |
| Parabolic SAR step=0.015, maxStep=0.12 |
8.7% | -54.6% | 0.41 | 0.16 | 1.8x | 118 | 48% |
| Buy and hold | 22.4% | -65.2% | 0.64 | 0.34 | 4.3x | 1 | 100% |
Rules of the top strategy
Looks at the gap (MACD) between a short and long average crossing its own signal line.
- Buy — Buy when the MACD line (20/52) crosses above its 22-day signal line
- Sell — Sell when the MACD line crosses back below the signal line