Strategy Zoo / S1245

LongTermTrend_V1245

ARCHIVEDhybrid

llmReduced position size to 60% to lower drawdown risk; added volatility filter (vol_pctile < 0.85) to avoid trading in extreme volatility; simplified and consolidated entry rules into two clean branches (breakout + momentum, or trend continuation) with relaxed cumret requirement; improved exits by combining MACD sell with explicit drawdown (>12%) and near-52w-high take-profit (dist_52w_high > 0.98); added regime gates to avoid downtrend/high-volatility/extreme-bubble regimes.

Fitness
0.1225
Generation
57
Complexity
21
Created
2026-10-07

Lineage

Parents (1)
LongTermTrend_V0521S0521 · gen 24ARCHIVEDllm

entry = LongTermTrend_V0469 OR MACDMomentum_V0272

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1245  [hybrid]
require regime.trend in ['UPTREND', 'SIDEWAYS']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL']
if flat and (vol_pctile < 0.85 and ((breakout_50 == 1 and rel_volume > 1.2 and macd_hist > 0.0 and close > sma_50) or ((close > sma_200 or ret_20d > 0.05) and sma_200_slope > -0.0024 and cumret_252d > 0.03))):
    position = 0.6
if long and (macd_hist < 0.0 or drawdown > 0.12 or dist_52w_high > 0.98):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-3.7%5.1%-5.0%-2.3%
Total Return-25.9%16.0%-17.5%-29.1%
Sharpe-0.210.37-0.32-0.09
Sortino-0.150.36-0.23-0.07
Calmar-0.110.27-0.17-0.07
Volatility13.5%17.6%13.4%14.4%
Max DD-33.8%-19.0%-30.2%-33.9%
Win Rate42.8%44.1%35.9%41.6%
Avg Win2.0%3.0%2.7%2.4%
Avg Loss-1.8%-1.9%-1.9%-1.8%
Payoff1.151.611.411.31
Expectancy-0.1%0.3%-0.3%-0.1%
Profit Factor0.861.270.790.93
Trades1596864291
Avg Holding Days3.74.14.33.9
Turnover23.927.220.523.7
Exposure12.8%16.6%13.3%13.7%

Growth of $100

LongTermTrend_V1245 vs TSLA Buy & Hold
LongTermTrend_V1245 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.0%-0.97-10.8%11
201713.1%1.54-5.6%18
2018-5.4%-0.58-10.2%10
2019-0.7%0.02-9.1%3
20200.0%0.000.0%0
202113.5%0.63-18.8%45
2022-5.4%-0.28-14.6%22

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-6.3%-1.981%
hidden testEXPENSIVE8325.7%2.441%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-3.5%-0.431%
hidden testLOW VOLATILITY439-7.5%-0.5621%
hidden testMEDIUM VOLATILITY2500.7%0.0412%
hidden testNORMAL812-7.6%-0.5415%
hidden testSIDEWAYS294-21.6%-1.4223%
hidden testUPTREND37111.0%0.6815%
trainDOWNTREND518-8.2%-0.981%
trainEXPENSIVE31113.1%1.481%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY699-2.0%-0.131%
trainLOW VOLATILITY7454.5%0.4121%
trainMEDIUM VOLATILITY568-13.6%-0.9217%
trainNORMAL1,601-6.1%-0.4216%
trainSIDEWAYS592-9.3%-0.5916%
trainUPTREND9024.5%0.3118%
validationDOWNTREND125-15.7%-2.652%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY25814.2%0.891%
validationLOW VOLATILITY1836.7%0.4633%
validationMEDIUM VOLATILITY3150.0%0.0020%
validationNORMAL47410.3%0.4726%
validationSIDEWAYS206-2.7%-0.1429%
validationUPTREND42517.4%0.9315%

Trades (full period)

latest 100 of 291
EntryExitEntry PxExit PxReturnDays
2026-07-012026-07-06$425.30$419.77-3.97%3
2026-06-052026-06-08$391.00$408.95-4.05%2
2026-06-032026-06-04$423.70$418.45-0.13%2
2026-05-272026-06-02$440.36$423.74-2.56%5
2026-05-222026-05-26$426.01$433.591.05%2
2026-05-082026-05-21$428.35$417.850.78%10
2026-04-202026-04-21$392.50$386.42-1.34%2
2026-03-172026-03-19$399.27$380.30-0.54%3
2026-03-102026-03-16$399.24$395.56-1.23%5
2026-03-052026-03-09$405.55$398.68-1.48%3
2026-02-252026-03-04$417.40$405.94-2.60%6
2026-02-112026-02-24$428.27$409.38-3.72%9
2026-02-092026-02-10$417.32$425.210.79%2
2026-02-042026-02-05$406.01$397.21-2.39%2
2026-02-022026-02-03$421.81$421.96-1.32%2
2026-01-292026-01-30$416.56$430.41-2.19%2
2026-01-272026-01-28$430.90$431.46-0.71%2
2026-01-232026-01-26$449.06$435.20-0.16%2
2026-01-162026-01-20$437.50$419.25-0.27%2
2026-01-142026-01-15$439.20$438.57-1.19%2
2026-01-122026-01-13$448.96$447.200.41%2
2026-01-082026-01-09$435.80$445.010.49%2
2026-01-062026-01-07$432.96$431.41-2.60%2
2026-01-022026-01-05$438.07$451.67-1.67%2
2025-11-282025-12-30$430.17$454.434.60%22
2025-11-252025-11-26$419.40$426.580.11%2
2025-11-212025-11-24$391.09$417.78-0.75%2
2025-11-192025-11-20$403.99$395.230.29%2
2025-11-172025-11-18$408.92$401.250.56%2
2025-11-132025-11-14$401.99$404.35-4.10%2
2025-09-082025-09-15$346.40$410.047.51%6
2025-09-042025-09-05$338.53$350.840.68%2
2025-08-252025-09-03$346.60$334.09-1.98%7
2025-08-112025-08-21$339.03$320.11-1.14%9
2025-08-052025-08-06$308.72$319.91-0.22%2
2025-07-172025-08-01$319.41$302.63-2.50%12
2025-07-152025-07-16$310.78$321.67-1.28%2
2025-06-042025-06-05$332.05$284.70-2.25%2
2025-06-022025-06-03$342.69$344.27-0.77%2
2025-05-222025-05-28$341.04$356.904.92%4
2025-05-122025-05-13$318.38$334.073.93%2
2025-03-042025-03-05$272.04$279.10-2.78%2
2025-02-282025-03-03$292.98$284.652.23%2
2025-02-262025-02-27$290.80$281.95-2.50%2
2024-09-252024-10-04$257.02$250.08-3.32%8
2024-06-272024-07-12$197.42$248.2313.31%11
2024-01-112024-01-12$227.22$218.89-1.84%2
2024-01-092024-01-10$234.96$233.94-1.49%2
2024-01-052024-01-08$237.49$240.45-0.23%2
2024-01-032024-01-04$238.45$237.93-2.53%2
2023-12-152024-01-02$253.50$248.42-0.67%11
2023-11-082023-12-14$222.11$251.054.63%26
2023-10-182023-10-19$242.68$220.11-2.98%2
2023-10-052023-10-17$260.05$254.85-1.77%9
2023-07-242023-07-25$269.06$265.281.96%2
2023-07-202023-07-21$262.90$260.02-5.96%2
2023-07-182023-07-19$293.34$291.260.49%2
2023-07-142023-07-17$281.38$290.380.63%2
2023-07-122023-07-13$271.99$277.900.37%2
2023-07-102023-07-11$269.61$269.79-1.17%2
2023-07-062023-07-07$276.54$274.43-1.38%2
2023-07-032023-07-05$279.82$282.484.01%2
2023-06-292023-06-30$257.50$261.770.17%2
2023-06-052023-06-27$217.61$250.217.51%16
2022-09-122022-09-23$304.42$275.33-2.28%10
2022-08-262022-08-29$288.09$284.82-1.74%2
2022-08-242022-08-25$297.10$296.070.01%2
2022-08-222022-08-23$289.91$296.45-1.49%2
2022-08-152022-08-19$309.32$296.670.46%5
2022-08-022022-08-12$300.59$300.03-2.19%9
2022-05-042022-05-05$317.54$291.092.74%2
2022-04-252022-04-26$332.67$292.14-0.54%2
2022-04-212022-04-22$336.26$335.021.82%2
2022-04-192022-04-20$342.72$325.731.30%2
2022-04-142022-04-18$328.33$334.76-2.31%2
2022-04-122022-04-13$328.98$340.790.56%2
2022-03-182022-04-11$301.80$325.3110.41%17
2022-03-102022-03-14$279.43$255.46-4.59%3
2022-03-012022-03-07$288.12$268.19-2.32%5
2022-02-152022-02-23$307.48$254.68-3.79%6
2022-02-082022-02-14$307.33$291.92-3.24%5
2022-02-042022-02-07$307.77$302.452.05%2
2022-02-022022-02-03$301.89$297.05-1.77%2
2022-01-262022-01-27$312.47$276.371.12%2
2022-01-242022-01-25$310.00$306.13-1.00%2
2022-01-122022-01-13$368.74$343.852.24%2
2021-12-272022-01-04$364.65$383.207.38%7
2021-12-222021-12-23$336.29$355.674.37%2
2021-12-202021-12-21$299.98$312.84-2.22%2
2021-12-162021-12-17$308.97$310.86-3.13%2
2021-12-142021-12-15$319.50$325.33-0.61%2
2021-12-102021-12-13$339.01$322.140.67%2
2021-12-082021-12-09$356.32$334.600.86%2
2021-12-062021-12-07$336.34$350.58-0.47%2
2021-12-022021-12-03$361.53$338.32-0.69%2
2021-11-302021-12-01$381.59$365.000.29%2
2021-11-262021-11-29$360.64$379.00-1.95%2
2021-11-232021-11-24$369.68$372.00-2.60%2
2021-10-122021-11-10$268.57$355.9817.18%22
2021-10-082021-10-11$261.83$263.98-0.73%2