Strategy Zoo / S1431

LongTermTrend_V1431

ARCHIVEDhybrid

llmSimplified entry to robust long-term trend + short-term momentum; tightened cumulative return filter; added volatility percentile gate and position scaling to reduce exposure in high-volatility periods; restricted regime gates to avoid trading in downtrends/high-volatility/extreme bubble regimes; strengthened exit to include MACD sign, break of 50 SMA, or material drawdown. Aim: reduce overfitting and drawdown, improve validation stability.

Fitness
0.3433
Generation
66
Complexity
15
Created
2026-10-10

Lineage

Parents (1)
LongTermTrend_V1201S1201 · gen 55ARCHIVEDllm

changed macd_hist threshold 0.0 -> 1.0705; changed dist_sma_50 threshold -0.0774 -> -0.1429

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1431  [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_20 < close and (sma_200_slope > -0.0024 or ret_20d > 0.05) and cumret_252d > -0.15 and vol_pctile < 0.8):
    position = 0.8
if long and (macd_hist < 0.0 or close < sma_50 or drawdown < -0.12):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-4.1%38.7%-7.1%2.7%
Total Return-28.4%166.9%-24.0%48.6%
Sharpe-0.211.67-0.460.25
Sortino-0.161.70-0.350.20
Calmar-0.082.33-0.200.06
Volatility14.9%20.9%13.9%16.1%
Max DD-49.3%-16.6%-35.3%-49.3%
Win Rate39.0%54.2%38.9%42.2%
Avg Win2.2%3.7%2.1%2.7%
Avg Loss-1.7%-1.5%-1.7%-1.7%
Payoff1.292.461.231.62
Expectancy-0.2%1.3%-0.2%0.2%
Profit Factor0.822.920.791.18
Trades19583108386
Avg Holding Days2.92.92.32.8
Turnover39.244.346.041.9
Exposure15.3%16.7%11.9%14.8%

Growth of $100

LongTermTrend_V1431 vs TSLA Buy & Hold
LongTermTrend_V1431 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-9.5%-1.04-14.4%23
20170.4%0.10-10.3%35
2018-12.7%-1.19-16.4%10
2019-2.0%-0.12-13.8%8
202076.7%2.76-6.9%11
202129.3%1.21-16.6%53
20225.5%0.46-10.5%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 testDOWNTREND278-1.8%-1.080%
hidden testEXPENSIVE83-55.7%-2.6126%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY25410.7%1.371%
hidden testLOW VOLATILITY442-5.4%-0.3517%
hidden testMEDIUM VOLATILITY250-25.4%-1.5914%
hidden testNORMAL815-1.7%-0.1311%
hidden testSIDEWAYS297-24.9%-1.6915%
hidden testUPTREND3715.1%0.2818%
trainDOWNTREND518-5.5%-1.040%
trainEXPENSIVE31130.9%1.4627%
trainEXTREME1009.3%1.551%
trainHIGH VOLATILITY6994.8%0.391%
trainLOW VOLATILITY7456.1%0.3926%
trainMEDIUM VOLATILITY568-24.8%-1.4519%
trainNORMAL1,601-10.5%-0.7614%
trainSIDEWAYS592-15.4%-1.1613%
trainUPTREND9026.4%0.3425%
validationDOWNTREND125-0.3%-2.020%
validationEXPENSIVE13899.2%3.4533%
validationEXTREME14442.5%2.863%
validationHIGH VOLATILITY2583.9%0.271%
validationLOW VOLATILITY18312.0%0.8526%
validationMEDIUM VOLATILITY31573.6%2.6824%
validationNORMAL47413.9%0.7116%
validationSIDEWAYS2065.3%0.3612%
validationUPTREND42559.6%2.3024%

Trades (full period)

latest 100 of 386
EntryExitEntry PxExit PxReturnDays
2026-07-012026-07-02$425.30$393.450.73%2
2026-05-282026-06-02$442.10$423.74-4.61%4
2026-05-262026-05-27$433.59$440.361.26%2
2026-05-212026-05-22$417.85$426.01-0.05%2
2026-05-192026-05-20$404.11$417.26-1.31%2
2026-05-122026-05-18$433.45$409.99-4.24%5
2026-05-082026-05-11$428.35$445.003.05%2
2026-04-202026-04-21$392.50$386.42-1.78%2
2026-03-122026-03-13$395.01$391.20-2.67%2
2026-02-262026-02-27$408.58$402.51-1.85%2
2026-02-122026-02-13$417.07$417.44-2.25%2
2026-01-232026-01-26$449.06$435.20-0.21%2
2025-12-032025-12-30$446.74$454.435.56%19
2025-12-012025-12-02$430.14$429.24-0.17%2
2025-11-062025-11-07$445.91$429.52-2.96%2
2025-11-032025-11-05$468.37$462.07-2.29%3
2025-10-302025-10-31$440.10$456.56-3.87%2
2025-10-282025-10-29$460.55$461.511.28%2
2025-10-242025-10-27$433.72$452.42-2.88%2
2025-10-222025-10-23$438.97$448.98-0.82%2
2025-10-202025-10-21$447.43$442.601.32%2
2025-10-162025-10-17$428.75$439.31-1.34%2
2025-10-142025-10-15$429.24$435.15-1.38%2
2025-10-092025-10-10$435.54$413.49-0.73%2
2025-10-072025-10-08$433.09$438.69-3.72%2
2025-09-222025-10-06$434.21$453.250.63%11
2025-09-172025-09-19$425.86$426.07-1.06%3
2025-09-152025-09-16$410.04$421.622.69%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-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-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-06-032025-06-04$344.27$332.050.21%2
2025-05-302025-06-02$346.46$342.69-2.83%2
2025-05-282025-05-29$356.90$358.43-1.48%2
2025-05-232025-05-27$339.34$362.89-0.56%2
2025-05-212025-05-22$334.62$341.04-2.30%2
2025-05-192025-05-20$342.09$343.82-1.96%2
2025-05-122025-05-13$318.38$334.075.23%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-192024-09-20$243.92$238.255.72%2
2024-09-052024-09-06$230.17$210.733.76%2
2024-07-102024-07-11$263.26$241.030.12%2
2024-07-082024-07-09$252.94$262.330.29%2
2024-07-032024-07-05$246.39$251.525.07%2
2024-01-032024-01-04$238.45$237.93-3.37%2
2023-12-292024-01-02$248.48$248.42-1.64%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-142023-12-15$251.05$253.503.77%2
2023-12-112023-12-12$239.74$237.01-1.50%2
2023-12-072023-12-08$242.64$243.840.93%2
2023-12-052023-12-06$238.72$239.370.91%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-11-162023-11-17$233.59$234.30-3.20%2
2023-11-142023-11-15$237.41$242.844.74%2
2023-10-182023-10-19$242.68$220.11-3.98%2
2023-10-132023-10-16$251.12$253.92-2.55%2
2023-10-112023-10-12$262.99$258.87-0.35%2
2023-10-092023-10-10$259.67$263.62-0.42%2
2023-10-052023-10-06$260.05$260.53-0.50%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-09-082023-09-11$248.50$273.58-1.11%2
2023-09-062023-09-07$251.92$251.49-1.58%2
2023-09-012023-09-05$245.01$256.49-4.21%2
2023-08-302023-08-31$256.90$258.08-0.25%2
2023-07-192023-07-20$291.26$262.90-0.73%2
2023-07-172023-07-18$290.38$293.342.40%2
2023-07-132023-07-14$277.90$281.381.58%2
2023-07-112023-07-12$269.79$271.99-0.11%2
2023-07-072023-07-10$274.43$269.61-0.77%2
2023-07-052023-07-06$282.48$276.540.60%2
2023-06-302023-07-03$261.77$279.821.17%2
2023-06-282023-06-29$256.24$257.501.77%2
2023-06-262023-06-27$241.05$250.21-5.00%2