Strategy Zoo / S1712
LongTermTrend_V1712
ARCHIVEDhybridllmSimplified and de-duplicated entry rules; require either price > sma_50 with positive sma_50_slope OR strong 20d return. Added filters: less negative 252d cumulative drawdown, not far below 20SMA, and avoid very high volatility (vol_pctile). Tightened exit: earlier 20d drawdown cut (-8%) and exit on close < sma_50. Added regime gates: only trade in UPTREND and normal/low-medium volatility (avoid bubble/very high vol). Reduced base position to 0.8 to lower risk.
Fitness
0.0722
Generation
79
Complexity
15
Created
2026-10-16
Lineage
Parents (1)
entry = LongTermTrend_V1319 AND PriceMomentum_V1300
Children (0)
None
Strategy Logic (pseudocode)
# LongTermTrend_V1712 [hybrid]
require regime.trend in ['UPTREND']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL']
if flat and (((close > sma_50 and sma_50_slope > 0.0) or ret_20d > 0.06) and cumret_252d > -0.15 and dist_sma_20 > -0.03 and vol_pctile < 0.85):
position = 0.8
if long and (ret_20d < -0.08 or close < sma_50):
position = 0.0 # exit to cashBacktest Metrics
| Metric | Train | Validation | Hidden Test | Full |
|---|---|---|---|---|
| CAGR | -1.3% | -8.7% | -4.2% | -3.6% |
| Total Return | -10.3% | -24.0% | -14.8% | -41.9% |
| Sharpe | -0.05 | -0.48 | -0.19 | -0.19 |
| Sortino | -0.03 | -0.23 | -0.08 | -0.09 |
| Calmar | -0.04 | -0.18 | -0.12 | -0.06 |
| Volatility | 12.6% | 16.3% | 15.8% | 14.3% |
| Max DD | -36.1% | -49.5% | -33.9% | -57.0% |
| Win Rate | 33.3% | 16.7% | 38.9% | 31.7% |
| Avg Win | 5.6% | 19.0% | 6.1% | 7.2% |
| Avg Loss | -3.2% | -5.7% | -4.9% | -4.3% |
| Payoff | 1.77 | 3.31 | 1.23 | 1.68 |
| Expectancy | -0.2% | -1.6% | -0.7% | -0.6% |
| Profit Factor | 0.89 | 0.66 | 0.78 | 0.78 |
| Trades | 30 | 12 | 18 | 60 |
| Avg Holding Days | 12.0 | 10.4 | 6.8 | 10.1 |
| Turnover | 6.0 | 6.4 | 7.6 | 6.5 |
| Exposure | 13.1% | 12.0% | 8.8% | 11.8% |
Growth of $100
LongTermTrend_V1712 vs TSLA Buy & Hold
LongTermTrend_V1712 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 | -7.5% | -0.83 | -12.6% | 3 |
| 2017 | 7.3% | 1.03 | -4.5% | 7 |
| 2018 | -18.1% | -1.73 | -18.0% | 3 |
| 2019 | 4.6% | 0.58 | -7.1% | 2 |
| 2020 | 0.0% | 0.00 | 0.0% | 0 |
| 2021 | 14.3% | 0.71 | -24.1% | 4 |
| 2022 | -33.5% | -2.26 | -35.4% | 7 |
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 | 34.0% | 2.44 | 2% |
| hidden test | EXTREME | 48 | 0.0% | 0.00 | 0% |
| hidden test | HIGH VOLATILITY | 254 | -25.2% | -1.49 | 2% |
| hidden test | LOW VOLATILITY | 445 | 6.3% | 0.47 | 12% |
| hidden test | MEDIUM VOLATILITY | 251 | 3.1% | 0.17 | 10% |
| hidden test | NORMAL | 819 | -6.9% | -0.42 | 10% |
| hidden test | SIDEWAYS | 300 | -23.8% | -1.76 | 2% |
| hidden test | UPTREND | 371 | 11.6% | 0.53 | 21% |
| train | DOWNTREND | 518 | 0.0% | 0.00 | 0% |
| train | EXPENSIVE | 311 | 10.1% | 1.79 | 2% |
| train | EXTREME | 100 | 0.0% | 0.00 | 0% |
| train | HIGH VOLATILITY | 699 | -3.4% | -0.33 | 1% |
| train | LOW VOLATILITY | 745 | 12.9% | 0.87 | 27% |
| train | MEDIUM VOLATILITY | 568 | -14.7% | -1.23 | 10% |
| train | NORMAL | 1,601 | -2.7% | -0.19 | 16% |
| train | SIDEWAYS | 592 | -7.3% | -1.28 | 1% |
| train | UPTREND | 902 | 3.5% | 0.19 | 29% |
| validation | DOWNTREND | 125 | 0.0% | 0.00 | 0% |
| validation | EXPENSIVE | 138 | 0.0% | 0.00 | 0% |
| validation | EXTREME | 144 | 0.0% | 0.00 | 0% |
| validation | HIGH VOLATILITY | 258 | -13.3% | -1.11 | 1% |
| validation | LOW VOLATILITY | 183 | 12.6% | 0.91 | 28% |
| validation | MEDIUM VOLATILITY | 315 | -15.1% | -0.75 | 11% |
| validation | NORMAL | 474 | -12.4% | -0.60 | 19% |
| validation | SIDEWAYS | 206 | -36.2% | -2.37 | 3% |
| validation | UPTREND | 425 | 3.7% | 0.19 | 20% |
Trades (full period)
60 trades
| Entry | Exit | Entry Px | Exit Px | Return | Days | |
|---|---|---|---|---|---|---|
| 2026-07-01 | 2026-07-06 | $425.30 | $419.77 | -5.30% | 3 | |
| 2026-05-29 | 2026-06-01 | $435.79 | $415.88 | -1.30% | 2 | |
| 2026-01-06 | 2026-01-07 | $432.96 | $431.41 | -3.47% | 2 | |
| 2025-12-04 | 2026-01-05 | $454.53 | $451.67 | -1.63% | 21 | |
| 2025-09-12 | 2025-09-15 | $395.94 | $410.04 | 5.72% | 2 | |
| 2025-09-04 | 2025-09-05 | $338.53 | $350.84 | 0.90% | 2 | |
| 2025-07-31 | 2025-08-01 | $308.27 | $302.63 | -2.86% | 2 | |
| 2025-07-29 | 2025-07-30 | $321.20 | $319.04 | -1.24% | 2 | |
| 2025-07-21 | 2025-07-25 | $328.49 | $316.06 | -6.05% | 5 | |
| 2025-06-02 | 2025-06-06 | $342.69 | $295.14 | -14.50% | 5 | |
| 2025-05-22 | 2025-05-28 | $341.04 | $356.90 | 6.58% | 4 | |
| 2024-10-03 | 2024-10-14 | $240.66 | $219.16 | -10.21% | 8 | |
| 2024-09-23 | 2024-09-27 | $250.00 | $260.46 | 5.19% | 5 | |
| 2024-09-19 | 2024-09-20 | $243.92 | $238.25 | 5.72% | 2 | |
| 2024-09-05 | 2024-09-09 | $230.17 | $216.27 | -3.25% | 3 | |
| 2024-07-03 | 2024-07-12 | $246.39 | $248.23 | 3.32% | 7 | |
| 2024-01-03 | 2024-01-10 | $238.45 | $233.94 | -4.50% | 6 | |
| 2023-06-05 | 2023-08-03 | $217.61 | $259.32 | 14.96% | 42 | |
| 2022-09-15 | 2022-09-23 | $303.75 | $275.33 | -3.86% | 7 | |
| 2022-09-12 | 2022-09-14 | $304.42 | $302.61 | -2.16% | 3 | |
| 2022-08-16 | 2022-08-22 | $306.56 | $289.91 | -3.44% | 5 | |
| 2022-08-05 | 2022-08-08 | $288.17 | $290.42 | -5.46% | 2 | |
| 2022-05-05 | 2022-05-06 | $291.09 | $288.55 | -6.82% | 2 | |
| 2022-04-05 | 2022-04-27 | $363.75 | $293.84 | -19.20% | 16 | |
| 2022-01-12 | 2022-01-13 | $368.74 | $343.85 | 2.98% | 2 | |
| 2021-12-27 | 2022-01-03 | $364.65 | $399.93 | -0.92% | 6 | |
| 2021-12-08 | 2021-12-14 | $356.32 | $319.50 | -6.64% | 5 | |
| 2021-11-23 | 2021-12-03 | $369.68 | $338.32 | -5.13% | 8 | |
| 2021-08-24 | 2021-11-10 | $236.16 | $355.98 | 34.93% | 56 | |
| 2021-08-05 | 2021-08-23 | $238.21 | $235.43 | -3.57% | 13 | |
| 2019-11-22 | 2019-12-17 | $22.20 | $25.27 | 5.89% | 17 | |
| 2019-10-21 | 2019-10-22 | $16.90 | $17.04 | -1.23% | 2 | |
| 2018-11-27 | 2018-12-21 | $22.93 | $21.32 | -7.21% | 18 | |
| 2018-02-08 | 2018-02-09 | $21.02 | $20.69 | -7.06% | 2 | |
| 2018-02-01 | 2018-02-06 | $23.28 | $22.26 | -4.95% | 4 | |
| 2017-10-18 | 2017-10-20 | $23.98 | $23.01 | -1.04% | 3 | |
| 2017-10-11 | 2017-10-17 | $23.64 | $23.72 | -1.28% | 5 | |
| 2017-03-24 | 2017-03-28 | $17.54 | $18.50 | 4.67% | 3 | |
| 2017-03-20 | 2017-03-22 | $17.46 | $17.00 | -3.46% | 3 | |
| 2017-03-15 | 2017-03-16 | $17.05 | $17.47 | -0.86% | 2 | |
| 2017-01-31 | 2017-02-03 | $16.80 | $16.76 | 0.14% | 4 | |
| 2017-01-05 | 2017-01-25 | $15.12 | $16.96 | 9.47% | 14 | |
| 2016-07-26 | 2016-08-29 | $15.30 | $14.35 | -3.63% | 25 | |
| 2016-06-08 | 2016-06-09 | $15.70 | $15.29 | 0.93% | 2 | |
| 2016-04-05 | 2016-05-04 | $17.03 | $14.84 | -4.86% | 22 | |
| 2015-08-05 | 2015-08-07 | $18.01 | $16.17 | -6.18% | 3 | |
| 2015-07-29 | 2015-08-04 | $17.59 | $17.75 | -1.61% | 5 | |
| 2015-05-11 | 2015-07-28 | $15.97 | $17.65 | 5.51% | 55 | |
| 2015-04-29 | 2015-05-01 | $15.50 | $15.07 | -1.69% | 3 | |
| 2014-10-07 | 2014-10-10 | $17.30 | $15.79 | -1.27% | 4 | |
| 2014-06-23 | 2014-09-23 | $15.81 | $16.69 | 7.19% | 65 | |
| 2013-03-26 | 2013-04-02 | $2.52 | $2.96 | 13.44% | 5 | |
| 2013-03-06 | 2013-03-18 | $2.51 | $2.34 | -3.08% | 9 | |
| 2013-02-15 | 2013-02-22 | $2.47 | $2.41 | -6.61% | 5 | |
| 2013-02-12 | 2013-02-14 | $2.53 | $2.55 | -0.10% | 3 | |
| 2013-01-15 | 2013-01-24 | $2.26 | $2.47 | 6.38% | 7 | |
| 2012-12-18 | 2013-01-14 | $2.31 | $2.22 | -3.60% | 18 | |
| 2012-11-23 | 2012-12-14 | $2.14 | $2.25 | 2.68% | 16 | |
| 2012-02-23 | 2012-04-10 | $2.30 | $2.16 | -2.46% | 33 | |
| 2012-02-21 | 2012-02-22 | $2.30 | $2.28 | -1.23% | 2 |