Strategy Zoo / S1183

LongTermTrend_V1183

ARCHIVEDhybrid

llm['Added regime gates: allow only UPTREND/SIDEWAYS, restrict to LOW/MEDIUM volatility and NORMAL bubble to reduce bad-market exposure.', 'Reworked entry: keep long-only trend/momentum combo (price > sma200 & rising OR strong 20d return) plus MACD or momentum confirmation and RSI filter; added volatility and 1yr cumulative return guard.', 'Improved exits: multi-condition exit (20d loss < -8% OR price falls below sma50 OR strategy drawdown >15%) for earlier risk control.', 'Added volatility- and momentum-based position scaling (increase size in low vol or strong momentum, reduce in high vol); lowered base position to 0.7 to reduce overall risk.']

Fitness
0.0910
Generation
54
Complexity
19
Created
2026-10-06

Lineage

Parents (1)
LongTermTrend_V0822S0822 · gen 37ARCHIVEDllm

changed cumret_252d threshold -0.1997 -> -0.4102

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1183  [hybrid]
require regime.trend in ['UPTREND', 'SIDEWAYS']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL']
if flat and (((close > sma_200 and sma_200_slope > 0.0) or ret_20d > 0.06) and (macd_hist > 0.0 or momentum_60 > 0.0) and rsi_14 > 45.0 and vol_pctile < 0.8 and cumret_252d > -0.5):
    position = 0.7
if long and (ret_20d < -0.08 or close < sma_50 or drawdown > 0.15):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-3.4%-1.5%-11.7%-5.2%
Total Return-24.3%-4.3%-37.1%-54.5%
Sharpe-0.160.00-0.61-0.25
Sortino-0.120.00-0.44-0.18
Calmar-0.08-0.05-0.27-0.09
Volatility14.7%17.6%17.7%16.1%
Max DD-44.5%-31.6%-43.6%-59.6%
Win Rate35.8%47.8%22.9%33.3%
Avg Win3.6%4.7%5.8%4.4%
Avg Loss-2.5%-4.0%-2.8%-2.8%
Payoff1.431.162.081.55
Expectancy-0.3%0.1%-0.8%-0.4%
Profit Factor0.801.060.620.77
Trades672348138
Avg Holding Days8.49.45.97.7
Turnover11.710.718.013.1
Exposure17.2%18.0%17.6%17.5%

Growth of $100

LongTermTrend_V1183 vs TSLA Buy & Hold
LongTermTrend_V1183 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.8%-0.53-12.6%5
201710.2%1.26-3.9%9
2018-13.8%-1.26-17.1%3
2019-1.8%0.01-18.9%6
20200.0%0.000.0%0
202112.8%0.63-20.8%13
2022-15.2%-0.75-31.6%9

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 testDOWNTREND278-3.7%-1.731%
hidden testEXPENSIVE8330.0%2.442%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-17.5%-1.122%
hidden testLOW VOLATILITY438-1.0%-0.0626%
hidden testMEDIUM VOLATILITY250-21.4%-1.0019%
hidden testNORMAL811-15.6%-0.8420%
hidden testSIDEWAYS293-49.8%-2.4727%
hidden testUPTREND37114.6%0.6723%
trainDOWNTREND518-5.5%-0.911%
trainEXPENSIVE3119.4%1.892%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY699-1.9%-0.151%
trainLOW VOLATILITY74516.8%1.1232%
trainMEDIUM VOLATILITY568-28.1%-1.7718%
trainNORMAL1,601-4.9%-0.3021%
trainSIDEWAYS592-14.5%-0.9917%
trainUPTREND9027.3%0.4127%
validationDOWNTREND125-0.1%-1.420%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-11.6%-1.111%
validationLOW VOLATILITY18310.6%0.6540%
validationMEDIUM VOLATILITY3153.5%0.1619%
validationNORMAL4740.1%0.0129%
validationSIDEWAYS206-11.8%-0.5429%
validationUPTREND4255.9%0.3318%

Trades (full period)

latest 100 of 138
EntryExitEntry PxExit PxReturnDays
2026-07-012026-07-06$425.30$419.77-4.63%3
2026-05-082026-06-08$428.35$408.95-3.52%21
2026-04-202026-04-21$392.50$386.42-1.56%2
2026-03-182026-03-19$392.78$380.30-1.28%2
2026-03-122026-03-13$395.01$391.20-2.34%2
2026-03-062026-03-09$396.73$398.68-1.66%2
2026-02-262026-02-27$408.58$402.51-1.62%2
2026-02-122026-02-13$417.07$417.44-1.97%2
2026-01-232026-01-27$449.06$430.90-2.34%3
2026-01-122026-01-15$448.96$438.57-1.05%4
2026-01-062026-01-07$432.96$431.41-3.04%2
2025-12-042026-01-05$454.53$451.67-1.39%21
2025-12-022025-12-03$429.24$446.74-0.29%2
2025-11-282025-12-01$430.17$430.140.45%2
2025-11-252025-11-26$419.40$426.580.13%2
2025-11-132025-11-14$401.99$404.35-4.79%2
2025-08-252025-09-15$346.60$410.0411.24%15
2025-08-112025-08-21$339.03$320.11-1.34%9
2025-07-312025-08-01$308.27$302.63-2.50%2
2025-07-292025-07-30$321.20$319.04-1.08%2
2025-07-212025-07-25$328.49$316.06-5.29%5
2025-07-172025-07-18$319.41$329.65-0.63%2
2025-07-152025-07-16$310.78$321.67-1.49%2
2025-06-022025-06-06$342.69$295.14-12.73%5
2025-05-222025-05-28$341.04$356.905.75%4
2025-05-122025-05-13$318.38$334.074.58%2
2024-09-232024-10-14$250.00$219.16-6.04%16
2024-09-162024-09-20$226.78$238.254.02%5
2024-09-052024-09-09$230.17$216.27-2.82%3
2024-06-272024-07-12$197.42$248.2315.58%11
2023-11-292024-01-10$244.14$233.94-3.38%29
2023-11-272023-11-28$236.08$246.720.05%2
2023-11-222023-11-24$234.21$235.45-2.17%2
2023-11-202023-11-21$235.60$241.200.25%2
2023-11-162023-11-17$233.59$234.30-2.80%2
2023-11-142023-11-15$237.41$242.844.14%2
2023-11-082023-11-09$222.11$209.98-0.16%2
2023-10-062023-10-16$260.53$253.92-2.54%7
2023-09-122023-09-22$267.48$244.88-4.72%9
2023-09-082023-09-11$248.50$273.58-0.97%2
2023-09-062023-09-07$251.92$251.49-1.39%2
2023-08-302023-09-05$256.90$256.49-3.44%4
2023-08-282023-08-29$238.82$257.18-0.07%2
2023-08-042023-08-08$253.86$249.70-2.27%3
2023-05-312023-08-03$203.93$259.3218.16%45
2023-04-122023-04-13$180.54$185.90-2.48%2
2023-04-102023-04-11$184.51$186.79-0.35%2
2023-02-282023-03-10$205.71$173.44-12.05%9
2022-09-212022-09-26$300.80$276.01-7.79%4
2022-08-022022-09-01$300.59$277.16-5.15%23
2022-05-052022-05-06$291.09$288.55-5.97%2
2022-03-182022-04-27$301.80$293.840.77%28
2022-03-102022-03-11$279.43$265.12-1.82%2
2022-03-022022-03-03$293.30$279.761.12%2
2022-02-162022-02-17$307.80$292.12-0.07%2
2022-02-092022-02-10$310.67$301.520.62%2
2022-01-122022-01-13$368.74$343.852.61%2
2021-12-232022-01-03$355.67$399.933.20%7
2021-12-082021-12-14$356.32$319.50-5.81%5
2021-11-232021-12-03$369.68$338.32-4.48%8
2021-06-242021-11-10$226.61$355.9837.33%98
2021-06-222021-06-23$207.90$218.860.18%2
2021-06-182021-06-21$207.77$206.940.62%2
2021-06-152021-06-16$199.79$201.62-2.22%2
2021-06-112021-06-14$203.30$205.90-0.17%2
2021-06-012021-06-02$207.97$201.71-0.29%2
2021-05-272021-05-28$210.28$208.411.18%2
2021-04-142021-04-30$244.08$236.48-8.02%13
2021-04-122021-04-13$233.99$254.112.44%2
2021-04-082021-04-09$227.93$225.671.20%2
2021-02-192021-02-23$260.43$232.95-6.62%3
2019-11-222019-12-17$22.20$25.275.17%17
2019-10-172019-10-25$17.46$21.8810.68%7
2019-09-262019-09-27$16.17$16.144.10%2
2019-09-132019-09-25$16.35$15.25-6.61%9
2019-07-222019-07-26$17.05$15.20-8.01%5
2019-03-012019-03-04$19.65$19.02-5.63%2
2018-11-272018-12-21$22.93$21.32-6.31%18
2018-03-132018-03-15$22.79$21.71-3.97%3
2018-01-112018-02-09$22.53$20.69-4.12%21
2017-12-122017-12-26$22.74$21.15-0.90%10
2017-10-182017-10-20$23.98$23.01-0.91%3
2017-10-112017-10-17$23.64$23.72-1.12%5
2017-10-042017-10-05$23.67$23.691.24%2
2017-03-242017-03-28$17.54$18.504.08%3
2017-03-202017-03-22$17.46$17.00-3.03%3
2017-03-152017-03-16$17.05$17.47-0.76%2
2017-01-312017-02-03$16.80$16.760.12%4
2016-12-282017-01-25$14.65$16.9610.85%19
2016-10-042016-10-05$14.09$13.90-0.89%2
2016-07-222016-08-29$14.82$14.35-0.26%27
2016-06-082016-06-10$15.70$14.59-1.03%3
2016-03-282016-05-04$15.35$14.841.39%28
2016-03-212016-03-24$15.89$15.18-3.18%4
2015-12-302016-01-05$15.87$14.90-4.18%4
2015-09-212015-09-29$17.61$16.44-3.41%7
2015-08-192015-08-20$17.02$16.15-1.61%2
2015-08-052015-08-07$18.01$16.17-5.40%3
2015-07-292015-08-04$17.59$17.75-1.41%5
2015-04-282015-07-28$15.37$17.656.50%64