Trend-Following Backtester · Guide · backtest 한국어
equity · US
ONEOK, Inc. backtest
10 trend-following strategies were compared on the full daily history of ONEOK, Inc.. 2 beat buy-and-hold CAGR; Donchian 채널 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is Donchian 채널 돌파 (CAGR 7.5%, MDD -39.4%).
Results by strategy
2 of 10 beat buy and hold (CAGR 6.9%, drawdown -80.2%).
Sharpe leader (same as main): Donchian 채널 돌파 — CAGR 7.5%, MDD -39.4%, Sharpe 0.50, 54% exposure.
CAGR reference leader: ROC 모멘텀 — CAGR 8.7%, MDD -53.7%, exposure 82%.
Return/drawdown alternative: Donchian 채널 돌파 — CAGR is 0.6%p higher than buy and hold, while drawdown improves by 40.8%p (CAGR 7.5%, MDD -39.4%, exposure 54%).
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=65, exitN=44 |
7.5% | -39.4% | 0.50 | 0.19 | 28.3x | 101 | 54% |
| ROC 모멘텀 n=135, threshold=-0.12 |
8.7% | -53.7% | 0.47 | 0.16 | 46.1x | 207 | 82% |
| SMA 크로스오버 fast=8, slow=195 |
6.4% | -55.9% | 0.42 | 0.11 | 17.5x | 125 | 64% |
| EMA 크로스오버 fast=55, slow=143 |
5.5% | -59.5% | 0.37 | 0.09 | 12.0x | 61 | 63% |
| Supertrend period=14, mult=4.5 |
4.0% | -69.1% | 0.30 | 0.06 | 6.1x | 169 | 59% |
| Keltner 채널 돌파 emaPeriod=51, atrPeriod=7, mult=2.1 |
3.3% | -58.9% | 0.29 | 0.06 | 4.4x | 244 | 41% |
| 볼린저 밴드 돌파 n=51, k=3 |
2.3% | -24.0% | 0.28 | 0.10 | 2.9x | 68 | 15% |
| ADX / DI 방향성 period=35, threshold=11 |
2.4% | -54.6% | 0.23 | 0.04 | 3.0x | 374 | 42% |
| MACD fast=30, slow=63, signal=27 |
1.7% | -72.7% | 0.19 | 0.02 | 2.2x | 342 | 52% |
| Parabolic SAR step=0.005, maxStep=0.24 |
-0.8% | -82.1% | 0.07 | -0.01 | 0.7x | 396 | 56% |
| Buy and hold | 6.9% | -80.2% | 0.37 | 0.09 | 21.8x | 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 65 days
- Sell — Sell when price breaks below the lowest low of the last 44 days