Strategy Zoo / S0993

LongTermTrend_V0993

ARCHIVEDhybrid

llmAdded regime gates to avoid high-volatility/bubble environments; tightened and restructured entries to require trend/momentum confirmation or high-volume 50-day breakouts; relaxed distance-from-50SMA threshold; added RSI momentum filter; improved exit to include larger short-term loss, a 50-day breakdown, and a drawdown cap; scaled base position down to 0.6 with full-size on low volatility (vol_20<0.03) to reduce drawdown and turnover.

Fitness
0.1382
Generation
45
Complexity
22
Created
2026-10-01

Lineage

Parents (1)
LongTermTrend_V0756S0756 · gen 35ARCHIVEDllm

entry from LongTermTrend_V0583, exit from PriceMomentum_V0690

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0993  [hybrid]
require regime.trend in ['UPTREND', 'SIDEWAYS']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL']
if flat and ((((close > sma_200 and sma_200_slope > -0.001 and macd_hist > 0.0) or ret_20d > 0.05) or (breakout_50 == 1 and rel_volume > 1.5 and close > sma_50)) and dist_sma_50 > -0.05 and cumret_252d > -0.25 and rsi_14 > 45.0):
    position = 0.6
if long and (ret_20d < -0.02 or sma_50 > close or drawdown < -0.12):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-5.7%10.1%-1.3%-1.5%
Total Return-37.4%33.4%-4.8%-20.5%
Sharpe-0.520.84-0.08-0.09
Sortino-0.330.64-0.06-0.06
Calmar-0.130.67-0.07-0.03
Volatility10.3%12.4%9.9%10.7%
Max DD-44.9%-15.1%-17.9%-45.5%
Win Rate39.6%53.8%46.0%44.7%
Avg Win1.2%2.0%1.4%1.5%
Avg Loss-1.3%-1.3%-1.3%-1.3%
Payoff0.931.571.121.15
Expectancy-0.3%0.5%-0.0%-0.1%
Profit Factor0.611.830.950.93
Trades14465100309
Avg Holding Days3.32.62.32.8
Turnover21.626.032.225.2
Exposure9.8%8.0%8.1%9.0%

Growth of $100

LongTermTrend_V0993 vs TSLA Buy & Hold
LongTermTrend_V0993 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.2%-1.61-14.6%23
20175.9%1.09-2.9%18
2018-6.4%-0.90-9.4%5
2019-4.4%-0.50-9.0%17
20200.0%0.000.0%0
202113.2%0.82-15.1%43
20229.2%0.88-8.8%21

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 testDOWNTREND275-2.5%-1.611%
hidden testEXPENSIVE8312.1%1.691%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY2543.6%0.910%
hidden testLOW VOLATILITY434-0.4%-0.0312%
hidden testMEDIUM VOLATILITY251-6.1%-0.509%
hidden testNORMAL808-2.2%-0.219%
hidden testSIDEWAYS293-10.1%-0.9712%
hidden testUPTREND3717.7%0.6211%
trainDOWNTREND518-0.4%-0.110%
trainEXPENSIVE3116.6%1.631%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY699-0.4%-0.060%
trainLOW VOLATILITY7453.2%0.2818%
trainMEDIUM VOLATILITY568-22.6%-1.8510%
trainNORMAL1,601-8.0%-0.7012%
trainSIDEWAYS592-12.3%-1.2111%
trainUPTREND902-3.6%-0.2815%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY2582.9%0.271%
validationLOW VOLATILITY1838.8%0.9418%
validationMEDIUM VOLATILITY31517.4%1.188%
validationNORMAL47416.5%1.0613%
validationSIDEWAYS20617.7%1.3710%
validationUPTREND4259.9%0.719%

Trades (full period)

latest 100 of 309
EntryExitEntry PxExit PxReturnDays
2026-07-012026-07-02$425.30$393.450.55%2
2026-06-032026-06-04$423.70$418.45-0.13%2
2026-05-262026-06-02$433.59$423.74-1.52%6
2026-05-212026-05-22$417.85$426.01-0.04%2
2026-05-192026-05-20$404.11$417.26-0.98%2
2026-05-122026-05-18$433.45$409.99-3.17%5
2026-05-082026-05-11$428.35$445.002.29%2
2026-04-202026-04-21$392.50$386.42-1.34%2
2026-03-182026-03-19$392.78$380.30-1.09%2
2026-03-122026-03-13$395.01$391.20-2.00%2
2026-02-262026-02-27$408.58$402.51-1.39%2
2026-02-122026-02-13$417.07$417.44-1.69%2
2025-12-032026-01-05$446.74$451.671.26%22
2025-12-012025-12-02$430.14$429.24-0.12%2
2025-09-112025-09-12$368.81$395.943.50%2
2025-09-092025-09-10$346.97$347.79-0.02%2
2025-09-052025-09-08$350.84$346.402.06%2
2025-09-032025-09-04$334.09$338.530.74%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-08-052025-08-06$308.72$319.91-0.22%2
2025-07-312025-08-01$308.27$302.63-2.14%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-042025-06-05$332.05$284.70-2.25%2
2025-06-022025-06-03$342.69$344.27-0.77%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-122025-05-13$318.38$334.073.93%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-10-032024-10-04$240.66$250.08-2.13%2
2024-10-012024-10-02$258.02$249.02-0.95%2
2024-09-272024-09-30$260.46$261.631.35%2
2024-09-252024-09-26$257.02$254.220.53%2
2024-09-232024-09-24$250.00$254.272.84%2
2024-09-182024-09-19$227.20$243.92-0.30%2
2024-09-162024-09-17$226.78$227.87-1.03%2
2024-09-052024-09-06$230.17$210.732.82%2
2024-09-032024-09-04$210.60$219.41-1.10%2
2024-07-102024-07-11$263.26$241.030.09%2
2024-07-082024-07-09$252.94$262.330.22%2
2024-07-032024-07-05$246.39$251.523.80%2
2024-07-012024-07-02$209.86$231.263.51%2
2024-06-272024-06-28$197.42$197.880.20%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-122023-12-13$237.01$239.29-0.80%2
2023-12-082023-12-11$243.84$239.740.18%2
2023-12-062023-12-07$239.37$242.640.04%2
2023-12-042023-12-05$235.58$238.72-0.94%2
2023-11-302023-12-01$240.08$238.83-1.12%2
2023-11-282023-11-29$246.72$244.142.58%2
2023-11-242023-11-27$235.45$236.080.20%2
2023-11-212023-11-22$241.20$234.211.31%2
2023-11-172023-11-20$234.30$235.600.06%2
2023-11-152023-11-16$242.84$233.591.25%2
2023-10-162023-10-17$253.92$254.850.55%2
2023-10-122023-10-13$258.87$251.12-1.06%2
2023-10-102023-10-11$263.62$262.990.79%2
2023-10-062023-10-09$260.53$259.67-0.01%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
2023-08-302023-08-31$256.90$258.08-0.19%2
2023-07-262023-07-27$264.35$255.71-0.33%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-272023-06-28$250.21$256.242.16%2
2023-06-232023-06-26$256.60$241.05-1.94%2
2023-06-212023-06-22$259.46$264.61-3.40%2
2023-06-162023-06-20$260.54$274.450.97%2
2023-06-142023-06-15$256.79$255.90-0.56%2
2023-06-122023-06-13$249.83$258.711.21%2
2023-06-082023-06-09$234.86$244.402.63%2
2023-06-062023-06-07$221.31$224.570.90%2
2023-06-022023-06-05$213.97$217.611.74%2
2023-05-312023-06-01$203.93$207.520.71%2
2023-02-282023-03-01$205.71$202.77-0.67%2