Trend-Following Backtester · Guide · backtest 한국어
equity · US
AppFolio, Inc. backtest
10 trend-following strategies were compared on the full daily history of AppFolio, Inc.. 1 beat buy-and-hold CAGR; Keltner 채널 돌파 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is EMA 크로스오버 (CAGR 28.4%, MDD -41.3%).
Results by strategy
1 of 10 beat buy and hold (CAGR 25.8%, drawdown -55.4%).
Sharpe leader (same as main): Keltner 채널 돌파 — CAGR 19.8%, MDD -30.5%, Sharpe 1.00, 31% exposure.
CAGR reference leader: EMA 크로스오버 — CAGR 28.4%, MDD -41.3%, exposure 67%.
Return/drawdown alternative: EMA 크로스오버 — CAGR is 6.0%p lower than buy and hold, while drawdown improves by 24.9%p (CAGR 28.4%, MDD -41.3%, exposure 67%).
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 |
|---|---|---|---|---|---|---|---|
| Keltner 채널 돌파 emaPeriod=49, atrPeriod=5, mult=3.2 |
19.8% | -30.5% | 1.00 | 0.65 | 7.4x | 22 | 31% |
| EMA 크로스오버 fast=70, slow=192 |
28.4% | -41.3% | 0.87 | 0.69 | 16.0x | 6 | 67% |
| SMA 크로스오버 fast=23, slow=187 |
21.2% | -41.3% | 0.74 | 0.51 | 8.5x | 18 | 60% |
| Supertrend period=18, mult=5 |
18.0% | -59.3% | 0.72 | 0.30 | 6.2x | 29 | 52% |
| Donchian 채널 돌파 entryN=76, exitN=43 |
16.1% | -49.0% | 0.68 | 0.33 | 5.2x | 20 | 50% |
| ADX / DI 방향성 period=50, threshold=9 |
14.3% | -41.6% | 0.63 | 0.34 | 4.4x | 78 | 43% |
| 볼린저 밴드 돌파 n=38, k=2.3 |
10.3% | -52.3% | 0.58 | 0.20 | 3.0x | 44 | 31% |
| MACD fast=3, slow=47, signal=13 |
7.9% | -46.7% | 0.40 | 0.17 | 2.3x | 261 | 52% |
| ROC 모멘텀 n=87, threshold=0.07 |
7.1% | -72.4% | 0.39 | 0.10 | 2.1x | 113 | 48% |
| Parabolic SAR step=0.01, maxStep=0.38 |
3.6% | -70.8% | 0.27 | 0.05 | 1.5x | 149 | 56% |
| Buy and hold | 25.8% | -55.4% | 0.74 | 0.47 | 12.7x | 1 | 100% |
Rules of the top strategy
Breaking above the channel top (average plus a multiple of volatility) signals an upside breakout.
- Buy — Buy when the close breaks above the 49-day average + 3.2× volatility (Keltner top)
- Sell — Sell when the close falls back to the 49-day average