Strategy Zoo / S0673

LongTermTrend_V0673

ARCHIVEDhybrid

llmReduced base position to 0.6 to lower exposure; added regime gates to only trade in UPTREND + non-high volatility and NORMAL bubble to avoid bad regimes; tightened entry RSI threshold to >40 and added vol_pctile <0.85 filter to avoid extreme-volatility entries; improved exit to a multi-condition rule (exit on MACD-hist negative OR price crossing below SMA50 OR RSI<30) for quicker exits on weakness.

Fitness
0.0559
Generation
31
Complexity
34
Created
2026-09-24

Lineage

Parents (1)
LongTermTrend_V0663S0663 · gen 30ARCHIVEDllm

swapped indicator macd_hist -> rsi_14

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0673  [hybrid]
require regime.trend in ['UPTREND']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL']
if flat and (((((close > sma_200 and sma_200_slope > -0.0024) or ret_20d > 0.085) and ret_20d > 0.05 and cumret_252d > -0.1997 and dist_sma_50 > -0.0774) or ((macd_hist > 0.0 and close > sma_50) or ((breakout_50 == 1 and rel_volume > 1.5045) or ((macd_hist > 0.0 and close > sma_50) and sma_50 > sma_200)))) and sma_20 < close and rsi_14 > 40.0 and vol_pctile < 0.85):
    position = 0.6
if long and (macd_hist < 0.0 or close < sma_50 or rsi_14 < 30.0):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-1.5%-3.1%1.6%-1.1%
Total Return-11.7%-9.0%6.1%-14.8%
Sharpe-0.17-0.280.21-0.08
Sortino-0.08-0.130.09-0.04
Calmar-0.07-0.120.11-0.04
Volatility7.6%9.5%10.4%8.8%
Max DD-21.4%-26.8%-14.1%-26.8%
Win Rate36.2%29.4%48.1%38.2%
Avg Win2.3%4.0%3.3%2.8%
Avg Loss-1.6%-2.3%-2.5%-1.9%
Payoff1.451.741.321.48
Expectancy-0.2%-0.4%0.3%-0.1%
Profit Factor0.820.721.220.92
Trades581727102
Avg Holding Days4.15.53.94.3
Turnover8.76.88.78.3
Exposure5.4%6.1%5.1%5.4%

Growth of $100

LongTermTrend_V0673 vs TSLA Buy & Hold
LongTermTrend_V0673 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-1.6%-0.27-5.8%8
20175.6%1.06-3.3%6
2018-5.5%-1.34-5.5%4
2019-1.1%-0.18-4.7%3
20200.0%0.000.0%0
20216.4%0.49-14.5%10
2022-14.5%-2.05-16.3%6

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 testDOWNTREND2700.0%0.000%
hidden testEXPENSIVE8325.5%2.441%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-10.4%-1.091%
hidden testLOW VOLATILITY4307.3%0.807%
hidden testMEDIUM VOLATILITY2506.0%0.466%
hidden testNORMAL803-0.2%-0.016%
hidden testSIDEWAYS293-12.3%-1.801%
hidden testUPTREND37115.1%0.9912%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE3117.0%1.691%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY6990.5%0.080%
trainLOW VOLATILITY7451.1%0.1312%
trainMEDIUM VOLATILITY568-6.6%-0.993%
trainNORMAL1,601-3.0%-0.367%
trainSIDEWAYS592-2.4%-1.051%
trainUPTREND902-1.2%-0.1112%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-5.0%-0.660%
validationLOW VOLATILITY183-2.9%-0.3217%
validationMEDIUM VOLATILITY315-0.7%-0.064%
validationNORMAL474-4.3%-0.3610%
validationSIDEWAYS206-11.2%-1.921%
validationUPTREND4250.7%0.0510%

Trades (full period)

latest 100 of 102
EntryExitEntry PxExit PxReturnDays
2026-07-012026-07-06$425.30$419.77-3.97%3
2026-05-292026-06-01$435.79$415.88-0.98%2
2025-12-042025-12-30$454.53$454.431.72%18
2025-09-122025-09-15$395.94$410.044.29%2
2025-07-292025-07-30$321.20$319.04-0.93%2
2025-07-212025-07-25$328.49$316.06-4.53%5
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-222025-05-28$341.04$356.904.92%4
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-09-232024-09-27$250.00$260.463.88%5
2024-09-162024-09-20$226.78$238.253.45%5
2024-09-062024-09-09$210.73$216.27-5.18%2
2024-09-042024-09-05$219.41$230.172.39%2
2024-07-022024-07-12$231.26$248.238.84%8
2023-08-302023-09-05$256.90$256.49-2.95%4
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-052023-07-07$282.48$274.43-0.82%3
2023-06-302023-07-03$261.77$279.820.87%2
2023-06-282023-06-29$256.24$257.501.33%2
2023-06-022023-06-27$213.97$250.219.52%17
2022-09-152022-09-23$303.75$275.33-2.89%7
2022-09-132022-09-14$292.13$302.61-2.54%2
2022-08-162022-08-19$306.56$296.67-1.37%4
2022-08-052022-08-08$288.17$290.42-4.10%2
2022-04-052022-04-11$363.75$325.31-6.48%5
2022-01-122022-01-13$368.74$343.852.24%2
2021-12-282022-01-03$362.82$399.93-2.17%5
2021-11-232021-11-24$369.68$372.00-2.60%2
2021-10-122021-11-10$268.57$355.9817.18%22
2021-10-082021-10-11$261.83$263.98-0.73%2
2021-09-272021-10-07$263.79$264.540.54%9
2021-09-232021-09-24$251.21$258.130.02%2
2021-08-312021-09-21$245.24$246.46-0.14%15
2021-08-262021-08-27$233.72$237.31-0.97%2
2021-08-242021-08-25$236.16$237.070.07%2
2021-08-192021-08-20$224.49$226.75-1.47%2
2021-08-052021-08-17$238.21$221.90-2.18%9
2019-12-162019-12-17$25.43$25.273.75%2
2019-11-222019-11-25$22.20$22.42-3.80%2
2019-10-212019-10-22$16.90$17.04-0.93%2
2018-12-112018-12-18$24.45$22.47-2.84%6
2018-12-062018-12-07$24.20$23.860.44%2
2018-11-292018-11-30$22.74$23.37-1.27%2
2018-02-012018-02-05$23.28$22.21-1.91%3
2017-10-182017-10-20$23.98$23.01-0.78%3
2017-10-132017-10-17$23.70$23.72-0.98%3
2017-03-242017-03-28$17.54$18.503.49%3
2017-03-202017-03-22$17.46$17.00-2.60%3
2017-01-312017-02-02$16.80$16.77-0.45%3
2017-01-052017-01-25$15.12$16.967.04%14
2016-07-262016-08-09$15.30$15.27-1.11%11
2016-06-082016-06-09$15.70$15.290.70%2
2016-04-272016-04-28$16.76$16.51-0.66%2
2016-04-252016-04-26$16.79$16.92-0.58%2
2016-04-212016-04-22$16.55$16.92-0.52%2
2016-04-192016-04-20$16.49$16.66-1.66%2
2016-04-152016-04-18$16.97$16.930.51%2
2016-04-052016-04-14$17.03$16.791.76%8
2015-08-062015-08-07$16.41$16.17-5.45%2
2015-07-212015-07-22$17.78$17.86-3.41%2
2015-07-152015-07-16$17.54$17.78-0.69%2
2015-06-222015-07-09$17.32$17.19-1.76%13
2015-06-182015-06-19$17.46$17.500.22%2
2015-06-092015-06-10$17.07$16.71-0.19%2
2015-06-052015-06-08$16.61$17.090.67%2
2015-06-032015-06-04$16.60$16.390.03%2
2015-06-012015-06-02$16.63$16.56-0.44%2
2015-05-282015-05-29$16.76$16.720.85%2
2015-05-262015-05-27$16.50$16.50-0.19%2
2015-05-112015-05-22$15.97$16.522.16%10
2015-04-292015-05-01$15.50$15.07-1.27%3
2014-10-082014-10-10$17.29$15.79-0.71%3
2014-09-152014-09-16$16.92$17.38-5.56%2
2014-09-022014-09-12$18.94$18.612.28%9
2014-08-282014-08-29$17.59$17.980.02%2
2014-08-262014-08-27$17.45$17.55-0.30%2
2014-07-312014-08-25$14.89$17.507.10%18
2014-06-232014-07-07$15.81$14.84-0.16%10
2013-03-262013-04-02$2.52$2.9610.06%5
2013-03-082013-03-18$2.56$2.34-4.74%7
2013-02-202013-02-21$2.57$2.34-1.25%2
2013-02-152013-02-19$2.47$2.62-2.05%2
2013-02-122013-02-14$2.53$2.55-0.07%3
2013-01-232013-01-24$2.40$2.471.26%2
2012-12-262012-12-27$2.24$2.25-1.33%2
2012-12-212012-12-24$2.27$2.29-0.87%2
2012-12-182012-12-19$2.31$2.310.21%2
2012-11-232012-12-14$2.14$2.252.04%16
2012-03-272012-04-05$2.53$2.30-3.91%8
2012-03-142012-03-16$2.35$2.35-1.94%3
2012-03-122012-03-13$2.40$2.412.07%2
2012-03-052012-03-06$2.25$2.21-0.60%2
2012-03-012012-03-02$2.29$2.271.67%2