Strategy Zoo / S1557
LongTermTrend_V1557
ARCHIVEDhybridcrossoverentry = LongTermTrend_V1110 OR PriceMomentum_V1423
Fitness
0.6844
Generation
72
Complexity
26
Created
2026-10-14
Lineage
Parents (2)
entry = LongTermTrend_V0605 OR PriceMomentum_V1003
swapped indicator ret_20d -> ret_1d
Children (0)
None
Strategy Logic (pseudocode)
# LongTermTrend_V1557 [hybrid]
if flat and ((((((close > sma_200 and sma_200_slope > 0.0) or ret_20d > 0.1) and ret_20d > 0.05 and cumret_252d > -0.1997) and ret_20d > 0.05) or ret_20d > 0.184) or ((ret_20d > 0.05 and (((close > sma_200 and sma_200_slope > 0.0) or ret_1d > -0.0578) and ret_20d > -0.1275 and cumret_252d > -0.0062)) or ret_20d > 0.184)):
position = 1.0
if long and ret_20d < -0.006:
position = 0.0 # exit to cashBacktest Metrics
| Metric | Train | Validation | Hidden Test | Full |
|---|---|---|---|---|
| CAGR | 25.0% | 125.0% | 12.0% | 37.3% |
| Total Return | 494.0% | 1039.3% | 53.0% | 10560.3% |
| Sharpe | 0.83 | 1.86 | 0.50 | 1.02 |
| Sortino | 0.90 | 2.05 | 0.49 | 1.07 |
| Calmar | 0.42 | 3.71 | 0.30 | 0.63 |
| Volatility | 33.3% | 50.4% | 35.9% | 38.1% |
| Max DD | -59.6% | -33.7% | -40.5% | -59.6% |
| Win Rate | 38.1% | 62.5% | 44.0% | 44.6% |
| Avg Win | 24.0% | 39.4% | 14.7% | 28.6% |
| Avg Loss | -5.7% | -8.2% | -6.9% | -6.4% |
| Payoff | 4.19 | 4.83 | 2.14 | 4.47 |
| Expectancy | 5.6% | 21.6% | 2.6% | 9.2% |
| Profit Factor | 2.58 | 8.05 | 1.68 | 3.59 |
| Trades | 42 | 16 | 25 | 83 |
| Avg Holding Days | 22.2 | 27.3 | 17.2 | 22.3 |
| Turnover | 10.6 | 10.7 | 13.3 | 11.3 |
| Exposure | 46.9% | 55.6% | 42.7% | 47.6% |
Growth of $100
LongTermTrend_V1557 vs TSLA Buy & Hold
LongTermTrend_V1557 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.8% | 0.47 | -23.1% | 3 |
| 2017 | 0.2% | 0.14 | -29.8% | 7 |
| 2018 | -32.1% | -1.29 | -35.1% | 8 |
| 2019 | 50.7% | 1.39 | -21.9% | 3 |
| 2020 | 541.3% | 2.93 | -33.7% | 6 |
| 2021 | 84.9% | 1.85 | -17.6% | 5 |
| 2022 | -7.9% | -0.13 | -21.5% | 5 |
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 | -11.7% | -0.41 | 31% |
| hidden test | EXPENSIVE | 83 | 62.6% | 1.38 | 67% |
| hidden test | EXTREME | 48 | 183.9% | 3.27 | 67% |
| hidden test | HIGH VOLATILITY | 254 | 16.6% | 0.35 | 46% |
| hidden test | LOW VOLATILITY | 443 | 55.1% | 2.08 | 40% |
| hidden test | MEDIUM VOLATILITY | 251 | -46.9% | -1.29 | 43% |
| hidden test | NORMAL | 817 | 3.5% | 0.10 | 39% |
| hidden test | SIDEWAYS | 298 | -2.7% | -0.09 | 40% |
| hidden test | UPTREND | 371 | 56.4% | 1.28 | 54% |
| train | DOWNTREND | 518 | -0.9% | -0.05 | 18% |
| train | EXPENSIVE | 311 | 55.9% | 1.42 | 74% |
| train | EXTREME | 100 | 403.3% | 5.47 | 97% |
| train | HIGH VOLATILITY | 699 | 48.9% | 1.14 | 40% |
| train | LOW VOLATILITY | 745 | 41.3% | 1.66 | 58% |
| train | MEDIUM VOLATILITY | 568 | -15.9% | -0.55 | 41% |
| train | NORMAL | 1,601 | -1.1% | -0.04 | 38% |
| train | SIDEWAYS | 592 | -15.2% | -0.57 | 39% |
| train | UPTREND | 902 | 72.4% | 1.69 | 68% |
| validation | DOWNTREND | 125 | 43.5% | 1.99 | 14% |
| validation | EXPENSIVE | 138 | 67.5% | 1.25 | 60% |
| validation | EXTREME | 144 | 347.4% | 4.17 | 93% |
| validation | HIGH VOLATILITY | 258 | 99.1% | 1.46 | 52% |
| validation | LOW VOLATILITY | 183 | 43.7% | 1.68 | 61% |
| validation | MEDIUM VOLATILITY | 315 | 118.7% | 2.69 | 56% |
| validation | NORMAL | 474 | 24.5% | 0.77 | 43% |
| validation | SIDEWAYS | 206 | 4.5% | 0.14 | 42% |
| validation | UPTREND | 425 | 152.0% | 2.44 | 74% |
Trades (full period)
83 trades
| Entry | Exit | Entry Px | Exit Px | Return | Days | |
|---|---|---|---|---|---|---|
| 2026-08-21 | 2026-09-30 | $362.86 | $354.81 | 2.03% | 28 | |
| 2026-07-13 | 2026-07-14 | $394.76 | $396.18 | -3.38% | 2 | |
| 2026-04-29 | 2026-06-08 | $372.80 | $408.95 | 3.78% | 28 | |
| 2026-04-20 | 2026-04-24 | $392.50 | $376.30 | -6.90% | 5 | |
| 2025-12-15 | 2026-01-05 | $475.31 | $451.67 | -4.74% | 14 | |
| 2025-11-03 | 2025-11-13 | $468.37 | $401.99 | -5.87% | 9 | |
| 2025-10-24 | 2025-10-27 | $433.72 | $452.42 | -3.60% | 2 | |
| 2025-08-25 | 2025-10-23 | $346.60 | $448.98 | 28.85% | 43 | |
| 2025-08-05 | 2025-08-20 | $308.72 | $323.90 | 6.27% | 12 | |
| 2025-07-31 | 2025-08-01 | $308.27 | $302.63 | -3.57% | 2 | |
| 2025-05-05 | 2025-06-12 | $280.26 | $319.11 | 13.43% | 28 | |
| 2025-04-29 | 2025-05-02 | $292.03 | $287.21 | -2.07% | 4 | |
| 2025-04-10 | 2025-04-22 | $252.40 | $237.97 | -16.60% | 8 | |
| 2025-04-08 | 2025-04-09 | $221.86 | $272.20 | -5.09% | 2 | |
| 2024-11-07 | 2025-01-13 | $296.91 | $403.31 | 36.54% | 44 | |
| 2024-09-06 | 2024-10-14 | $210.73 | $219.16 | -5.57% | 27 | |
| 2024-06-27 | 2024-08-02 | $197.42 | $207.67 | 10.21% | 26 | |
| 2024-05-14 | 2024-05-29 | $177.55 | $176.19 | 2.63% | 11 | |
| 2024-04-30 | 2024-05-10 | $183.28 | $168.47 | -11.56% | 9 | |
| 2024-03-04 | 2024-03-07 | $188.14 | $178.65 | -13.06% | 4 | |
| 2023-11-17 | 2024-01-08 | $234.30 | $240.45 | 1.47% | 34 | |
| 2023-09-12 | 2023-09-28 | $267.48 | $246.38 | -12.27% | 13 | |
| 2023-07-26 | 2023-08-02 | $264.35 | $254.11 | -1.78% | 6 | |
| 2023-05-24 | 2023-07-24 | $182.90 | $269.06 | 39.69% | 41 | |
| 2023-01-27 | 2023-03-08 | $177.90 | $182.00 | 16.90% | 28 | |
| 2022-09-21 | 2022-09-23 | $300.80 | $275.33 | -6.71% | 3 | |
| 2022-07-14 | 2022-08-29 | $238.31 | $284.82 | 21.29% | 33 | |
| 2022-06-22 | 2022-06-29 | $236.09 | $228.49 | -2.04% | 6 | |
| 2022-03-22 | 2022-04-21 | $331.33 | $336.26 | 5.88% | 22 | |
| 2022-01-04 | 2022-01-24 | $383.20 | $310.00 | -21.49% | 14 | |
| 2021-08-04 | 2021-12-01 | $236.97 | $365.00 | 60.97% | 84 | |
| 2021-06-14 | 2021-07-23 | $205.90 | $214.46 | 6.24% | 29 | |
| 2021-04-14 | 2021-05-04 | $244.08 | $224.53 | -10.34% | 15 | |
| 2021-04-05 | 2021-04-12 | $230.35 | $233.99 | 2.11% | 6 | |
| 2020-11-19 | 2021-02-09 | $166.42 | $283.15 | 77.07% | 55 | |
| 2020-10-22 | 2020-10-29 | $141.93 | $136.94 | -4.12% | 6 | |
| 2020-10-16 | 2020-10-20 | $146.56 | $140.65 | -4.21% | 3 | |
| 2020-10-07 | 2020-10-14 | $141.77 | $153.77 | 7.68% | 6 | |
| 2020-08-14 | 2020-09-24 | $110.05 | $129.26 | 17.09% | 29 | |
| 2020-04-14 | 2020-08-10 | $47.33 | $94.57 | 122.74% | 83 | |
| 2019-10-15 | 2020-03-04 | $17.19 | $49.97 | 189.55% | 97 | |
| 2019-09-13 | 2019-10-10 | $16.35 | $16.32 | -0.74% | 20 | |
| 2019-07-01 | 2019-08-06 | $15.14 | $15.38 | 1.97% | 26 | |
| 2019-04-04 | 2019-04-05 | $17.85 | $18.33 | -8.43% | 2 | |
| 2018-10-29 | 2018-12-19 | $22.32 | $22.20 | 1.65% | 36 | |
| 2018-08-27 | 2018-08-31 | $21.28 | $20.11 | -6.28% | 5 | |
| 2018-08-03 | 2018-08-20 | $23.21 | $20.56 | -12.77% | 12 | |
| 2018-06-12 | 2018-07-06 | $22.85 | $20.59 | -7.09% | 18 | |
| 2018-04-27 | 2018-05-04 | $19.61 | $19.61 | -0.56% | 6 | |
| 2018-03-13 | 2018-03-19 | $22.79 | $20.90 | -7.18% | 5 | |
| 2018-01-22 | 2018-02-07 | $23.44 | $23.00 | -4.78% | 13 | |
| 2018-01-09 | 2018-01-12 | $22.25 | $22.41 | 0.26% | 4 | |
| 2017-12-12 | 2017-12-28 | $22.74 | $21.02 | -5.44% | 12 | |
| 2017-09-18 | 2017-09-26 | $25.67 | $23.02 | -9.35% | 7 | |
| 2017-08-25 | 2017-09-06 | $23.20 | $22.97 | -1.15% | 8 | |
| 2017-08-04 | 2017-08-22 | $23.79 | $22.76 | -2.85% | 13 | |
| 2017-06-01 | 2017-07-06 | $22.69 | $20.59 | -4.27% | 25 | |
| 2017-03-28 | 2017-05-24 | $18.50 | $20.68 | 12.23% | 41 | |
| 2016-12-21 | 2017-02-28 | $13.85 | $16.67 | 17.70% | 46 | |
| 2016-07-22 | 2016-08-17 | $14.82 | $14.88 | 1.21% | 19 | |
| 2016-06-08 | 2016-06-23 | $15.70 | $13.09 | -15.52% | 12 | |
| 2016-03-04 | 2016-05-03 | $13.40 | $15.49 | 23.29% | 42 | |
| 2015-12-01 | 2015-12-29 | $15.81 | $15.81 | -0.76% | 20 | |
| 2015-09-22 | 2015-09-30 | $17.40 | $16.56 | -6.83% | 7 | |
| 2015-08-06 | 2015-08-07 | $16.41 | $16.17 | -9.08% | 2 | |
| 2015-04-09 | 2015-07-27 | $14.01 | $16.87 | 27.55% | 76 | |
| 2015-02-10 | 2015-02-25 | $14.42 | $13.58 | -6.34% | 11 | |
| 2014-11-11 | 2014-12-02 | $16.74 | $15.43 | -4.44% | 15 | |
| 2014-08-05 | 2014-09-16 | $15.90 | $17.38 | 6.22% | 30 | |
| 2014-06-09 | 2014-07-16 | $13.69 | $14.48 | 5.27% | 27 | |
| 2014-05-28 | 2014-06-03 | $14.02 | $13.66 | -3.44% | 5 | |
| 2014-01-15 | 2014-03-26 | $10.94 | $14.20 | 36.42% | 49 | |
| 2013-12-13 | 2014-01-14 | $9.84 | $10.75 | -5.70% | 21 | |
| 2013-07-01 | 2013-10-22 | $7.81 | $11.44 | 60.46% | 80 | |
| 2013-03-26 | 2013-06-26 | $2.52 | $7.05 | 172.31% | 65 | |
| 2013-01-24 | 2013-02-22 | $2.47 | $2.41 | -2.53% | 21 | |
| 2012-11-06 | 2012-12-31 | $2.08 | $2.26 | 5.25% | 38 | |
| 2012-10-09 | 2012-10-12 | $1.89 | $1.84 | -3.38% | 4 | |
| 2012-10-03 | 2012-10-08 | $1.95 | $1.95 | -3.25% | 4 | |
| 2012-09-18 | 2012-09-24 | $2.09 | $2.04 | -7.93% | 5 | |
| 2012-08-24 | 2012-09-06 | $1.97 | $1.90 | -9.26% | 9 | |
| 2012-06-19 | 2012-07-20 | $2.14 | $2.12 | 1.15% | 23 | |
| 2012-02-02 | 2012-04-10 | $2.02 | $2.16 | 11.85% | 47 |