Trend-Following Backtester · Guide · backtest 한국어
equity · CN
Beijing-Shanghai High-Speed Railway Co., Ltd. Class A backtest
10 trend-following strategies were compared on the full daily history of Beijing-Shanghai High-Speed Railway Co., Ltd. Class A. 7 beat buy-and-hold CAGR; ADX / DI 방향성 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Keltner 채널 돌파 (CAGR -1.0%, MDD -6.6%).
Results by strategy
7 of 10 beat buy and hold (CAGR -5.2%, drawdown -44.2%).
Sharpe leader (same as main): ADX / DI 방향성 — CAGR 1.0%, MDD -8.3%, Sharpe 0.27, 4% exposure.
CAGR reference leader: EMA 크로스오버 — CAGR 1.1%, MDD -16.8%, exposure 31%.
Return/drawdown alternative: Keltner 채널 돌파 — CAGR is 6.2%p higher than buy and hold, while drawdown improves by 35.9%p (CAGR -1.0%, MDD -6.6%, 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 |
|---|---|---|---|---|---|---|---|
| ADX / DI 방향성 period=14, threshold=36 |
1.0% | -8.3% | 0.27 | 0.13 | 1.1x | 10 | 4% |
| EMA 크로스오버 fast=76, slow=210 |
1.1% | -16.8% | 0.15 | 0.06 | 1.1x | 4 | 31% |
| SMA 크로스오버 fast=30, slow=104 |
0.2% | -23.1% | 0.08 | 0.01 | 1.0x | 16 | 40% |
| ROC 모멘텀 n=123, threshold=0.09 |
-1.8% | -17.3% | -0.15 | -0.10 | 0.9x | 28 | 14% |
| Donchian 채널 돌파 entryN=42, exitN=80 |
-4.3% | -31.2% | -0.18 | -0.14 | 0.7x | 11 | 59% |
| 볼린저 밴드 돌파 n=54, k=3.5 |
-2.1% | -14.0% | -0.26 | -0.15 | 0.9x | 8 | 10% |
| Keltner 채널 돌파 emaPeriod=9, atrPeriod=26, mult=3.5 |
-1.0% | -6.6% | -0.37 | -0.15 | 0.9x | 2 | 0% |
| Supertrend period=26, mult=3.2 |
-7.1% | -41.1% | -0.46 | -0.17 | 0.6x | 30 | 42% |
| MACD fast=18, slow=36, signal=18 |
-9.8% | -54.0% | -0.62 | -0.18 | 0.5x | 74 | 49% |
| Parabolic SAR step=0.005, maxStep=0.3 |
-11.1% | -57.3% | -0.65 | -0.19 | 0.5x | 52 | 43% |
| Buy and hold | -5.2% | -44.2% | -0.13 | -0.12 | 0.7x | 1 | 100% |
Rules of the top strategy
Looks at both the direction and the strength of the trend; holds only in a strong uptrend.
- Buy — Buy when up-direction (+DI) beats down-direction (−DI) and trend strength (ADX, 14-day) is ≥ 36
- Sell — Sell when direction flips or the trend weakens (ADX < 36)