Strategy Zoo / S0745

LongTermTrend_V0745

ARCHIVEDhybrid

llmSimplified and regularized entry rules (trend + breakout + momentum) to reduce overfitting; added multi-condition exit (macd, break below SMA50, short-term loss) for better risk control; introduced regime gates to avoid downtrends, high volatility, and extreme bubbles; added volatility-based position scaling (reduce size in higher vol) to limit drawdown and improve validation robustness.

Fitness
0.2129
Generation
34
Complexity
17
Created
2026-09-25

Lineage

Parents (1)
LongTermTrend_V0521S0521 · gen 24ARCHIVEDllm

entry = LongTermTrend_V0469 OR MACDMomentum_V0272

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0745  [hybrid]
require regime.trend in ['UPTREND', 'SIDEWAYS']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL', 'EXPENSIVE']
if flat and ((close > sma_200 and sma_200_slope > 0.0 and close > sma_50) or (breakout_50 == 1 and rel_volume > 1.2 and macd_hist > 0.0) or ret_20d > 0.05):
    position = 1.0
if long and (macd_hist < 0.0 or close < sma_50 or ret_5d < -0.03):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-6.8%32.3%-15.1%-2.0%
Total Return-43.0%131.4%-45.6%-26.1%
Sharpe-0.201.17-0.570.03
Sortino-0.171.22-0.430.03
Calmar-0.120.97-0.28-0.03
Volatility22.4%26.9%23.7%23.7%
Max DD-58.8%-33.4%-54.2%-63.7%
Win Rate37.2%52.5%32.9%39.7%
Avg Win3.6%5.2%4.5%4.4%
Avg Loss-2.6%-2.8%-3.1%-2.8%
Payoff1.381.831.481.61
Expectancy-0.3%1.4%-0.6%0.1%
Profit Factor0.822.020.731.06
Trades1808085345
Avg Holding Days3.73.63.63.7
Turnover45.253.345.847.0
Exposure24.9%27.9%23.5%25.2%

Growth of $100

LongTermTrend_V0745 vs TSLA Buy & Hold
LongTermTrend_V0745 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-11.3%-0.85-18.3%21
20179.4%0.49-16.6%34
2018-15.7%-1.17-20.2%10
2019-2.1%0.07-26.6%12
202088.8%2.47-11.8%16
202140.2%1.24-29.6%45
2022-12.7%-0.54-33.4%17

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 testDOWNTREND271-2.5%-1.211%
hidden testEXPENSIVE8357.1%1.7840%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-10.9%-0.632%
hidden testLOW VOLATILITY4317.8%0.3434%
hidden testMEDIUM VOLATILITY250-53.2%-1.7827%
hidden testNORMAL804-21.7%-0.9323%
hidden testSIDEWAYS293-61.3%-2.6134%
hidden testUPTREND37116.0%0.5132%
trainDOWNTREND518-5.2%-0.671%
trainEXPENSIVE31131.0%1.0040%
trainEXTREME10011.6%1.551%
trainHIGH VOLATILITY6998.0%0.382%
trainLOW VOLATILITY7454.7%0.2244%
trainMEDIUM VOLATILITY568-32.2%-1.2928%
trainNORMAL1,601-12.5%-0.6023%
trainSIDEWAYS592-14.3%-0.6725%
trainUPTREND9022.2%0.0838%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13899.1%2.6547%
validationEXTREME14452.9%2.853%
validationHIGH VOLATILITY258-5.0%-0.541%
validationLOW VOLATILITY18323.6%1.0649%
validationMEDIUM VOLATILITY31566.1%1.7838%
validationNORMAL4745.4%0.2130%
validationSIDEWAYS206-14.2%-0.5826%
validationUPTREND42563.0%2.0037%

Trades (full period)

latest 100 of 345
EntryExitEntry PxExit PxReturnDays
2026-07-012026-07-06$425.30$419.77-6.64%3
2026-06-052026-06-08$391.00$408.95-6.75%2
2026-06-032026-06-04$423.70$418.45-0.21%2
2026-05-282026-06-02$442.10$423.74-5.75%4
2026-05-262026-05-27$433.59$440.361.58%2
2026-05-212026-05-22$417.85$426.01-0.06%2
2026-05-082026-05-19$428.35$404.11-0.63%8
2026-04-202026-04-21$392.50$386.42-2.22%2
2026-01-232026-01-26$449.06$435.20-0.27%2
2026-01-142026-01-15$439.20$438.57-1.99%2
2026-01-122026-01-13$448.96$447.200.69%2
2026-01-062026-01-07$432.96$431.41-4.34%2
2025-12-312026-01-02$449.72$438.07-1.24%2
2025-12-042025-12-30$454.53$454.432.68%18
2025-11-122025-11-13$430.60$401.99-2.25%2
2025-11-102025-11-11$445.23$439.623.45%2
2025-11-062025-11-07$445.91$429.52-3.69%2
2025-11-042025-11-05$444.26$462.07-5.34%2
2025-10-312025-11-03$456.56$468.373.54%2
2025-10-292025-10-30$461.51$440.100.01%2
2025-10-272025-10-28$452.42$460.554.11%2
2025-10-232025-10-24$448.98$433.722.08%2
2025-10-212025-10-22$442.60$438.97-1.28%2
2025-10-172025-10-20$439.31$447.432.26%2
2025-10-152025-10-16$435.15$428.751.18%2
2025-10-132025-10-14$435.90$429.245.21%2
2025-10-092025-10-10$435.54$413.49-0.92%2
2025-10-072025-10-08$433.09$438.69-4.64%2
2025-09-082025-10-06$346.40$453.2522.27%21
2025-09-042025-09-05$338.53$350.841.13%2
2025-08-252025-09-03$346.60$334.09-3.32%7
2025-08-112025-08-20$339.03$323.90-0.30%8
2025-08-052025-08-06$308.72$319.91-0.37%2
2025-07-312025-08-01$308.27$302.63-3.57%2
2025-07-292025-07-30$321.20$319.04-1.55%2
2025-07-212025-07-25$328.49$316.06-7.57%5
2025-06-042025-06-05$332.05$284.70-3.75%2
2025-05-282025-06-03$356.90$344.27-5.76%5
2025-05-232025-05-27$339.34$362.89-0.70%2
2025-05-192025-05-22$342.09$341.04-4.58%4
2025-05-122025-05-13$318.38$334.076.54%2
2024-10-112024-10-14$217.80$219.16-8.97%2
2024-10-092024-10-10$241.05$238.77-1.61%2
2024-10-072024-10-08$240.83$244.50-3.90%2
2024-09-232024-10-03$250.00$240.664.32%9
2024-09-162024-09-20$226.78$238.255.71%5
2024-09-062024-09-09$210.73$216.27-8.64%2
2024-09-042024-09-05$219.41$230.173.98%2
2024-06-182024-07-12$184.86$248.2328.33%17
2024-01-092024-01-10$234.96$233.94-2.48%2
2024-01-052024-01-08$237.49$240.45-0.38%2
2024-01-032024-01-04$238.45$237.93-4.21%2
2023-12-152024-01-02$253.50$248.42-1.22%11
2023-12-072023-12-14$242.64$251.05-0.23%6
2023-11-292023-12-06$244.14$239.37-3.44%6
2023-11-272023-11-28$236.08$246.720.07%2
2023-11-222023-11-24$234.21$235.45-3.10%2
2023-11-202023-11-21$235.60$241.200.35%2
2023-11-162023-11-17$233.59$234.30-4.01%2
2023-10-172023-10-18$254.85$242.680.17%2
2023-10-052023-10-16$260.05$253.92-4.04%8
2023-10-032023-10-04$246.53$261.16-2.21%2
2023-09-222023-09-25$244.88$246.99-4.43%2
2023-09-202023-09-21$262.59$255.70-1.67%2
2023-09-122023-09-19$267.48$266.50-3.23%6
2023-09-062023-09-07$251.92$251.49-1.98%2
2023-08-302023-09-05$256.90$256.49-4.92%4
2023-08-072023-08-08$251.45$249.70-1.15%2
2023-08-032023-08-04$259.32$253.861.85%2
2023-08-012023-08-02$261.07$254.11-2.58%2
2023-07-262023-07-27$264.35$255.71-0.55%2
2023-07-202023-07-21$262.90$260.02-9.93%2
2023-07-182023-07-19$293.34$291.260.82%2
2023-07-142023-07-17$281.38$290.381.05%2
2023-07-122023-07-13$271.99$277.900.61%2
2023-07-102023-07-11$269.61$269.79-1.95%2
2023-07-052023-07-07$282.48$274.43-1.37%3
2023-06-302023-07-03$261.77$279.821.46%2
2023-06-282023-06-29$256.24$257.502.21%2
2023-05-312023-06-27$203.93$250.2119.59%19
2023-04-122023-04-13$180.54$185.90-3.54%2
2023-04-102023-04-11$184.51$186.79-0.50%2
2023-03-062023-03-07$193.81$187.71-2.21%2
2023-03-022023-03-03$190.90$197.79-6.05%2
2023-02-282023-03-01$205.71$202.77-1.12%2
2022-09-212022-09-23$300.80$275.33-6.71%3
2022-08-262022-08-29$288.09$284.82-2.89%2
2022-08-242022-08-25$297.10$296.070.02%2
2022-08-222022-08-23$289.91$296.45-2.47%2
2022-08-152022-08-19$309.32$296.670.75%5
2022-08-112022-08-12$286.63$300.03-2.82%2
2022-08-092022-08-10$283.33$294.36-2.64%2
2022-08-022022-08-08$300.59$290.42-3.26%5
2022-05-052022-05-06$291.09$288.55-8.52%2
2022-04-252022-04-26$332.67$292.14-0.90%2
2022-04-212022-04-22$336.26$335.023.03%2
2022-04-192022-04-20$342.72$325.732.17%2
2022-04-142022-04-18$328.33$334.76-3.85%2
2022-04-122022-04-13$328.98$340.790.93%2
2022-04-082022-04-11$341.83$325.31-3.20%2