Strategy Zoo / S1459

LongTermTrend_V1459

ARCHIVEDhybrid

llmAdded regime gates to avoid downtrends, high volatility, and bubble states; simplified and diversified entry signals to include SMA-200 breakouts, 20d momentum and 50-day trend confirmation; tightened long-term cumulative-return filter; replaced single tight 20d-exit with multi-condition exit (large 20d loss, break below SMA-50, or sizable drawdown); introduced volatility- and drawdown-based position sizing (scale up in low-volatility strong momentum, scale down in high vol or after drawdown) and reduced base position to lower tail risk.

Fitness
0.0894
Generation
67
Complexity
20
Created
2026-10-10

Lineage

Parents (1)
LongTermTrend_V1411S1411 · gen 65ELITEllm

changed ret_1d threshold -0.0578 -> -0.0437

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1459  [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.05 and ret_1d > -0.05) or (sma_50_slope > 0.0 and dist_sma_50 > 0.0)) and cumret_252d > -0.3 and ret_1d > -0.05):
    position = 0.8
if long and (ret_20d < -0.05 or close < sma_50 or drawdown < -0.15):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-1.6%-3.4%-10.3%-4.2%
Total Return-12.1%-9.9%-33.4%-47.2%
Sharpe-0.00-0.08-0.53-0.15
Sortino-0.00-0.07-0.46-0.12
Calmar-0.04-0.11-0.21-0.07
Volatility17.7%19.6%17.5%18.1%
Max DD-39.3%-30.9%-47.8%-57.4%
Win Rate45.1%43.1%42.2%43.6%
Avg Win2.2%2.6%1.9%2.2%
Avg Loss-1.8%-2.0%-1.8%-1.8%
Payoff1.191.281.081.17
Expectancy-0.0%-0.0%-0.2%-0.1%
Profit Factor0.980.970.780.91
Trades184109166459
Avg Holding Days3.72.52.22.9
Turnover36.958.171.049.9
Exposure19.6%17.1%17.3%18.5%

Growth of $100

LongTermTrend_V1459 vs TSLA Buy & Hold
LongTermTrend_V1459 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-13.5%-1.30-17.9%26
20174.2%0.40-12.2%25
2018-7.6%-0.53-13.0%3
201916.7%1.50-7.6%14
20200.0%0.000.0%0
20211.9%0.21-25.3%66
2022-11.6%-0.51-19.2%42

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-7.7%-1.841%
hidden testEXPENSIVE8316.1%1.691%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-14.8%-1.181%
hidden testLOW VOLATILITY442-0.2%-0.0127%
hidden testMEDIUM VOLATILITY250-19.9%-0.9717%
hidden testNORMAL815-12.4%-0.6720%
hidden testSIDEWAYS297-25.7%-1.3128%
hidden testUPTREND3712.6%0.1221%
trainDOWNTREND518-13.6%-1.071%
trainEXPENSIVE31122.3%1.762%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY699-5.9%-0.351%
trainLOW VOLATILITY74513.3%0.7834%
trainMEDIUM VOLATILITY568-10.3%-0.5224%
trainNORMAL1,601-4.4%-0.2324%
trainSIDEWAYS592-1.5%-0.0819%
trainUPTREND9028.8%0.4431%
validationDOWNTREND125-11.3%-2.081%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-16.0%-1.181%
validationLOW VOLATILITY183-7.8%-0.4435%
validationMEDIUM VOLATILITY31513.9%0.5720%
validationNORMAL474-2.5%-0.1027%
validationSIDEWAYS206-32.1%-1.3926%
validationUPTREND42516.1%0.7918%

Trades (full period)

latest 100 of 460
EntryExitEntry PxExit PxReturnDays
2026-10-09—$382.70—1.56%1OPEN
2026-10-072026-10-08$377.81$375.00-0.76%2
2026-06-302026-07-06$420.60$419.77-3.69%4
2026-06-232026-06-24$381.61$375.53-4.79%2
2026-06-162026-06-17$404.66$396.38-1.42%2
2026-06-122026-06-15$406.43$411.151.30%2
2026-06-092026-06-10$396.68$381.59-2.56%2
2026-06-032026-06-08$423.70$408.95-6.34%4
2026-05-202026-06-02$417.26$423.742.20%9
2026-05-082026-05-19$428.35$404.11-0.45%8
2026-04-202026-04-21$392.50$386.42-1.78%2
2026-03-172026-03-18$399.27$392.780.59%2
2026-03-132026-03-16$391.20$395.56-0.93%2
2026-03-112026-03-12$407.82$395.011.56%2
2026-03-092026-03-10$398.68$399.240.23%2
2026-03-052026-03-06$405.55$396.73-0.24%2
2026-03-032026-03-04$392.43$405.94-2.32%2
2026-02-272026-03-02$402.51$403.32-1.35%2
2026-02-252026-02-26$417.40$408.581.41%2
2026-02-232026-02-24$399.83$409.38-2.49%2
2026-02-192026-02-20$411.71$411.82-0.08%2
2026-02-172026-02-18$410.63$411.32-1.46%2
2026-02-122026-02-13$417.07$417.44-2.25%2
2026-02-102026-02-11$425.21$428.271.35%2
2026-02-062026-02-09$411.11$417.322.64%2
2026-02-042026-02-05$406.01$397.21-3.18%2
2026-02-022026-02-03$421.81$421.96-1.76%2
2026-01-292026-01-30$416.56$430.41-2.92%2
2026-01-272026-01-28$430.90$431.46-0.95%2
2026-01-232026-01-26$449.06$435.20-0.21%2
2026-01-212026-01-22$431.44$449.362.16%2
2026-01-162026-01-20$437.50$419.25-0.35%2
2026-01-122026-01-15$448.96$438.57-1.20%4
2026-01-082026-01-09$435.80$445.010.65%2
2026-01-062026-01-07$432.96$431.41-3.47%2
2025-12-042026-01-05$454.53$451.67-1.63%21
2025-12-022025-12-03$429.24$446.74-0.33%2
2025-11-282025-12-01$430.17$430.140.51%2
2025-11-252025-11-26$419.40$426.580.15%2
2025-11-212025-11-24$391.09$417.78-1.00%2
2025-11-192025-11-20$403.99$395.230.39%2
2025-11-172025-11-18$408.92$401.250.74%2
2025-11-132025-11-14$401.99$404.35-5.47%2
2025-09-112025-09-12$368.81$395.944.67%2
2025-09-092025-09-10$346.97$347.79-0.03%2
2025-09-052025-09-08$350.84$346.402.75%2
2025-09-032025-09-04$334.09$338.530.99%2
2025-08-292025-09-02$333.87$329.36-2.96%2
2025-08-272025-08-28$349.60$345.98-0.63%2
2025-08-252025-08-26$346.60$351.671.39%2
2025-08-192025-08-20$329.31$323.90-1.56%2
2025-08-152025-08-18$330.56$335.16-1.36%2
2025-08-132025-08-14$339.38$335.58-0.50%2
2025-08-112025-08-12$339.03$340.842.11%2
2025-08-052025-08-06$308.72$319.91-0.30%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-232025-07-24$332.56$305.30-0.05%2
2025-07-212025-07-22$328.49$332.11-0.44%2
2025-07-172025-07-18$319.41$329.65-0.72%2
2025-07-152025-07-16$310.78$321.67-1.70%2
2025-06-042025-06-05$332.05$284.70-3.00%2
2025-06-022025-06-03$342.69$344.27-1.03%2
2025-05-272025-05-28$362.89$356.905.39%2
2025-05-222025-05-23$341.04$339.341.37%2
2025-05-122025-05-13$318.38$334.075.23%2
2025-03-042025-03-05$272.04$279.10-3.70%2
2025-02-272025-02-28$281.95$292.98-2.59%2
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-10-012024-10-02$258.02$249.02-1.26%2
2024-09-272024-09-30$260.46$261.631.80%2
2024-09-252024-09-26$257.02$254.220.70%2
2024-09-232024-09-24$250.00$254.273.78%2
2024-09-182024-09-19$227.20$243.92-0.40%2
2024-09-162024-09-17$226.78$227.87-1.38%2
2024-09-062024-09-09$210.73$216.27-6.91%2
2024-09-042024-09-05$219.41$230.173.18%2
2024-07-112024-07-12$241.03$248.23-6.91%2
2024-07-092024-07-10$262.33$263.262.81%2
2024-07-052024-07-08$251.52$252.941.50%2
2024-07-022024-07-03$231.26$246.397.99%2
2024-06-282024-07-01$197.88$209.860.03%2
2024-06-262024-06-27$196.37$197.423.69%2
2024-06-242024-06-25$182.58$187.35-0.35%2
2024-06-182024-06-20$184.86$181.57-1.26%2
2024-06-132024-06-14$182.47$178.012.18%2
2024-06-102024-06-11$173.79$170.66-1.82%2
2024-06-062024-06-07$177.94$177.481.18%2
2024-06-042024-06-05$174.77$175.00-0.85%2
2024-05-312024-06-03$178.08$176.29-0.48%2
2024-05-292024-05-30$176.19$178.79-0.41%2
2024-01-102024-01-11$233.94$227.22-0.51%2
2024-01-082024-01-09$240.45$234.960.84%2
2024-01-042024-01-05$237.93$237.49-0.33%2
2024-01-022024-01-03$248.42$238.45-0.18%2
2023-12-282023-12-29$253.18$248.48-2.69%2
2023-12-262023-12-27$256.61$261.441.13%2