Trend-Following Backtester · Guide · backtest 한국어
equity · SA
Yanbu National Petrochemical Co. backtest
10 trend-following strategies were compared on the full daily history of Yanbu National Petrochemical Co.. 9 beat buy-and-hold CAGR; EMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 0.6%, MDD -11.1%).
Results by strategy
9 of 10 beat buy and hold (CAGR -1.1%, drawdown -71.2%).
Sharpe leader (same as main): EMA 크로스오버 — CAGR 1.9%, MDD -48.7%, Sharpe 0.20, 47% exposure.
Return/drawdown alternative: ADX / DI 방향성 — CAGR is 3.0%p higher than buy and hold, while drawdown improves by 22.5%p (CAGR 0.6%, MDD -11.1%, exposure 2%).
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 |
|---|---|---|---|---|---|---|---|
| EMA 크로스오버 fast=16, slow=71 |
1.9% | -48.7% | 0.20 | 0.04 | 1.4x | 51 | 47% |
| ADX / DI 방향성 period=36, threshold=26 |
0.6% | -11.1% | 0.20 | 0.05 | 1.1x | 6 | 2% |
| Donchian 채널 돌파 entryN=49, exitN=36 |
1.8% | -46.5% | 0.19 | 0.04 | 1.3x | 41 | 48% |
| SMA 크로스오버 fast=47, slow=87 |
1.3% | -48.4% | 0.16 | 0.03 | 1.2x | 51 | 49% |
| Supertrend period=10, mult=3.6 |
0.9% | -52.3% | 0.15 | 0.02 | 1.2x | 88 | 51% |
| ROC 모멘텀 n=117, threshold=0.08 |
0.9% | -41.0% | 0.13 | 0.02 | 1.2x | 118 | 32% |
| Keltner 채널 돌파 emaPeriod=59, atrPeriod=11, mult=1.6 |
-0.2% | -46.6% | 0.07 | -0.00 | 1.0x | 90 | 39% |
| 볼린저 밴드 돌파 n=36, k=1.5 |
-0.2% | -41.7% | 0.07 | -0.01 | 1.0x | 102 | 34% |
| Parabolic SAR step=0.005, maxStep=0.02 |
-0.9% | -53.4% | 0.04 | -0.02 | 0.9x | 83 | 48% |
| MACD fast=20, slow=69, signal=24 |
-2.5% | -60.5% | -0.04 | -0.04 | 0.7x | 140 | 50% |
| Buy and hold | -1.1% | -71.2% | 0.10 | -0.02 | 0.8x | 1 | 100% |
Rules of the top strategy
Uses two exponential averages (more weight on recent prices) and trades their crossover.
- Buy — Buy when the 16-day EMA crosses above the 71-day EMA
- Sell — Sell when the 16-day EMA falls below the 71-day EMA