Trend-Following Backtester · Guide · backtest 한국어
equity · US
UiPath, Inc. backtest
10 trend-following strategies were compared on the full daily history of UiPath, Inc.. 10 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is ADX / DI 방향성 (CAGR 1.3%, MDD -18.8%).
Results by strategy
10 of 10 beat buy and hold (CAGR -26.6%, drawdown -89.0%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 1.0%, MDD -54.3%, Sharpe 0.21, 40% exposure.
CAGR reference leader: ADX / DI 방향성 — CAGR 1.3%, MDD -18.8%, exposure 3%.
Return/drawdown alternative: ADX / DI 방향성 — CAGR is 27.6%p higher than buy and hold, while drawdown improves by 34.6%p (CAGR 1.3%, MDD -18.8%, 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 |
|---|---|---|---|---|---|---|---|
| SMA 크로스오버 fast=48, slow=69 |
1.0% | -54.3% | 0.21 | 0.02 | 1.1x | 23 | 40% |
| Donchian 채널 돌파 entryN=27, exitN=79 |
-2.8% | -55.5% | 0.18 | -0.05 | 0.9x | 11 | 61% |
| ADX / DI 방향성 period=11, threshold=39 |
1.3% | -18.8% | 0.16 | 0.07 | 1.1x | 4 | 3% |
| ROC 모멘텀 n=92, threshold=-0.03 |
-2.5% | -57.4% | 0.13 | -0.04 | 0.9x | 37 | 43% |
| Supertrend period=8, mult=4.4 |
-5.2% | -54.8% | 0.09 | -0.10 | 0.7x | 16 | 49% |
| EMA 크로스오버 fast=33, slow=45 |
-3.9% | -44.5% | 0.08 | -0.09 | 0.8x | 17 | 38% |
| 볼린저 밴드 돌파 n=12, k=2.9 |
-0.3% | -28.1% | 0.04 | -0.01 | 1.0x | 6 | 3% |
| MACD fast=14, slow=22, signal=14 |
-12.4% | -64.6% | -0.04 | -0.19 | 0.5x | 78 | 49% |
| Parabolic SAR step=0.01, maxStep=0.06 |
-15.0% | -74.7% | -0.14 | -0.20 | 0.4x | 64 | 42% |
| Keltner 채널 돌파 emaPeriod=20, atrPeriod=21, mult=3.4 |
-4.7% | -32.5% | -0.19 | -0.14 | 0.8x | 10 | 5% |
| Buy and hold | -26.6% | -89.0% | -0.16 | -0.30 | 0.2x | 1 | 100% |
Rules of the top strategy
When the short average rises above the long average, it reads that as an uptrend starting.
- Buy — Buy when the 48-day average price crosses above the 69-day average
- Sell — Sell (to cash) when the 48-day average falls below the 69-day average