Trend-Following Backtester · Guide · backtest 한국어
equity · US
RLI Corp. backtest
10 trend-following strategies were compared on the full daily history of RLI Corp.. 0 beat buy-and-hold CAGR; ADX / DI 방향성 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is EMA 크로스오버 (CAGR 11.0%, MDD -42.6%).
Results by strategy
0 of 10 beat buy and hold (CAGR 12.5%, drawdown -64.0%).
Sharpe leader (same as main): ADX / DI 방향성 — CAGR 3.8%, MDD -17.1%, Sharpe 0.66, 5% exposure.
CAGR reference leader: SMA 크로스오버 — CAGR 11.2%, MDD -48.1%, exposure 66%.
Return/drawdown alternative: EMA 크로스오버 — CAGR is 8.8%p lower than buy and hold, while drawdown improves by 47.0%p (CAGR 11.0%, MDD -42.6%, exposure 73%).
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=39, threshold=50 |
3.8% | -17.1% | 0.66 | 0.22 | 5.6x | 6 | 5% |
| SMA 크로스오버 fast=98, slow=224 |
11.2% | -48.1% | 0.60 | 0.23 | 140.5x | 54 | 66% |
| EMA 크로스오버 fast=71, slow=267 |
11.0% | -42.6% | 0.58 | 0.26 | 128.3x | 34 | 73% |
| 볼린저 밴드 돌파 n=30, k=3.5 |
3.9% | -36.3% | 0.53 | 0.11 | 5.9x | 52 | 9% |
| ROC 모멘텀 n=141, threshold=-0.06 |
7.7% | -57.7% | 0.45 | 0.13 | 31.4x | 258 | 78% |
| Donchian 채널 돌파 entryN=80, exitN=42 |
6.0% | -51.2% | 0.43 | 0.12 | 15.2x | 104 | 48% |
| Keltner 채널 돌파 emaPeriod=58, atrPeriod=29, mult=2.5 |
4.5% | -74.7% | 0.36 | 0.06 | 7.7x | 196 | 39% |
| Supertrend period=25, mult=4.5 |
4.9% | -61.4% | 0.35 | 0.08 | 9.2x | 200 | 57% |
| Parabolic SAR step=0.005, maxStep=0.1 |
4.4% | -82.0% | 0.32 | 0.05 | 7.5x | 356 | 57% |
| MACD fast=15, slow=26, signal=10 |
1.1% | -88.2% | 0.15 | 0.01 | 1.7x | 764 | 50% |
| Buy and hold | 12.5% | -64.0% | 0.56 | 0.20 | 242.2x | 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, 39-day) is ≥ 50
- Sell — Sell when direction flips or the trend weakens (ADX < 50)