Trend-Following Backtester · Guide · backtest 한국어
equity · CN
Shanghai International Port (Group) Co., Ltd. Class A backtest
10 trend-following strategies were compared on the full daily history of Shanghai International Port (Group) Co., Ltd. Class A. 8 beat buy-and-hold CAGR; ROC 모멘텀 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ROC 모멘텀 (CAGR 2.4%, MDD -9.2%).
Results by strategy
8 of 10 beat buy and hold (CAGR -2.3%, drawdown -87.0%).
Sharpe leader (same as main): ROC 모멘텀 — CAGR 2.4%, MDD -9.2%, Sharpe 0.40, 0% exposure.
CAGR reference leader: SMA 크로스오버 — CAGR 4.8%, MDD -47.1%, exposure 46%.
Return/drawdown alternative: ROC 모멘텀 — CAGR is 4.7%p higher than buy and hold, while drawdown improves by 77.8%p (CAGR 2.4%, MDD -9.2%, exposure 0%).
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 |
|---|---|---|---|---|---|---|---|
| ROC 모멘텀 n=3, threshold=0.17 |
2.4% | -9.2% | 0.40 | 0.26 | 1.9x | 30 | 0% |
| Keltner 채널 돌파 emaPeriod=8, atrPeriod=8, mult=3.6 |
2.2% | -17.4% | 0.38 | 0.12 | 1.8x | 4 | 0% |
| SMA 크로스오버 fast=48, slow=101 |
4.8% | -47.1% | 0.32 | 0.10 | 3.4x | 63 | 46% |
| Donchian 채널 돌파 entryN=97, exitN=22 |
3.9% | -46.5% | 0.30 | 0.08 | 2.7x | 51 | 22% |
| 볼린저 밴드 돌파 n=41, k=2.7 |
3.4% | -41.9% | 0.28 | 0.08 | 2.4x | 73 | 18% |
| ADX / DI 방향성 period=14, threshold=39 |
1.8% | -34.5% | 0.20 | 0.05 | 1.6x | 50 | 8% |
| Parabolic SAR step=0.005, maxStep=0.08 |
1.2% | -67.9% | 0.18 | 0.02 | 1.4x | 180 | 49% |
| Supertrend period=10, mult=4.3 |
-0.7% | -80.3% | 0.17 | -0.01 | 0.8x | 75 | 55% |
| MACD fast=24, slow=43, signal=22 |
-2.7% | -75.9% | 0.02 | -0.04 | 0.5x | 242 | 52% |
| EMA 크로스오버 fast=50, slow=64 |
-5.2% | -91.7% | 0.01 | -0.06 | 0.2x | 61 | 47% |
| Buy and hold | -2.3% | -87.0% | 0.17 | -0.03 | 0.5x | 1 | 100% |
Rules of the top strategy
Rides the trend when recent return (momentum) over a window is above a threshold.
- Buy — Buy when the last 3-day return is greater than 17%
- Sell — Sell when the 3-day return drops to 17% or below