Trend-Following Backtester · Guide · backtest 한국어
equity · SA
Rabigh Refining & Petrochemical Co. Class A backtest
10 trend-following strategies were compared on the full daily history of Rabigh Refining & Petrochemical Co. Class A. 10 beat buy-and-hold CAGR; Supertrend ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 5.7%, MDD -30.8%).
Results by strategy
10 of 10 beat buy and hold (CAGR -1.8%, drawdown -79.7%).
Sharpe leader (same as main): Supertrend — CAGR 11.7%, MDD -57.7%, Sharpe 0.53, 51% exposure.
Return/drawdown alternative: ADX / DI 방향성 — CAGR is 13.5%p higher than buy and hold, while drawdown improves by 22.0%p (CAGR 5.7%, MDD -30.8%, exposure 10%).
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 |
|---|---|---|---|---|---|---|---|
| Supertrend period=8, mult=1.8 |
11.7% | -57.7% | 0.53 | 0.20 | 6.3x | 222 | 51% |
| ADX / DI 방향성 period=22, threshold=32 |
5.7% | -30.8% | 0.49 | 0.19 | 2.5x | 26 | 10% |
| MACD fast=15, slow=35, signal=7 |
8.3% | -59.5% | 0.41 | 0.14 | 3.7x | 264 | 51% |
| 볼린저 밴드 돌파 n=16, k=1.2 |
7.4% | -65.7% | 0.40 | 0.11 | 3.3x | 232 | 38% |
| SMA 크로스오버 fast=20, slow=86 |
6.0% | -65.2% | 0.36 | 0.09 | 2.6x | 49 | 45% |
| Parabolic SAR step=0.035, maxStep=0.12 |
6.2% | -63.0% | 0.36 | 0.10 | 2.7x | 328 | 49% |
| EMA 크로스오버 fast=19, slow=181 |
5.6% | -58.5% | 0.35 | 0.10 | 2.5x | 33 | 34% |
| ROC 모멘텀 n=97, threshold=0.13 |
4.7% | -57.9% | 0.33 | 0.08 | 2.2x | 67 | 26% |
| Donchian 채널 돌파 entryN=13, exitN=46 |
4.2% | -65.2% | 0.29 | 0.06 | 2.0x | 71 | 70% |
| Keltner 채널 돌파 emaPeriod=16, atrPeriod=9, mult=1.1 |
3.8% | -58.7% | 0.28 | 0.07 | 1.9x | 202 | 35% |
| Buy and hold | -1.8% | -79.7% | 0.16 | -0.02 | 0.7x | 1 | 100% |
Rules of the top strategy
Trades the direction of a volatility-based trend line that trails below/above price.
- Buy — Buy when price moves above the trend line (flips up) — 8-day volatility, 1.8× band
- Sell — Sell when price drops below the trend line (flips down)