Trend-Following Backtester · Guide · backtest 한국어
equity · QA
AlRayan Bank backtest
10 trend-following strategies were compared on the full daily history of AlRayan Bank. 7 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester.
Results by strategy
7 of 10 beat buy and hold (CAGR 2.5%, drawdown -90.4%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 6.0%, MDD -90.0%, Sharpe 0.33, 51% exposure.
No strategy retained at least 75% of buy-and-hold CAGR while reducing drawdown by both 20% relatively and 5 percentage points absolutely.
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=21, slow=106 |
6.0% | -90.0% | 0.33 | 0.07 | 2.6x | 42 | 51% |
| Donchian 채널 돌파 entryN=54, exitN=88 |
5.3% | -90.0% | 0.33 | 0.06 | 2.4x | 26 | 58% |
| Parabolic SAR step=0.005, maxStep=0.04 |
4.7% | -90.4% | 0.33 | 0.05 | 2.2x | 84 | 46% |
| EMA 크로스오버 fast=34, slow=83 |
4.3% | -90.0% | 0.33 | 0.05 | 2.0x | 32 | 53% |
| Supertrend period=5, mult=5 |
3.7% | -90.0% | 0.33 | 0.04 | 1.8x | 59 | 52% |
| ROC 모멘텀 n=127, threshold=0.08 |
3.1% | -90.0% | 0.32 | 0.03 | 1.7x | 100 | 29% |
| MACD fast=18, slow=27, signal=19 |
-2.8% | -94.6% | 0.31 | -0.03 | 0.6x | 200 | 50% |
| 볼린저 밴드 돌파 n=19, k=3 |
2.6% | -91.3% | 0.23 | 0.03 | 1.5x | 38 | 10% |
| ADX / DI 방향성 period=7, threshold=42 |
0.8% | -91.2% | 0.23 | 0.01 | 1.1x | 158 | 18% |
| Keltner 채널 돌파 emaPeriod=22, atrPeriod=21, mult=1.8 |
-10.0% | -99.1% | 0.21 | -0.10 | 0.2x | 100 | 27% |
| Buy and hold | 2.5% | -90.4% | 0.33 | 0.03 | 1.5x | 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 21-day average price crosses above the 106-day average
- Sell — Sell (to cash) when the 21-day average falls below the 106-day average