Strategy Zoo / S1332

LongTermTrend_V1332

ARCHIVEDhybrid

llmSimplified and regularized entry: require price above SMA50, positive SMA50 slope, moderate 20d momentum, positive MACD histogram, and not extreme volatility (vol_pctile < 0.85) to reduce overfitting and avoid choppy/high-vol markets. Stronger, multi-condition exits: exit on price dropping below SMA50, a portfolio-style drawdown threshold (drawdown > 12%), or short-term deterioration (ret_5d < -4%) to improve risk control. Added regime gates: only operate in UPTREND regime, avoid bubble/expensive regimes and very high volatility. Reduced base position to 0.6 to lower risk/turnover.

Fitness
0.3906
Generation
61
Complexity
10
Created
2026-10-08

Lineage

Parents (1)
LongTermTrend_V1216S1216 · gen 56ELITEllm

entry from LongTermTrend_V0909, exit from PriceMomentum_V0690

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1332  [hybrid]
if flat and (close > sma_50 and sma_50_slope > 0.0 and ret_20d > 0.03 and macd_hist > 0.0 and vol_pctile < 0.85):
    position = 0.6
if long and (close < sma_50 or drawdown > 0.12 or ret_5d < -0.04):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR9.2%24.2%2.5%10.4%
Total Return101.8%91.6%9.7%331.7%
Sharpe0.651.090.250.68
Sortino0.520.950.150.52
Calmar0.330.700.130.26
Volatility15.2%22.0%14.2%16.6%
Max DD-27.7%-34.7%-18.7%-40.1%
Win Rate48.3%38.9%44.4%44.6%
Avg Win9.3%17.6%7.4%11.2%
Avg Loss-3.6%-4.0%-4.4%-4.0%
Payoff2.584.421.662.82
Expectancy2.6%4.4%0.8%2.8%
Profit Factor2.412.811.332.27
Trades29181865
Avg Holding Days17.412.39.914.1
Turnover4.47.25.95.3
Exposure14.5%16.1%10.2%13.7%

Growth of $100

LongTermTrend_V1332 vs TSLA Buy & Hold
LongTermTrend_V1332 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
20162.2%0.37-6.7%2
201712.1%0.92-9.0%6
2018-8.4%-1.46-9.0%3
20194.4%0.34-14.6%3
2020114.4%2.54-16.0%6
202122.4%1.23-11.2%4
2022-27.3%-3.40-27.2%8

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 testDOWNTREND2780.0%0.000%
hidden testEXPENSIVE8328.9%1.4521%
hidden testEXTREME4834.4%1.7514%
hidden testHIGH VOLATILITY254-16.8%-1.126%
hidden testLOW VOLATILITY44023.6%2.0111%
hidden testMEDIUM VOLATILITY250-11.4%-0.6813%
hidden testNORMAL813-0.9%-0.079%
hidden testSIDEWAYS295-11.2%-1.069%
hidden testUPTREND37117.8%0.8719%
trainDOWNTREND5181.6%0.741%
trainEXPENSIVE31115.1%0.7927%
trainEXTREME100119.0%3.1332%
trainHIGH VOLATILITY69917.6%0.888%
trainLOW VOLATILITY74516.4%1.3725%
trainMEDIUM VOLATILITY568-8.1%-0.699%
trainNORMAL1,6012.1%0.1911%
trainSIDEWAYS592-6.7%-0.756%
trainUPTREND90225.6%1.1928%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13831.2%1.3525%
validationEXTREME144120.7%3.1526%
validationHIGH VOLATILITY25824.3%0.8710%
validationLOW VOLATILITY18317.3%1.4421%
validationMEDIUM VOLATILITY31527.8%1.3318%
validationNORMAL474-7.4%-0.5810%
validationSIDEWAYS206-12.2%-1.953%
validationUPTREND42548.7%1.6827%

Trades (full period)

66 trades
EntryExitEntry PxExit PxReturnDays
2026-10-07—$377.81—-0.51%1OPEN
2026-05-282026-06-05$442.10$391.00-3.10%7
2026-05-202026-05-21$417.26$417.851.83%2
2026-05-142026-05-19$443.30$404.11-4.91%4
2025-12-122025-12-30$458.96$454.431.68%12
2025-11-042025-11-10$444.26$445.23-5.10%5
2025-09-082025-10-09$346.40$435.5414.58%24
2025-08-252025-09-03$346.60$334.09-1.98%7
2025-05-162025-06-04$349.98$332.050.23%13
2024-12-092024-12-24$389.79$462.286.38%12
2024-09-112024-10-04$228.13$250.083.82%18
2024-09-062024-09-09$210.73$216.27-5.18%2
2024-08-222024-08-23$210.66$220.32-3.51%2
2024-07-192024-07-25$239.20$220.25-8.10%5
2024-06-182024-07-18$184.86$249.2318.75%21
2023-07-062023-07-21$276.54$260.02-4.18%12
2023-05-312023-06-27$203.93$250.2111.59%19
2023-04-032023-04-06$194.77$185.06-6.54%4
2023-02-102023-02-23$196.89$202.07-1.81%9
2022-09-202022-09-23$308.73$275.33-4.12%4
2022-08-162022-08-23$306.56$296.45-3.92%6
2022-08-112022-08-12$286.63$300.03-1.69%2
2022-08-022022-08-10$300.59$294.36-2.89%7
2022-04-082022-04-11$341.83$325.31-1.92%2
2022-04-052022-04-07$363.75$352.42-5.38%3
2022-01-132022-01-14$343.85$349.87-4.17%2
2022-01-042022-01-07$383.20$342.32-6.97%4
2021-09-012021-11-10$244.70$355.9822.55%50
2021-08-032021-08-18$236.58$229.66-3.83%12
2021-01-202021-02-01$283.48$279.94-3.72%9
2021-01-052021-01-19$245.04$281.527.88%10
2020-11-192020-12-29$166.42$222.0020.92%27
2020-10-152020-10-21$149.63$140.88-5.30%5
2020-08-182020-09-04$125.81$139.446.77%14
2020-07-022020-07-27$80.58$102.6415.78%17
2020-06-032020-06-29$58.86$67.295.41%19
2019-12-172020-02-12$25.27$51.1555.06%39
2019-10-162019-11-04$17.32$21.1612.75%14
2019-09-122019-09-25$16.39$15.25-5.95%10
2019-07-222019-07-26$17.05$15.20-6.85%5
2018-12-112018-12-18$24.45$22.47-2.84%6
2018-03-142018-03-15$21.78$21.71-2.79%2
2018-01-222018-02-06$23.44$22.26-3.00%12
2017-09-182017-09-25$25.67$23.00-4.69%6
2017-08-042017-08-21$23.79$22.52-0.01%12
2017-05-312017-06-30$22.73$24.114.52%23
2017-05-152017-05-18$21.06$20.87-3.59%4
2017-03-282017-05-05$18.50$20.565.58%28
2016-12-282017-02-24$14.65$17.139.74%40
2016-07-262016-08-29$15.30$14.35-2.72%25
2016-03-282016-04-14$15.35$16.796.88%14
2015-12-302016-01-05$15.87$14.90-3.58%4
2015-07-212015-07-28$17.78$17.65-6.41%6
2015-04-142015-07-09$13.83$17.1912.56%61
2014-08-052014-09-16$15.90$17.383.93%30
2014-06-232014-07-08$15.81$14.60-1.88%11
2014-01-242014-03-11$11.64$15.6318.42%32
2013-09-232013-10-04$12.07$12.07-3.37%10
2013-08-232013-09-10$10.79$11.091.29%12
2013-07-022013-07-17$7.85$8.02-4.00%11
2013-04-302013-06-04$3.60$6.3238.79%25
2013-03-272013-04-09$2.54$2.706.40%9
2013-01-242013-02-19$2.47$2.621.67%18
2012-11-122013-01-10$2.07$2.246.48%41
2012-08-242012-08-27$1.97$1.89-2.52%2
2012-02-232012-04-05$2.30$2.301.54%31