Trend-Following Backtester · Guide · backtest 한국어
equity · CN
PetroChina Co., Ltd. Class A backtest
10 trend-following strategies were compared on the full daily history of PetroChina Co., Ltd. Class A. 10 beat buy-and-hold CAGR; Donchian 채널 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 1.7%, MDD -20.7%).
Results by strategy
10 of 10 beat buy and hold (CAGR -7.0%, drawdown -90.8%).
Sharpe leader (same as main): Donchian 채널 돌파 — CAGR 3.4%, MDD -31.5%, Sharpe 0.31, 13% exposure.
CAGR reference leader: SMA 크로스오버 — CAGR 3.5%, MDD -39.0%, exposure 39%.
Return/drawdown alternative: ADX / DI 방향성 — CAGR is 10.4%p higher than buy and hold, while drawdown improves by 59.3%p (CAGR 1.7%, MDD -20.7%, exposure 3%).
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 |
|---|---|---|---|---|---|---|---|
| Donchian 채널 돌파 entryN=87, exitN=9 |
3.4% | -31.5% | 0.31 | 0.11 | 1.9x | 42 | 13% |
| 볼린저 밴드 돌파 n=59, k=3.5 |
2.7% | -27.9% | 0.29 | 0.10 | 1.7x | 16 | 9% |
| SMA 크로스오버 fast=30, slow=141 |
3.5% | -39.0% | 0.28 | 0.09 | 1.9x | 31 | 39% |
| ADX / DI 방향성 period=30, threshold=34 |
1.7% | -20.7% | 0.26 | 0.08 | 1.4x | 8 | 3% |
| Keltner 채널 돌파 emaPeriod=22, atrPeriod=13, mult=3.7 |
2.1% | -31.1% | 0.25 | 0.07 | 1.5x | 28 | 8% |
| EMA 크로스오버 fast=89, slow=146 |
1.8% | -57.1% | 0.19 | 0.03 | 1.4x | 19 | 39% |
| ROC 모멘텀 n=105, threshold=0.04 |
-0.0% | -54.6% | 0.09 | -0.00 | 1.0x | 146 | 30% |
| Parabolic SAR step=0.005, maxStep=0.06 |
-0.8% | -63.1% | 0.06 | -0.01 | 0.9x | 132 | 42% |
| Supertrend period=9, mult=4 |
-1.1% | -64.2% | 0.05 | -0.02 | 0.8x | 71 | 47% |
| MACD fast=24, slow=44, signal=23 |
-2.5% | -76.5% | -0.02 | -0.03 | 0.6x | 136 | 52% |
| Buy and hold | -7.0% | -90.8% | -0.13 | -0.08 | 0.3x | 1 | 100% |
Rules of the top strategy
A new high means a trend starting; a new low means it’s over (turtle-trading style).
- Buy — Buy on a breakout above the highest high of the last 87 days
- Sell — Sell when price breaks below the lowest low of the last 9 days