Strategy Zoo / S1390

LongTermTrend_V1390

ARCHIVEDhybrid

llmSimplified and de-noised entry logic into two clear branches (long-term trend and momentum breakout); added conservative regime gates to avoid trading in high-volatility or bubbly conditions; lowered base_position to 0.6 and added position scaling rules to cut size in high volatility and increase to full size on strong breakouts; improved exit to include price under SMA50 and a drawdown stop to reduce large declines. Aims to reduce overfitting and drawdown while keeping upside.

Fitness
0.0668
Generation
64
Complexity
20
Created
2026-10-09

Lineage

Parents (1)
LongTermTrend_V1367S1367 · gen 63ELITEllm

changed ret_20d threshold 0.05 -> 0.1344

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1390  [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.0 and cumret_252d > 0.15 and dist_sma_50 > -0.1) or (macd_hist > 0.0 and (close > sma_50 or (breakout_50 == 1 and rel_volume > 1.5)))):
    position = 0.6
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.2%-0.5%-6.1%-4.0%
Total Return-29.3%-1.5%-20.9%-44.9%
Sharpe-0.360.03-0.53-0.30
Sortino-0.250.03-0.37-0.22
Calmar-0.11-0.02-0.29-0.08
Volatility10.5%13.9%10.7%11.3%
Max DD-39.7%-22.2%-21.0%-49.5%
Win Rate42.6%43.7%43.6%43.1%
Avg Win1.3%1.8%1.3%1.4%
Avg Loss-1.2%-1.4%-1.3%-1.3%
Payoff1.051.320.981.10
Expectancy-0.2%0.0%-0.2%-0.1%
Profit Factor0.781.020.760.84
Trades202103117422
Avg Holding Days2.62.32.22.4
Turnover30.441.237.434.4
Exposure9.6%10.7%8.8%9.6%

Growth of $100

LongTermTrend_V1390 vs TSLA Buy & Hold
LongTermTrend_V1390 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-3.3%-0.55-5.4%15
20171.5%0.21-9.2%28
2018-11.4%-1.49-14.2%8
20191.8%0.29-5.5%13
20200.0%0.000.0%0
2021-13.1%-0.62-22.2%74
20225.0%0.48-8.8%28

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.9%-1.400%
hidden testEXPENSIVE8325.3%2.441%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-6.6%-0.801%
hidden testLOW VOLATILITY441-3.1%-0.2913%
hidden testMEDIUM VOLATILITY250-9.3%-0.729%
hidden testNORMAL814-9.2%-0.8310%
hidden testSIDEWAYS296-17.3%-1.3715%
hidden testUPTREND3710.7%0.0610%
trainDOWNTREND518-6.4%-1.301%
trainEXPENSIVE31115.0%1.601%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY6991.9%0.201%
trainLOW VOLATILITY745-0.9%-0.0916%
trainMEDIUM VOLATILITY568-14.5%-1.1512%
trainNORMAL1,601-7.7%-0.7012%
trainSIDEWAYS592-5.5%-0.4511%
trainUPTREND902-1.2%-0.1014%
validationDOWNTREND125-0.4%-2.480%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY2582.9%0.261%
validationLOW VOLATILITY183-6.4%-0.5321%
validationMEDIUM VOLATILITY3152.4%0.1413%
validationNORMAL4740.7%0.0417%
validationSIDEWAYS206-5.0%-0.3515%
validationUPTREND4253.3%0.2112%

Trades (full period)

latest 100 of 422
EntryExitEntry PxExit PxReturnDays
2026-10-072026-10-08$377.81$375.00-0.57%2
2026-07-012026-07-02$425.30$393.450.55%2
2026-06-052026-06-08$391.00$408.95-4.05%2
2026-06-032026-06-04$423.70$418.45-0.13%2
2026-05-282026-06-02$442.10$423.74-3.46%4
2026-05-262026-05-27$433.59$440.360.95%2
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-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-092026-03-10$398.68$399.240.17%2
2026-03-052026-03-06$405.55$396.73-0.18%2
2026-03-032026-03-04$392.43$405.94-1.74%2
2026-02-272026-03-02$402.51$403.32-1.01%2
2026-02-252026-02-26$417.40$408.581.05%2
2026-02-202026-02-23$411.82$399.83-0.10%2
2026-02-182026-02-19$411.32$411.71-0.02%2
2026-02-132026-02-17$417.44$410.63-0.07%2
2026-02-112026-02-12$428.27$417.070.31%2
2025-12-042025-12-30$454.53$454.431.72%18
2025-12-022025-12-03$429.24$446.74-0.25%2
2025-11-282025-12-01$430.17$430.140.38%2
2025-11-252025-11-26$419.40$426.580.11%2
2025-11-212025-11-24$391.09$417.78-0.75%2
2025-11-192025-11-20$403.99$395.230.29%2
2025-11-172025-11-18$408.92$401.250.56%2
2025-11-132025-11-14$401.99$404.35-4.10%2
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-09-042025-09-05$338.53$350.840.68%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-07-152025-07-16$310.78$321.67-1.28%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-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-062024-09-09$210.73$216.27-5.18%2
2024-07-112024-07-12$241.03$248.23-5.18%2
2024-07-092024-07-10$262.33$263.262.11%2
2024-07-052024-07-08$251.52$252.941.13%2
2024-07-022024-07-03$231.26$246.395.99%2
2024-06-282024-07-01$197.88$209.860.02%2
2024-06-262024-06-27$196.37$197.422.77%2
2024-06-242024-06-25$182.58$187.35-0.26%2
2024-06-202024-06-21$181.57$183.01-1.19%2
2024-06-172024-06-18$187.44$184.863.06%2
2024-05-292024-05-30$176.19$178.79-0.31%2
2024-01-102024-01-11$233.94$227.22-0.38%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-10-182023-10-19$242.68$220.11-2.98%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-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-062023-09-07$251.92$251.49-1.19%2