Strategy Zoo / S1642

LongTermTrend_V1642

ARCHIVEDhybrid

llmSimplified and strengthened entry: add short MA crossover + slope and MACD/breakout confirmation; remove redundant ret_20d duplicates; tighten cumulative return gate. Add volatility percentile gate to avoid high-vol regimes. Improved exits: earlier loss exit, MA-based trend exit, and drawdown cap. Reduced base position to 0.8 to lower risk.

Fitness
0.1077
Generation
76
Complexity
18
Created
2026-10-15

Lineage

Parents (1)
LongTermTrend_V1343S1343 · gen 61ELITEllm

changed cumret_252d threshold -0.1997 -> -0.4102

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1642  [hybrid]
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL']
if flat and (((sma_10 > sma_50 and sma_50_slope > 0.0) or ret_20d > 0.08) and ret_20d > 0.03 and cumret_252d > -0.3 and vol_pctile < 0.8 and (breakout_20 > 0.5 or macd > macd_signal)):
    position = 0.8
if long and (ret_20d < -0.08 or sma_10 < sma_50 or drawdown < -0.06):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-0.8%-1.1%4.5%0.4%
Total Return-6.3%-3.4%18.0%6.8%
Sharpe-0.01-0.030.430.10
Sortino-0.00-0.020.280.06
Calmar-0.03-0.050.250.02
Volatility12.3%12.5%12.1%12.3%
Max DD-25.4%-24.0%-18.3%-27.3%
Win Rate49.6%40.0%52.6%48.6%
Avg Win1.6%2.0%2.1%1.8%
Avg Loss-1.6%-1.4%-1.8%-1.6%
Payoff1.001.471.171.14
Expectancy-0.0%-0.0%0.3%0.1%
Profit Factor0.980.981.291.08
Trades1275076253
Avg Holding Days2.52.32.12.4
Turnover25.526.732.327.4
Exposure7.6%7.1%7.2%7.4%

Growth of $100

LongTermTrend_V1642 vs TSLA Buy & Hold
LongTermTrend_V1642 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.6%-0.24-9.0%23
20177.0%1.47-1.7%11
2018-11.0%-1.69-11.2%9
20195.0%0.36-12.0%18
20200.0%0.000.0%0
20219.9%0.58-13.6%30
2022-12.1%-1.27-14.8%20

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 testDOWNTREND2782.0%0.254%
hidden testEXPENSIVE8333.8%2.442%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-1.7%-0.201%
hidden testLOW VOLATILITY4450.7%0.0512%
hidden testMEDIUM VOLATILITY25020.0%1.556%
hidden testNORMAL8182.5%0.218%
hidden testSIDEWAYS300-9.3%-0.8510%
hidden testUPTREND37119.1%1.277%
trainDOWNTREND5180.3%0.072%
trainEXPENSIVE3112.2%1.181%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY6994.2%0.320%
trainLOW VOLATILITY7455.5%0.4716%
trainMEDIUM VOLATILITY568-12.7%-1.115%
trainNORMAL1,601-0.5%-0.049%
trainSIDEWAYS592-6.5%-0.498%
trainUPTREND9023.9%0.2711%
validationDOWNTREND1250.7%0.143%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-9.4%-1.000%
validationLOW VOLATILITY1836.8%0.7414%
validationMEDIUM VOLATILITY3152.9%0.189%
validationNORMAL474-0.6%-0.0411%
validationSIDEWAYS206-21.4%-2.179%
validationUPTREND4259.5%0.648%

Trades (full period)

latest 100 of 253
EntryExitEntry PxExit PxReturnDays
2026-10-132026-10-14$375.23$367.16-0.75%2
2026-10-092026-10-12$382.70$378.031.48%2
2026-10-072026-10-08$377.81$375.00-0.76%2
2026-09-252026-09-28$372.11$357.45-1.39%2
2026-09-232026-09-24$380.12$377.940.10%2
2026-09-112026-09-14$365.44$358.970.25%2
2026-09-092026-09-10$367.81$363.56-0.24%2
2026-09-032026-09-04$376.37$354.084.17%2
2026-09-012026-09-02$356.09$357.01-2.74%2
2026-08-282026-08-31$348.75$367.95-1.53%2
2026-08-262026-08-27$345.82$354.81-1.17%2
2026-08-242026-08-25$348.95$350.25-3.22%2
2026-06-012026-06-02$415.88$423.74-3.81%2
2026-05-282026-05-29$442.10$435.790.16%2
2026-05-202026-05-21$417.26$417.852.44%2
2026-05-182026-05-19$409.99$404.11-2.48%2
2026-05-142026-05-15$443.30$422.24-0.51%2
2026-05-122026-05-13$433.45$445.27-2.23%2
2026-05-082026-05-11$428.35$445.003.05%2
2026-05-062026-05-07$398.73$411.791.76%2
2026-05-042026-05-05$392.51$389.370.19%2
2025-12-122025-12-30$458.96$454.432.18%12
2025-09-122025-09-15$395.94$410.045.72%2
2025-09-082025-09-09$346.40$346.97-1.17%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-132025-08-14$339.38$335.58-0.50%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
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-052024-09-06$230.17$210.733.76%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-182024-06-20$184.86$181.57-1.26%2
2024-02-272024-02-28$199.73$202.04-0.03%2
2023-12-272023-12-28$261.44$253.181.34%2
2023-12-222023-12-26$252.54$256.61-0.78%2
2023-12-202023-12-21$247.14$254.50-3.29%2
2023-12-182023-12-19$252.08$257.22-0.61%2
2023-12-122023-12-13$237.01$239.29-1.07%2
2023-12-082023-12-11$243.84$239.740.24%2
2023-12-062023-12-07$239.37$242.640.06%2
2023-12-012023-12-04$238.83$235.58-0.58%2
2023-11-292023-11-30$244.14$240.08-1.00%2
2023-11-272023-11-28$236.08$246.720.05%2
2023-11-222023-11-24$234.21$235.45-2.48%2
2023-11-202023-11-21$235.60$241.200.28%2
2023-09-202023-09-21$262.59$255.70-1.33%2
2023-09-182023-09-19$265.28$266.50-2.81%2
2023-09-142023-09-15$276.04$274.391.24%2
2023-09-122023-09-13$267.48$271.30-1.94%2
2023-07-182023-07-19$293.34$291.260.65%2
2023-07-052023-07-06$282.48$276.540.60%2
2023-06-232023-06-26$256.60$241.05-2.58%2
2023-06-212023-06-22$259.46$264.61-4.53%2
2023-06-162023-06-20$260.54$274.451.29%2
2023-06-142023-06-15$256.79$255.90-0.75%2
2023-06-122023-06-13$249.83$258.711.62%2
2023-06-082023-06-09$234.86$244.403.50%2
2023-06-062023-06-07$221.31$224.571.20%2
2023-06-022023-06-05$213.97$217.612.32%2
2023-05-312023-06-01$203.93$207.520.94%2
2023-05-262023-05-30$193.17$201.163.61%2
2023-05-242023-05-25$182.90$184.47-1.39%2
2023-05-222023-05-23$188.87$185.773.71%2
2022-09-202022-09-21$308.73$300.80-0.25%2
2022-08-182022-08-19$302.87$296.67-0.46%2
2022-08-162022-08-17$306.56$304.00-0.87%2
2022-08-112022-08-12$286.63$300.03-2.26%2
2022-08-092022-08-10$283.33$294.36-2.11%2
2022-08-052022-08-08$288.17$290.42-5.46%2
2022-08-032022-08-04$307.40$308.631.65%2
2022-08-012022-08-02$297.28$300.59-0.13%2
2022-07-282022-07-29$280.90$297.151.61%2
2022-07-262022-07-27$258.86$274.82-3.01%2
2022-07-222022-07-25$272.24$268.43-0.00%2
2022-07-192022-07-20$245.53$247.501.50%2
2022-07-142022-07-15$238.31$240.070.27%2
2022-04-082022-04-11$341.83$325.31-2.56%2
2022-04-062022-04-07$348.59$352.42-3.49%2
2022-04-042022-04-05$381.82$363.754.33%2
2022-03-312022-04-01$359.20$361.53-1.36%2
2022-03-292022-03-30$366.52$364.660.41%2
2022-03-252022-03-28$336.88$363.95-0.42%2
2022-03-232022-03-24$333.04$337.970.25%2
2021-10-152021-11-10$281.01$355.9819.87%19
2021-10-132021-10-14$270.36$272.770.37%2
2021-10-082021-10-11$261.83$263.98-0.98%2
2021-10-052021-10-06$260.20$260.92-0.26%2