Strategy Zoo / S1591
LongTermTrend_V1591
ARCHIVEDhybridstructuralreduce exposure to 55% during MEDIUM_VOLATILITY
Fitness
0.7001
Generation
73
Complexity
14
Created
2026-10-14
Lineage
Parents (1)
added entry filter: sma_50_slope > -0.005
Children (0)
None
Strategy Logic (pseudocode)
# LongTermTrend_V1591 [hybrid]
require regime.bubble in ['EXPENSIVE', 'EXTREME']
if flat and ((((close > sma_200 and sma_200_slope > -0.0012) or ret_20d > 0.0257) and ret_20d > 0.05 and cumret_252d > -0.1997) and ret_20d > 0.05 and sma_50_slope > -0.005):
position = 1.0
if long and ret_20d < -0.1003:
position = 0.0 # exit to cash
if regime.volatility == "MEDIUM_VOLATILITY": position *= 0.55Backtest Metrics
| Metric | Train | Validation | Hidden Test | Full |
|---|---|---|---|---|
| CAGR | 24.7% | 81.4% | 8.9% | 30.3% |
| Total Return | 482.7% | 497.1% | 38.0% | 4842.3% |
| Sharpe | 1.14 | 1.66 | 0.59 | 1.15 |
| Sortino | 0.91 | 1.29 | 0.32 | 0.78 |
| Calmar | 1.33 | 2.41 | 0.46 | 0.90 |
| Volatility | 21.3% | 41.0% | 17.0% | 25.8% |
| Max DD | -18.6% | -33.8% | -19.4% | -33.8% |
| Win Rate | 45.5% | 100.0% | 50.0% | 55.6% |
| Avg Win | 68.2% | 87.7% | 22.5% | 67.0% |
| Avg Loss | -1.4% | 0.0% | -3.1% | -1.8% |
| Payoff | 10.00 | 5.00 | 7.31 | 10.00 |
| Expectancy | 30.3% | 87.7% | 9.7% | 36.4% |
| Profit Factor | 10.00 | 5.00 | 7.31 | 10.00 |
| Trades | 11 | 3 | 4 | 18 |
| Avg Holding Days | 31.5 | 85.0 | 25.5 | 39.7 |
| Turnover | 5.1 | 4.7 | 3.1 | 4.5 |
| Exposure | 15.1% | 27.1% | 8.4% | 15.9% |
Growth of $100
LongTermTrend_V1591 vs TSLA Buy & Hold
LongTermTrend_V1591 TSLA Buy & HoldIn-sampleValidationHidden test
Growth of $100 · log scale · in-sample, validation and hidden-test segments are shaded separately and must not be compared as one out-of-sample track record.
Walk-Forward Years
year-by-year stability matters more than any single year
| Year | CAGR | Sharpe | Max DD | Trades |
|---|---|---|---|---|
| 2016 | 0.0% | 0.00 | 0.0% | 0 |
| 2017 | -1.0% | 0.06 | -18.6% | 5 |
| 2018 | 0.0% | 0.00 | 0.0% | 0 |
| 2019 | 9.5% | 1.31 | -3.8% | 0 |
| 2020 | 476.1% | 2.88 | -33.8% | 2 |
| 2021 | 1.0% | 0.14 | -9.3% | 1 |
| 2022 | 0.0% | 0.00 | 0.0% | 0 |
A robust strategy performs acceptably in most years rather than spectacularly in one — look for consistency across regimes, not a single outlier year.
Regime Performance
| Period | Regime | Days | Ann. Return | Sharpe | Exposure |
|---|---|---|---|---|---|
| hidden test | DOWNTREND | 279 | 0.0% | 0.00 | 0% |
| hidden test | EXPENSIVE | 83 | 17.4% | 0.49 | 53% |
| hidden test | EXTREME | 48 | 199.6% | 3.46 | 70% |
| hidden test | HIGH VOLATILITY | 254 | 27.9% | 1.06 | 16% |
| hidden test | LOW VOLATILITY | 443 | 16.5% | 1.99 | 3% |
| hidden test | MEDIUM VOLATILITY | 251 | -19.7% | -1.21 | 10% |
| hidden test | NORMAL | 817 | -1.9% | -0.89 | 0% |
| hidden test | SIDEWAYS | 298 | -0.4% | -0.13 | 1% |
| hidden test | UPTREND | 371 | 25.8% | 0.96 | 21% |
| train | DOWNTREND | 518 | 0.0% | 0.00 | 0% |
| train | EXPENSIVE | 311 | 41.8% | 1.26 | 66% |
| train | EXTREME | 100 | 394.6% | 5.51 | 91% |
| train | HIGH VOLATILITY | 699 | 57.0% | 1.82 | 22% |
| train | LOW VOLATILITY | 745 | 10.2% | 0.92 | 12% |
| train | MEDIUM VOLATILITY | 568 | 2.4% | 0.16 | 11% |
| train | NORMAL | 1,601 | -2.3% | -1.06 | 0% |
| train | SIDEWAYS | 592 | 7.8% | 0.97 | 5% |
| train | UPTREND | 902 | 49.0% | 1.58 | 31% |
| validation | DOWNTREND | 125 | 0.0% | 0.00 | 0% |
| validation | EXPENSIVE | 138 | 65.7% | 1.31 | 59% |
| validation | EXTREME | 144 | 296.8% | 3.77 | 85% |
| validation | HIGH VOLATILITY | 258 | 120.6% | 1.90 | 43% |
| validation | LOW VOLATILITY | 183 | 9.3% | 0.47 | 18% |
| validation | MEDIUM VOLATILITY | 315 | 59.1% | 2.60 | 19% |
| validation | NORMAL | 474 | -0.8% | -0.78 | 0% |
| validation | SIDEWAYS | 206 | 12.2% | 0.63 | 7% |
| validation | UPTREND | 425 | 115.1% | 2.18 | 45% |
Trades (full period)
18 trades
| Entry | Exit | Entry Px | Exit Px | Return | Days | |
|---|---|---|---|---|---|---|
| 2025-09-15 | 2025-11-13 | $410.04 | $401.99 | 4.59% | 44 | |
| 2025-05-28 | 2025-06-02 | $356.90 | $342.69 | -4.19% | 4 | |
| 2025-05-15 | 2025-05-22 | $342.82 | $341.04 | -1.98% | 6 | |
| 2024-11-07 | 2025-01-17 | $296.91 | $426.50 | 40.46% | 48 | |
| 2020-10-07 | 2021-02-19 | $141.77 | $260.43 | 44.83% | 93 | |
| 2020-04-14 | 2020-09-30 | $47.33 | $143.00 | 159.06% | 119 | |
| 2019-12-17 | 2020-03-05 | $25.27 | $48.30 | 79.49% | 54 | |
| 2017-08-04 | 2017-09-26 | $23.79 | $23.02 | -2.69% | 37 | |
| 2017-04-07 | 2017-07-07 | $20.17 | $20.88 | -1.21% | 63 | |
| 2017-03-28 | 2017-04-06 | $18.50 | $19.91 | 5.39% | 8 | |
| 2017-02-03 | 2017-02-28 | $16.76 | $16.67 | -0.56% | 17 | |
| 2017-01-25 | 2017-01-31 | $16.96 | $16.80 | -1.76% | 5 | |
| 2014-01-15 | 2014-03-26 | $10.94 | $14.20 | 25.18% | 49 | |
| 2014-01-08 | 2014-01-10 | $10.09 | $9.71 | -1.42% | 3 | |
| 2013-12-23 | 2014-01-07 | $9.57 | $9.96 | 2.49% | 10 | |
| 2013-04-11 | 2013-10-24 | $2.91 | $11.54 | 301.62% | 138 | |
| 2013-02-14 | 2013-02-15 | $2.55 | $2.47 | -0.67% | 2 | |
| 2013-01-24 | 2013-02-12 | $2.47 | $2.53 | 6.51% | 14 |