Strategy Zoo / S0590

LongTermTrend_V0590

ARCHIVEDhybrid

llmBroadened and simplified entry to avoid overfitting: use price above sma_50 with positive sma_50_slope OR modest 20d momentum; loosened long-term cumret requirement and added RSI and volatility caps. Added regime gates to only trade in UPTREND, non-extreme volatility, and NORMAL bubble to reduce false signals. Improved exit rules to include short-term deterioration (5d drop), non-positive 20d momentum, or price dropping below sma_50. Added simple position scaling by vol_pctile and reduced base_position to limit drawdown exposure.

Fitness
0.0654
Generation
27
Complexity
16
Created
2026-09-23

Lineage

Parents (1)
LongTermTrend_V0323S0323 · gen 15ARCHIVEDllm

changed ret_20d threshold 0.05 -> 0.1

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0590  [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.03) and cumret_252d > -0.5 and rsi_14 < 75.0 and vol_pctile < 0.85):
    position = 0.8
if long and (ret_5d < -0.03 or ret_20d < 0.0 or close < sma_50):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-2.7%-6.0%-4.3%-3.8%
Total Return-19.5%-16.8%-15.1%-43.1%
Sharpe-0.17-0.34-0.19-0.21
Sortino-0.10-0.17-0.09-0.11
Calmar-0.09-0.13-0.11-0.07
Volatility11.7%14.8%16.2%13.6%
Max DD-30.0%-45.1%-38.2%-53.4%
Win Rate35.2%24.0%41.0%34.8%
Avg Win2.8%9.2%3.6%3.9%
Avg Loss-1.9%-3.3%-3.1%-2.5%
Payoff1.482.791.191.56
Expectancy-0.2%-0.3%-0.3%-0.3%
Profit Factor0.800.880.820.83
Trades712539135
Avg Holding Days4.95.03.54.5
Turnover14.213.316.914.7
Exposure11.1%10.7%8.4%10.3%

Growth of $100

LongTermTrend_V0590 vs TSLA Buy & Hold
LongTermTrend_V0590 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
YearCAGRSharpeMax DDTrades
2016-7.4%-0.83-12.5%9
201714.4%2.41-1.0%8
2018-12.3%-1.26-12.7%4
20191.5%0.22-9.5%5
20200.0%0.000.0%0
202130.5%1.46-14.1%11
2022-36.4%-2.67-38.1%14

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

PeriodRegimeDaysAnn. ReturnSharpeExposure
hidden testDOWNTREND2690.0%0.000%
hidden testEXPENSIVE8317.1%1.691%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-25.2%-1.482%
hidden testLOW VOLATILITY4297.2%0.5611%
hidden testMEDIUM VOLATILITY2501.8%0.0912%
hidden testNORMAL802-5.3%-0.3110%
hidden testSIDEWAYS293-23.2%-1.682%
hidden testUPTREND37110.6%0.4719%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE31110.0%1.772%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY699-0.7%-0.070%
trainLOW VOLATILITY7454.7%0.3423%
trainMEDIUM VOLATILITY568-12.5%-1.128%
trainNORMAL1,601-4.5%-0.3514%
trainSIDEWAYS592-7.3%-1.281%
trainUPTREND9020.3%0.0224%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-3.8%-0.521%
validationLOW VOLATILITY18313.5%1.0028%
validationMEDIUM VOLATILITY315-16.8%-0.879%
validationNORMAL474-8.0%-0.4317%
validationSIDEWAYS206-37.4%-2.442%
validationUPTREND4259.1%0.5518%

Trades (full period)

latest 100 of 135
EntryExitEntry PxExit PxReturnDays
2026-07-012026-07-06$425.30$419.77-5.30%3
2026-05-292026-06-01$435.79$415.88-1.30%2
2026-01-122026-01-13$448.96$447.200.55%2
2026-01-062026-01-07$432.96$431.41-3.47%2
2025-12-312026-01-02$449.72$438.07-0.99%2
2025-12-112025-12-30$446.89$454.431.35%13
2025-12-082025-12-10$439.58$451.45-1.88%3
2025-12-042025-12-05$454.53$455.001.23%2
2025-11-132025-11-14$401.99$404.35-5.47%2
2025-09-122025-09-15$395.94$410.045.72%2
2025-09-042025-09-05$338.53$350.840.90%2
2025-07-312025-08-01$308.27$302.63-2.86%2
2025-07-292025-07-30$321.20$319.04-1.24%2
2025-07-242025-07-25$305.30$316.06-6.71%2
2025-07-212025-07-23$328.49$332.560.44%3
2025-07-082025-07-09$297.81$295.880.89%2
2025-06-052025-06-06$284.70$295.14-11.56%2
2025-06-022025-06-04$342.69$332.05-0.66%3
2025-05-222025-05-27$341.04$362.890.97%3
2024-10-112024-10-14$217.80$219.16-7.18%2
2024-10-092024-10-10$241.05$238.77-1.29%2
2024-10-072024-10-08$240.83$244.50-3.12%2
2024-10-032024-10-04$240.66$250.08-2.84%2
2024-09-232024-09-27$250.00$260.465.19%5
2024-09-162024-09-20$226.78$238.254.58%5
2024-09-052024-09-09$230.17$216.27-3.25%3
2024-09-032024-09-04$210.60$219.41-1.47%2
2024-07-022024-07-12$231.26$248.2311.75%8
2024-01-092024-01-10$234.96$233.94-1.99%2
2024-01-052024-01-08$237.49$240.45-0.31%2
2024-01-032024-01-04$238.45$237.93-3.37%2
2023-08-072023-08-08$251.45$249.70-0.92%2
2023-08-032023-08-04$259.32$253.861.48%2
2023-07-282023-08-02$266.44$254.111.53%4
2023-07-262023-07-27$264.35$255.71-0.44%2
2023-07-242023-07-25$269.06$265.282.62%2
2023-07-132023-07-21$277.90$260.02-2.74%7
2023-06-282023-07-12$256.24$271.996.10%10
2023-06-022023-06-27$213.97$250.2112.72%17
2022-09-192022-09-23$309.07$275.33-4.04%5
2022-09-152022-09-16$303.75$303.350.14%2
2022-09-122022-09-14$304.42$302.61-2.16%3
2022-08-162022-08-22$306.56$289.91-3.44%5
2022-08-052022-08-08$288.17$290.42-5.46%2
2022-05-052022-05-06$291.09$288.55-6.82%2
2022-04-262022-04-27$292.14$293.84-9.90%2
2022-04-222022-04-25$335.02$332.67-0.46%2
2022-04-192022-04-21$342.72$336.26-2.29%3
2022-04-142022-04-18$328.33$334.76-3.08%2
2022-04-122022-04-13$328.98$340.790.74%2
2022-04-082022-04-11$341.83$325.31-2.56%2
2022-04-052022-04-07$363.75$352.42-7.15%3
2022-01-122022-01-13$368.74$343.852.98%2
2021-12-302021-12-31$356.78$352.26-1.33%2
2021-12-272021-12-29$364.65$362.061.45%3
2021-12-132021-12-14$322.14$319.50-4.14%2
2021-12-082021-12-10$356.32$339.01-3.78%3
2021-12-062021-12-07$336.34$350.58-0.63%2
2021-12-022021-12-03$361.53$338.32-0.92%2
2021-11-232021-12-01$369.68$365.00-0.96%6
2021-08-242021-11-09$236.16$341.1749.25%55
2021-08-182021-08-20$229.66$226.750.79%3
2021-08-052021-08-17$238.21$221.90-2.92%9
2021-02-192021-02-22$260.43$238.17-0.78%2
2019-12-032019-12-17$22.41$25.2710.87%11
2019-11-292019-12-02$22.00$22.32-0.49%2
2019-11-262019-11-27$21.93$22.09-1.92%2
2019-11-222019-11-25$22.20$22.42-5.07%2
2019-10-212019-10-22$16.90$17.04-1.23%2
2018-12-192018-12-20$22.20$21.03-1.12%2
2018-11-272018-12-18$22.93$22.470.45%15
2018-02-082018-02-09$21.02$20.69-7.06%2
2018-02-012018-02-06$23.28$22.26-4.95%4
2017-10-182017-10-19$23.98$23.450.72%2
2017-10-132017-10-16$23.70$23.37-0.18%2
2017-10-112017-10-12$23.64$23.71-0.38%2
2017-03-242017-03-28$17.54$18.504.67%3
2017-03-202017-03-21$17.46$16.71-0.03%2
2017-03-152017-03-16$17.05$17.47-0.86%2
2017-02-022017-02-03$16.77$16.760.58%2
2017-01-052017-01-25$15.12$16.969.47%14
2016-08-262016-08-29$14.67$14.35-0.51%2
2016-08-242016-08-25$14.84$14.73-0.95%2
2016-08-192016-08-23$15.00$14.99-0.37%3
2016-08-172016-08-18$14.88$14.90-0.29%2
2016-07-262016-08-16$15.30$14.91-1.68%16
2016-06-082016-06-09$15.70$15.290.93%2
2016-05-032016-05-04$15.49$14.84-3.29%2
2016-04-152016-05-02$16.97$16.12-3.67%12
2016-04-052016-04-14$17.03$16.792.32%8
2015-08-052015-08-07$18.01$16.17-6.18%3
2015-07-312015-08-03$17.74$17.33-0.35%2
2015-07-292015-07-30$17.59$17.79-0.46%2
2015-07-142015-07-27$17.71$16.870.87%10
2015-07-102015-07-13$17.28$17.480.22%2
2015-05-112015-07-09$15.97$17.196.09%42
2015-04-292015-05-01$15.50$15.07-1.69%3
2014-10-092014-10-10$17.13$15.79-0.86%2
2014-10-072014-10-08$17.30$17.29-0.48%2
2014-09-192014-09-22$17.29$16.67-1.52%2