Strategy Zoo / S1643

LongTermTrend_V1643

ARCHIVEDhybrid

llmAdded regime gates to avoid high-volatility and extreme-bubble environments; introduced a short-term trend filter (close > sma_50) and modest distance-from-sma requirement to reduce false entries; kept original long-term trend or strong 20d momentum requirement; added volatility-based position sizing (reduce size when vol_pctile > 0.66, full size when quiet); tightened risk exits by adding an SMA-50 cross exit and an extreme-volatility exit; reduced base_position to 0.7 to lower exposure.

Fitness
0.2800
Generation
76
Complexity
18
Created
2026-10-15

Lineage

Parents (1)
LongTermTrend_V1319S1319 · gen 60ELITEllm

added entry filter: dist_sma_20 > -0.0187

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1643  [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_200_slope > -0.0012) or ret_20d > 0.1) and ret_20d > 0.05 and cumret_252d > -0.1997 and close > sma_50 and vol_pctile < 0.8 and dist_sma_20 > -0.05):
    position = 0.7
if long and (ret_20d < -0.1003 or close < sma_50 or vol_pctile > 0.9):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR0.6%21.3%1.3%4.8%
Total Return5.1%78.6%4.9%101.0%
Sharpe0.121.040.160.36
Sortino0.090.920.110.28
Calmar0.020.870.050.12
Volatility16.4%20.7%17.6%17.7%
Max DD-39.6%-24.6%-24.5%-39.6%
Win Rate29.5%41.7%33.3%32.4%
Avg Win7.6%22.2%11.1%12.3%
Avg Loss-3.2%-5.5%-4.5%-3.8%
Payoff2.414.022.443.24
Expectancy0.0%6.0%0.7%1.4%
Profit Factor1.012.871.221.55
Trades44121571
Avg Holding Days13.522.016.015.9
Turnover7.85.65.66.7
Exposure20.1%23.3%16.6%19.9%

Growth of $100

LongTermTrend_V1643 vs TSLA Buy & Hold
LongTermTrend_V1643 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-7.8%-0.71-14.4%4
201713.4%0.82-10.1%12
2018-16.8%-1.62-17.4%3
20197.4%0.47-15.8%3
202055.9%2.50-8.6%4
202121.4%0.89-24.6%6
2022-8.1%-0.40-21.1%2

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-2.5%-1.371%
hidden testEXPENSIVE8350.5%1.8040%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-12.3%-0.831%
hidden testLOW VOLATILITY44521.1%1.3622%
hidden testMEDIUM VOLATILITY250-14.4%-0.6323%
hidden testNORMAL818-1.8%-0.1115%
hidden testSIDEWAYS300-12.0%-0.7518%
hidden testUPTREND37118.8%0.7827%
trainDOWNTREND518-4.7%-1.281%
trainEXPENSIVE31132.4%1.4733%
trainEXTREME1008.1%1.551%
trainHIGH VOLATILITY6992.8%0.182%
trainLOW VOLATILITY74519.8%1.1838%
trainMEDIUM VOLATILITY568-22.5%-1.3120%
trainNORMAL1,601-4.3%-0.2819%
trainSIDEWAYS592-13.8%-0.9416%
trainUPTREND90216.2%0.7634%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13877.9%2.8741%
validationEXTREME14433.1%2.612%
validationHIGH VOLATILITY258-8.3%-1.000%
validationLOW VOLATILITY18319.7%1.1343%
validationMEDIUM VOLATILITY31546.9%1.6631%
validationNORMAL4741.5%0.0725%
validationSIDEWAYS206-9.9%-0.5124%
validationUPTREND42543.0%1.7930%

Trades (full period)

71 trades
EntryExitEntry PxExit PxReturnDays
2026-05-082026-06-08$428.35$408.95-3.52%21
2026-04-202026-04-21$392.50$386.42-1.56%2
2025-12-152026-01-05$475.31$451.67-3.26%14
2025-08-252025-11-14$346.60$404.3512.98%59
2025-08-112025-08-21$339.03$320.11-1.34%9
2025-05-192025-06-06$342.09$295.14-13.28%14
2025-05-122025-05-13$318.38$334.074.58%2
2024-09-232024-10-14$250.00$219.16-6.04%16
2024-09-162024-09-20$226.78$238.254.02%5
2024-09-062024-09-09$210.73$216.27-6.05%2
2024-06-272024-07-12$197.42$248.2315.58%11
2023-11-292024-01-10$244.14$233.94-3.38%29
2023-11-222023-11-24$234.21$235.45-2.17%2
2023-09-122023-09-22$267.48$244.88-4.72%9
2023-05-312023-08-03$203.93$259.3218.16%45
2022-08-022022-09-01$300.59$277.16-5.15%23
2022-03-222022-04-27$331.33$293.84-3.08%26
2021-11-232021-12-03$369.68$338.32-4.48%8
2021-06-242021-11-10$226.61$355.9837.33%98
2021-05-032021-05-05$228.30$223.65-3.69%3
2021-04-142021-04-30$244.08$236.48-8.02%13
2021-01-122021-02-23$283.15$232.95-8.37%29
2020-12-102021-01-11$209.02$270.4030.32%21
2020-11-192020-12-08$166.42$216.6321.45%13
2020-10-132020-10-29$148.88$136.94-5.89%13
2020-06-252020-06-30$65.73$71.993.41%4
2019-11-222020-01-22$22.20$37.9735.76%40
2019-10-232019-10-25$16.98$21.8811.93%3
2019-09-132019-09-25$16.35$15.25-6.61%9
2019-07-242019-07-26$17.66$15.20-8.51%3
2018-11-292018-12-21$22.74$21.32-6.66%16
2018-03-132018-03-15$22.79$21.71-3.97%3
2018-01-222018-02-09$23.44$20.69-7.07%15
2017-12-122017-12-26$22.74$21.15-0.90%10
2017-08-302017-09-26$23.55$23.02-0.52%19
2017-08-252017-08-29$23.20$23.16-1.58%3
2017-08-152017-08-18$24.16$23.16-2.42%4
2017-08-042017-08-07$23.79$23.681.84%2
2017-06-302017-07-06$24.11$20.59-6.70%4
2017-06-052017-06-14$23.15$25.387.23%8
2017-05-122017-05-19$21.65$20.72-2.30%6
2017-04-242017-05-10$20.54$21.683.51%13
2017-04-202017-04-21$20.17$20.37-0.83%2
2017-03-282017-04-04$18.50$20.257.13%6
2016-12-282017-02-28$14.65$16.678.42%42
2016-07-222016-08-29$14.82$14.35-0.26%27
2016-06-082016-06-10$15.70$14.59-1.03%3
2016-03-282016-05-05$15.35$14.10-1.59%29
2016-03-212016-03-24$15.89$15.18-3.18%4
2015-09-212015-09-29$17.61$16.44-3.41%7
2015-08-062015-08-07$16.41$16.17-6.35%2
2015-04-282015-07-28$15.37$17.656.50%64
2015-04-142015-04-21$13.83$13.96-1.65%6
2014-11-252014-12-02$16.54$15.43-4.42%5
2014-11-122014-11-24$16.61$16.45-2.43%9
2014-06-162014-09-23$14.97$16.6914.72%70
2014-06-122014-06-13$13.57$13.76-0.47%2
2014-06-092014-06-11$13.69$13.63-2.12%3
2014-05-282014-06-03$14.02$13.66-2.41%5
2014-03-202014-03-26$15.66$14.20-4.73%5
2014-02-132014-02-26$13.31$16.8718.38%9
2014-01-062014-01-14$9.80$10.75-4.93%7
2013-09-092013-10-24$10.71$11.54-0.88%34
2013-03-262013-04-02$2.52$2.9611.75%5
2013-01-242013-02-22$2.47$2.41-1.59%21
2012-11-062013-01-14$2.08$2.223.13%47
2012-09-182012-09-21$2.09$2.00-3.68%4
2012-07-062012-07-24$2.07$1.99-1.27%13
2012-06-282012-07-03$2.09$2.04-3.57%4
2012-06-192012-06-25$2.14$2.214.18%5
2012-02-152012-04-10$2.24$2.160.11%38