Strategy Zoo / S1180

LongTermTrend_V1180

ARCHIVEDhybrid

llmSimplified and regularized entries (require modest 20d momentum + one of: sma50+macd, close>sma200 with non-negative sma200 slope, or breakout with moderate vol pickup). Strengthened exits to include short-term losses and drawdown and added sma50-based fail-safes. Added regime gate to only trade in UPTREND and avoid extreme bubble regime. Added volatility-based position scaling (reduce size in high vol). These structural changes aim to reduce overfitting and improve validation robustness.

Fitness
0.2888
Generation
54
Complexity
21
Created
2026-10-06

Lineage

Parents (1)
LongTermTrend_V1146S1146 · gen 52ARCHIVEDllm

changed vol_chg threshold 0.0238 -> 0.2681

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1180  [hybrid]
require regime.trend in ['UPTREND']
require regime.bubble in ['NORMAL', 'EXPENSIVE']
if flat and (ret_20d > 0.04 and ((close > sma_50 and macd_hist > 0.0) or (close > sma_200 and sma_200_slope > -0.0024) or (breakout_50 == 1 and vol_chg > 0.15))):
    position = 1.0
if long and (macd_hist < 0.0 or ret_5d < -0.03 or drawdown > 0.08 or (close < sma_50 and macd_hist < 0.05)):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR2.5%26.4%16.1%10.6%
Total Return21.7%102.0%75.0%342.8%
Sharpe0.221.080.820.58
Sortino0.170.940.500.44
Calmar0.060.610.620.24
Volatility19.7%24.5%21.0%21.1%
Max DD-40.3%-43.6%-26.1%-45.0%
Win Rate43.2%56.6%47.6%47.4%
Avg Win3.8%6.0%6.7%5.2%
Avg Loss-2.6%-3.9%-3.1%-2.9%
Payoff1.491.562.171.77
Expectancy0.2%1.7%1.6%0.9%
Profit Factor1.132.031.971.60
Trades1185342213
Avg Holding Days4.13.73.84.0
Turnover29.735.322.528.9
Exposure18.5%19.2%12.5%17.1%

Growth of $100

LongTermTrend_V1180 vs TSLA Buy & Hold
LongTermTrend_V1180 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-5.7%-0.57-12.2%9
20177.4%0.46-15.1%18
2018-22.2%-1.30-22.1%15
201917.5%1.13-8.4%7
2020110.7%2.90-8.0%14
202158.9%1.82-16.2%26
2022-39.9%-2.90-39.8%12

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 testDOWNTREND2780.0%0.000%
hidden testEXPENSIVE8331.5%0.8937%
hidden testEXTREME48154.1%4.9010%
hidden testHIGH VOLATILITY25442.2%1.6711%
hidden testLOW VOLATILITY43817.9%1.1212%
hidden testMEDIUM VOLATILITY250-9.5%-0.4015%
hidden testNORMAL8117.6%0.4210%
hidden testSIDEWAYS293-1.5%-0.741%
hidden testUPTREND37144.8%1.3431%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE31135.9%1.1947%
trainEXTREME10083.5%2.886%
trainHIGH VOLATILITY69921.5%0.8715%
trainLOW VOLATILITY7452.4%0.1427%
trainMEDIUM VOLATILITY568-14.2%-0.8911%
trainNORMAL1,601-6.7%-0.4214%
trainSIDEWAYS592-5.9%-1.321%
trainUPTREND90213.6%0.4740%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE138122.3%3.2543%
validationEXTREME14447.0%2.603%
validationHIGH VOLATILITY2583.2%0.186%
validationLOW VOLATILITY1833.6%0.1929%
validationMEDIUM VOLATILITY31558.6%1.8724%
validationNORMAL474-7.8%-0.3717%
validationSIDEWAYS206-18.7%-1.931%
validationUPTREND42556.0%1.7633%

Trades (full period)

latest 100 of 213
EntryExitEntry PxExit PxReturnDays
2026-05-292026-06-01$435.79$415.88-1.63%2
2025-12-312026-01-02$449.72$438.07-1.24%2
2025-12-152025-12-30$475.31$454.43-0.05%11
2025-11-062025-11-07$445.91$429.52-3.69%2
2025-11-032025-11-05$468.37$462.07-2.89%3
2025-10-242025-10-27$433.72$452.42-3.60%2
2025-10-132025-10-14$435.90$429.245.21%2
2025-10-092025-10-10$435.54$413.49-0.92%2
2025-10-072025-10-08$433.09$438.69-4.64%2
2025-09-122025-10-06$395.94$453.2516.32%17
2025-09-042025-09-05$338.53$350.841.13%2
2025-06-042025-06-05$332.05$284.70-3.75%2
2025-05-282025-06-03$356.90$344.27-5.76%5
2025-05-222025-05-27$341.04$362.891.21%3
2025-01-032025-01-06$410.44$411.058.01%2
2024-12-022024-12-03$357.09$351.423.25%2
2024-11-262024-11-29$338.23$345.16-1.88%3
2024-11-222024-11-25$352.56$338.593.60%2
2024-11-142024-11-19$311.18$346.002.36%4
2024-11-072024-11-12$296.91$328.4921.07%4
2024-10-092024-10-10$241.05$238.77-1.61%2
2024-10-072024-10-08$240.83$244.50-3.90%2
2024-10-032024-10-04$240.66$250.08-3.55%2
2024-09-042024-09-27$219.41$260.4620.48%18
2024-07-312024-08-01$232.07$216.864.04%2
2024-07-292024-07-30$232.10$222.625.39%2
2024-07-252024-07-26$220.25$219.801.77%2
2024-07-232024-07-24$246.38$215.99-2.24%2
2024-07-192024-07-22$239.20$251.51-4.22%2
2024-07-022024-07-18$231.26$249.2318.19%12
2024-01-032024-01-04$238.45$237.93-4.21%2
2023-07-272023-07-28$255.71$266.44-3.46%2
2023-07-252023-07-26$265.28$264.35-1.60%2
2023-07-202023-07-21$262.90$260.02-9.93%2
2023-07-182023-07-19$293.34$291.260.82%2
2023-07-142023-07-17$281.38$290.381.05%2
2023-07-122023-07-13$271.99$277.900.61%2
2023-07-102023-07-11$269.61$269.79-1.95%2
2023-07-052023-07-07$282.48$274.43-1.37%3
2023-06-302023-07-03$261.77$279.821.46%2
2023-06-282023-06-29$256.24$257.502.21%2
2023-06-022023-06-27$213.97$250.2115.93%17
2022-09-202022-09-23$308.73$275.33-6.81%4
2022-09-122022-09-14$304.42$302.61-2.71%3
2022-08-162022-08-19$306.56$296.67-2.28%4
2022-08-052022-08-08$288.17$290.42-6.82%2
2022-04-192022-04-20$342.72$325.732.17%2
2022-04-142022-04-18$328.33$334.76-3.85%2
2022-04-122022-04-13$328.98$340.790.93%2
2022-04-082022-04-11$341.83$325.31-3.20%2
2022-04-052022-04-07$363.75$352.42-8.89%3
2022-01-182022-01-19$343.50$331.88-2.02%2
2022-01-122022-01-14$368.74$349.87-3.28%3
2022-01-042022-01-11$383.20$354.80-11.99%6
2021-12-092021-12-10$334.60$339.01-6.29%2
2021-11-242021-11-26$372.00$360.640.43%2
2021-11-222021-11-23$385.62$369.681.54%2
2021-11-182021-11-19$365.46$379.020.48%2
2021-11-162021-11-17$351.58$363.003.88%2
2021-11-122021-11-15$344.47$337.80-3.03%2
2021-11-102021-11-11$355.98$354.504.14%2
2021-10-122021-11-09$268.57$341.1746.56%21
2021-10-082021-10-11$261.83$263.98-1.22%2
2021-09-282021-10-07$259.19$264.54-1.29%8
2021-09-242021-09-27$258.13$263.792.55%2
2021-09-222021-09-23$250.65$251.211.50%2
2021-09-072021-09-21$250.97$246.46-0.66%11
2021-08-262021-08-27$233.72$237.31-1.61%2
2021-08-242021-08-25$236.16$237.070.11%2
2021-08-192021-08-20$224.49$226.75-2.45%2
2021-08-052021-08-17$238.21$221.90-3.67%9
2021-02-102021-02-11$268.27$270.55-5.45%2
2021-02-052021-02-08$284.08$287.810.06%2
2021-02-032021-02-04$284.90$283.33-2.27%2
2021-02-012021-02-02$279.94$290.935.63%2
2021-01-282021-01-29$278.48$264.51-3.52%2
2021-01-262021-01-27$294.36$288.050.06%2
2021-01-202021-01-25$283.48$293.600.05%4
2021-01-122021-01-19$283.15$281.521.65%5
2021-01-052021-01-11$245.04$270.4020.35%5
2020-12-312021-01-04$235.22$243.261.37%2
2020-12-292020-12-30$222.00$231.590.15%2
2020-12-242020-12-28$220.59$221.232.24%2
2020-12-182020-12-23$231.67$215.33-2.56%4
2020-12-102020-12-17$209.02$218.632.82%6
2020-11-192020-12-08$166.42$216.6331.62%13
2020-10-222020-10-23$141.93$140.210.54%2
2020-10-132020-10-20$148.88$140.65-2.79%6
2020-10-092020-10-12$144.67$147.431.70%2
2020-10-072020-10-08$141.77$141.972.53%2
2020-09-112020-09-14$124.24$139.870.17%2
2020-09-092020-09-10$122.09$123.7810.71%2
2020-06-292020-06-30$67.29$71.994.96%2
2020-06-252020-06-26$65.73$63.982.41%2
2019-12-172020-01-22$25.27$37.9743.15%24
2019-12-042019-12-05$22.20$22.02-1.14%2
2019-12-022019-12-03$22.32$22.411.29%2
2019-11-272019-11-29$22.09$22.000.52%2
2019-11-222019-11-25$22.20$22.42-6.33%2
2019-11-052019-11-21$21.15$23.6610.72%13