Strategy Zoo / S1137

LongTermTrend_V1137

ARCHIVEDhybrid

llmSimplified and regularized entry around clear long-term trend (close>200 & positive 200slope); added volatility filter (vol_pctile<0.75) to avoid extreme/noisy regimes; consolidated entry signals to macd bullish OR confirmed 50>200 crossover OR volume-backed 50-day breakout; improved exits to include macd_hist<0, price breaking under sma_50, 1-day crash, or a -15% drawdown stop; added regime gates (UPTREND, MEDIUM_VOLATILITY, NORMAL bubble) and reduced base_position to 0.6 to lower risk/overfitting.

Fitness
0.2289
Generation
52
Complexity
17
Created
2026-10-03

Lineage

Parents (1)
LongTermTrend_V1018S1018 · gen 46ARCHIVEDllm

changed cumret_252d threshold 0.2888 -> 0.0286

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1137  [hybrid]
if flat and (close > sma_200 and sma_200_slope > 0.0 and vol_pctile < 0.75 and (macd_hist > 0.0 or (close > sma_50 and sma_50 > sma_200) or (breakout_50 == 1 and rel_volume > 1.5))):
    position = 0.6
if long and (macd_hist < 0.0 or close < sma_50 or ret_1d < -0.05 or drawdown < -0.15):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-4.0%28.1%-7.6%0.9%
Total Return-28.0%110.0%-25.6%14.5%
Sharpe-0.211.16-0.650.14
Sortino-0.181.30-0.460.12
Calmar-0.091.07-0.300.02
Volatility14.4%23.7%11.3%16.1%
Max DD-44.9%-26.2%-25.6%-44.9%
Win Rate38.1%47.8%37.1%40.5%
Avg Win2.0%3.2%1.5%2.3%
Avg Loss-1.5%-1.4%-1.3%-1.4%
Payoff1.312.231.151.65
Expectancy-0.2%0.8%-0.3%0.1%
Profit Factor0.812.040.681.12
Trades189113105407
Avg Holding Days3.33.22.43.1
Turnover28.545.233.733.2
Exposure13.6%19.8%9.6%13.9%

Growth of $100

LongTermTrend_V1137 vs TSLA Buy & Hold
LongTermTrend_V1137 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-2.8%-2.38-2.9%7
2017-4.8%-0.26-13.2%41
2018-6.1%-1.00-8.9%6
2019-0.9%-0.07-10.5%8
2020134.6%2.76-11.1%27
20210.4%0.12-22.4%62
2022-12.9%-0.99-15.7%23

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 testDOWNTREND277-1.9%-1.400%
hidden testEXPENSIVE8328.0%1.3424%
hidden testEXTREME4832.8%1.6615%
hidden testHIGH VOLATILITY254-0.2%-0.032%
hidden testLOW VOLATILITY436-5.0%-0.4414%
hidden testMEDIUM VOLATILITY251-18.4%-1.2710%
hidden testNORMAL810-13.3%-1.498%
hidden testSIDEWAYS293-20.5%-1.7113%
hidden testUPTREND371-0.8%-0.0614%
trainDOWNTREND518-3.0%-0.880%
trainEXPENSIVE31110.6%0.5030%
trainEXTREME10094.2%2.9219%
trainHIGH VOLATILITY6997.9%0.476%
trainLOW VOLATILITY745-1.0%-0.0919%
trainMEDIUM VOLATILITY568-19.3%-1.2916%
trainNORMAL1,601-11.8%-1.1410%
trainSIDEWAYS592-12.9%-1.2210%
trainUPTREND9023.3%0.1723%
validationDOWNTREND125-0.6%-2.670%
validationEXPENSIVE13833.5%1.3829%
validationEXTREME144138.2%3.5826%
validationHIGH VOLATILITY25823.3%0.8110%
validationLOW VOLATILITY1836.8%0.5223%
validationMEDIUM VOLATILITY31543.0%1.8026%
validationNORMAL474-7.9%-0.4915%
validationSIDEWAYS206-4.2%-0.3111%
validationUPTREND42551.1%1.7030%

Trades (full period)

latest 100 of 407
EntryExitEntry PxExit PxReturnDays
2026-07-012026-07-06$425.30$419.77-3.97%3
2026-05-282026-06-02$442.10$423.74-3.46%4
2026-05-082026-05-19$428.35$404.11-0.29%8
2026-04-202026-04-21$392.50$386.42-1.34%2
2026-03-172026-03-18$399.27$392.780.44%2
2026-03-132026-03-16$391.20$395.56-0.70%2
2026-03-112026-03-12$407.82$395.011.17%2
2026-03-062026-03-09$396.73$398.68-1.42%2
2026-03-022026-03-03$403.32$392.430.00%2
2026-02-262026-02-27$408.58$402.51-1.39%2
2026-02-232026-02-24$399.83$409.38-1.87%2
2026-02-192026-02-20$411.71$411.82-0.06%2
2026-02-172026-02-18$410.63$411.32-1.10%2
2026-02-122026-02-13$417.07$417.44-1.69%2
2026-01-232026-01-26$449.06$435.20-0.16%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-062026-01-07$432.96$431.41-2.60%2
2025-12-312026-01-02$449.72$438.07-0.74%2
2025-12-032025-12-30$446.74$454.434.21%19
2025-12-012025-12-02$430.14$429.24-0.12%2
2025-11-122025-11-13$430.60$401.99-1.35%2
2025-11-102025-11-11$445.23$439.622.07%2
2025-11-062025-11-07$445.91$429.52-2.22%2
2025-11-032025-11-05$468.37$462.07-1.70%3
2025-10-302025-10-31$440.10$456.56-2.90%2
2025-10-282025-10-29$460.55$461.510.96%2
2025-10-242025-10-27$433.72$452.42-2.16%2
2025-10-222025-10-23$438.97$448.98-0.61%2
2025-10-202025-10-21$447.43$442.600.99%2
2025-10-162025-10-17$428.75$439.31-1.00%2
2025-10-142025-10-15$429.24$435.15-1.04%2
2025-10-102025-10-13$413.49$435.90-3.16%2
2025-10-082025-10-09$438.69$435.540.66%2
2025-10-062025-10-07$453.25$433.093.15%2
2025-09-162025-10-03$421.62$429.833.77%14
2025-09-122025-09-15$395.94$410.044.29%2
2025-09-102025-09-11$347.79$368.810.02%2
2025-09-082025-09-09$346.40$346.97-0.88%2
2025-08-292025-09-02$333.87$329.36-2.22%2
2025-08-272025-08-28$349.60$345.98-0.47%2
2025-08-252025-08-26$346.60$351.671.04%2
2025-08-192025-08-20$329.31$323.90-1.17%2
2025-08-152025-08-18$330.56$335.16-1.02%2
2025-08-132025-08-14$339.38$335.58-0.38%2
2025-08-112025-08-12$339.03$340.841.59%2
2025-07-292025-07-30$321.20$319.04-0.93%2
2025-07-232025-07-24$332.56$305.30-0.04%2
2025-07-212025-07-22$328.49$332.11-0.33%2
2025-07-172025-07-18$319.41$329.65-0.54%2
2025-06-022025-06-03$342.69$344.27-0.77%2
2025-05-292025-05-30$358.43$346.460.14%2
2025-05-272025-05-28$362.89$356.904.04%2
2025-05-222025-05-23$341.04$339.341.03%2
2025-05-202025-05-21$343.82$334.620.18%2
2025-05-162025-05-19$349.98$342.091.13%2
2025-05-142025-05-15$347.68$342.822.32%2
2025-05-122025-05-13$318.38$334.073.93%2
2025-01-312025-02-03$404.60$383.680.53%2
2025-01-282025-01-29$398.09$389.100.02%2
2024-12-262024-12-27$454.13$431.66-1.18%2
2024-12-202024-12-24$421.06$462.28-0.87%3
2024-12-102024-12-19$400.99$436.177.67%8
2024-10-112024-10-14$217.80$219.16-5.39%2
2024-10-092024-10-10$241.05$238.77-0.97%2
2024-10-072024-10-08$240.83$244.50-2.34%2
2024-01-082024-01-09$240.45$234.960.63%2
2024-01-042024-01-05$237.93$237.49-0.25%2
2024-01-022024-01-03$248.42$238.45-0.13%2
2023-12-282023-12-29$253.18$248.48-2.01%2
2023-12-262023-12-27$256.61$261.440.85%2
2023-12-212023-12-22$254.50$252.541.67%2
2023-12-192023-12-20$257.22$247.141.10%2
2023-12-152023-12-18$253.50$252.080.47%2
2023-12-132023-12-14$239.29$251.050.46%2
2023-12-112023-12-12$239.74$237.01-1.13%2
2023-12-072023-12-08$242.64$243.840.70%2
2023-12-052023-12-06$238.72$239.370.68%2
2023-12-012023-12-04$238.83$235.58-0.43%2
2023-11-292023-11-30$244.14$240.08-0.75%2
2023-11-272023-11-28$236.08$246.720.04%2
2023-11-222023-11-24$234.21$235.45-1.86%2
2023-11-202023-11-21$235.60$241.200.21%2
2023-11-162023-11-17$233.59$234.30-2.40%2
2023-11-142023-11-15$237.41$242.843.55%2
2023-11-082023-11-09$222.11$209.98-0.14%2
2023-10-172023-10-18$254.85$242.680.10%2
2023-10-132023-10-16$251.12$253.92-1.92%2
2023-10-112023-10-12$262.99$258.87-0.26%2
2023-10-092023-10-10$259.67$263.62-0.32%2
2023-10-052023-10-06$260.05$260.53-0.37%2
2023-10-032023-10-04$246.53$261.16-1.33%2
2023-09-222023-09-25$244.88$246.99-2.66%2
2023-09-202023-09-21$262.59$255.70-1.00%2
2023-09-182023-09-19$265.28$266.50-2.11%2
2023-09-142023-09-15$276.04$274.390.93%2
2023-09-122023-09-13$267.48$271.30-1.46%2
2023-09-082023-09-11$248.50$273.58-0.83%2
2023-09-062023-09-07$251.92$251.49-1.19%2
2023-09-012023-09-05$245.01$256.49-3.16%2