Trend-Following Backtester · Guide · backtest 한국어
equity · JP
Hamamatsu Photonics K.K. backtest
10 trend-following strategies were compared on the full daily history of Hamamatsu Photonics K.K.. 3 beat buy-and-hold CAGR; SMA 크로스오버 ranks first by Sharpe, matching the main backtester. The return/drawdown alternative is 볼린저 밴드 돌파 (CAGR 2.9%, MDD -12.5%).
Results by strategy
3 of 10 beat buy and hold (CAGR 3.3%, drawdown -71.5%).
Sharpe leader (same as main): SMA 크로스오버 — CAGR 7.4%, MDD -45.5%, Sharpe 0.43, 58% exposure.
Return/drawdown alternative: 볼린저 밴드 돌파 — CAGR is 4.1%p higher than buy and hold, while drawdown improves by 26.0%p (CAGR 2.9%, MDD -12.5%, exposure 7%).
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=74, slow=266 |
7.4% | -45.5% | 0.43 | 0.16 | 6.3x | 23 | 58% |
| 볼린저 밴드 돌파 n=14, k=2.8 |
2.9% | -12.5% | 0.36 | 0.23 | 2.1x | 54 | 7% |
| ROC 모멘텀 n=189, threshold=-0.04 |
5.5% | -50.1% | 0.35 | 0.11 | 3.9x | 117 | 63% |
| EMA 크로스오버 fast=57, slow=201 |
4.4% | -52.5% | 0.31 | 0.08 | 3.0x | 27 | 57% |
| ADX / DI 방향성 period=22, threshold=38 |
0.2% | -4.6% | 0.21 | 0.05 | 1.1x | 2 | 0% |
| Donchian 채널 돌파 entryN=24, exitN=63 |
1.6% | -59.0% | 0.19 | 0.03 | 1.5x | 75 | 73% |
| Keltner 채널 돌파 emaPeriod=11, atrPeriod=27, mult=3.2 |
0.4% | -15.7% | 0.09 | 0.02 | 1.1x | 38 | 4% |
| Parabolic SAR step=0.005, maxStep=0.32 |
-2.5% | -70.4% | -0.01 | -0.04 | 0.5x | 222 | 53% |
| MACD fast=19, slow=38, signal=16 |
-2.8% | -72.8% | -0.03 | -0.04 | 0.5x | 311 | 50% |
| Supertrend period=9, mult=3.4 |
-3.3% | -69.1% | -0.05 | -0.05 | 0.4x | 182 | 54% |
| Buy and hold | 3.3% | -71.5% | 0.26 | 0.05 | 2.3x | 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 74-day average price crosses above the 266-day average
- Sell — Sell (to cash) when the 74-day average falls below the 266-day average