Strategy Zoo / S1649

LongTermTrend_V1649

ARCHIVEDhybrid

llmSimplified entry logic to core regime/price/volume signals; added regime gates to avoid trading in high-volatility and non-normal bubble regimes; improved exits by adding price-based (close < sma_50) and a hard drawdown stop (15%); added volatility-based position sizing (reduce size in high vol, full size in low vol); lowered base position to 0.8 to reduce peak drawdown risk.

Fitness
0.1131
Generation
76
Complexity
19
Created
2026-10-15

Lineage

Parents (1)
LongTermTrend_V1083S1083 · gen 49ELITEllm

swapped indicator ret_20d -> cumret_252d; removed entry condition: rsi_14 > 34.4934

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1649  [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.0024) or (macd_hist > 0.0 and close > sma_50) or (breakout_50 == 1 and rel_volume > 1.5)) and sma_20 < close):
    position = 0.8
if long and (macd_hist < 0.0 or close < sma_50 or drawdown > 0.15):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-3.1%2.2%-1.7%-1.7%
Total Return-22.2%6.7%-6.3%-22.2%
Sharpe-0.140.22-0.01-0.03
Sortino-0.090.14-0.00-0.02
Calmar-0.080.11-0.05-0.04
Volatility14.9%16.0%17.9%16.0%
Max DD-41.0%-19.6%-34.9%-43.0%
Win Rate36.8%40.6%34.6%36.9%
Avg Win3.0%4.0%5.1%3.7%
Avg Loss-2.0%-2.2%-2.6%-2.2%
Payoff1.501.841.981.69
Expectancy-0.2%0.3%0.1%-0.0%
Profit Factor0.871.261.050.99
Trades1143252198
Avg Holding Days4.25.44.74.5
Turnover22.817.122.321.5
Exposure14.7%14.8%16.7%15.2%

Growth of $100

LongTermTrend_V1649 vs TSLA Buy & Hold
LongTermTrend_V1649 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-6.7%-0.62-11.8%13
20179.3%1.04-5.2%8
2018-11.7%-1.08-15.5%8
2019-9.7%-0.35-19.6%8
20200.0%0.000.0%0
20214.8%0.32-17.6%23
20221.9%0.20-15.5%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 testDOWNTREND278-2.9%-1.411%
hidden testEXPENSIVE8334.2%2.442%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-8.6%-0.632%
hidden testLOW VOLATILITY4457.3%0.4025%
hidden testMEDIUM VOLATILITY250-4.8%-0.2317%
hidden testNORMAL818-3.6%-0.1919%
hidden testSIDEWAYS300-26.7%-1.3230%
hidden testUPTREND37123.4%1.0718%
trainDOWNTREND518-6.5%-1.211%
trainEXPENSIVE31110.4%1.822%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY6991.8%0.131%
trainLOW VOLATILITY7458.0%0.5526%
trainMEDIUM VOLATILITY568-19.9%-1.2416%
trainNORMAL1,601-4.6%-0.2818%
trainSIDEWAYS592-13.5%-0.7920%
trainUPTREND9028.1%0.4719%
validationDOWNTREND125-0.3%-2.020%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-6.6%-0.661%
validationLOW VOLATILITY183-0.3%-0.0234%
validationMEDIUM VOLATILITY31513.8%0.7015%
validationNORMAL4745.5%0.2724%
validationSIDEWAYS206-7.7%-0.4023%
validationUPTREND42510.0%0.5915%

Trades (full period)

latest 100 of 199
EntryExitEntry PxExit PxReturnDays
2026-10-07—$377.81—-2.92%6OPEN
2026-07-012026-07-06$425.30$419.77-5.30%3
2026-05-272026-06-02$440.36$423.74-3.41%5
2026-05-222026-05-26$426.01$433.591.40%2
2026-05-082026-05-21$428.35$417.850.97%10
2026-04-202026-04-21$392.50$386.42-1.78%2
2026-03-122026-03-13$395.01$391.20-2.67%2
2026-02-262026-02-27$408.58$402.51-1.85%2
2026-02-122026-02-13$417.07$417.44-2.25%2
2026-01-232026-01-26$449.06$435.20-0.21%2
2025-12-032025-12-30$446.74$454.435.56%19
2025-12-012025-12-02$430.14$429.24-0.17%2
2025-09-052025-09-15$350.84$410.0413.26%7
2025-08-252025-09-03$346.60$334.09-2.65%7
2025-08-112025-08-21$339.03$320.11-1.54%9
2025-07-292025-07-30$321.20$319.04-1.24%2
2025-07-212025-07-25$328.49$316.06-6.05%5
2025-07-172025-07-18$319.41$329.65-0.72%2
2025-06-042025-06-05$332.05$284.70-3.00%2
2025-06-022025-06-03$342.69$344.27-1.03%2
2025-05-222025-05-28$341.04$356.906.58%4
2025-05-122025-05-13$318.38$334.075.23%2
2024-10-092024-10-10$241.05$238.77-1.29%2
2024-10-072024-10-08$240.83$244.50-3.12%2
2024-09-232024-10-04$250.00$250.080.70%10
2024-09-162024-09-20$226.78$238.254.58%5
2024-09-052024-09-09$230.17$216.27-3.25%3
2024-09-032024-09-04$210.60$219.41-1.47%2
2024-06-172024-07-12$187.44$248.2327.57%18
2024-01-032024-01-04$238.45$237.93-3.37%2
2023-12-152024-01-02$253.50$248.42-0.94%11
2023-11-292023-12-14$244.14$251.05-2.56%12
2023-11-272023-11-28$236.08$246.720.05%2
2023-11-222023-11-24$234.21$235.45-2.48%2
2023-11-202023-11-21$235.60$241.200.28%2
2023-11-162023-11-17$233.59$234.30-3.20%2
2023-11-142023-11-15$237.41$242.844.74%2
2023-10-182023-10-19$242.68$220.11-3.98%2
2023-10-052023-10-17$260.05$254.85-2.37%9
2023-09-122023-09-22$267.48$244.88-5.39%9
2023-09-082023-09-11$248.50$273.58-1.11%2
2023-09-062023-09-07$251.92$251.49-1.58%2
2023-08-302023-09-05$256.90$256.49-3.94%4
2023-07-202023-07-21$262.90$260.02-7.94%2
2023-07-182023-07-19$293.34$291.260.65%2
2023-07-142023-07-17$281.38$290.380.84%2
2023-07-122023-07-13$271.99$277.900.49%2
2023-07-102023-07-11$269.61$269.79-1.56%2
2023-07-052023-07-07$282.48$274.43-1.09%3
2023-06-302023-07-03$261.77$279.821.17%2
2023-06-282023-06-29$256.24$257.501.77%2
2023-05-312023-06-27$203.93$250.2115.56%19
2023-03-242023-04-06$190.41$185.06-2.88%10
2022-09-122022-09-23$304.42$275.33-3.08%10
2022-08-162022-08-19$306.56$296.67-1.83%4
2022-08-022022-08-12$300.59$300.03-2.97%9
2022-03-182022-04-11$301.80$325.3113.91%17
2022-03-102022-03-11$279.43$265.12-2.08%2
2022-03-032022-03-04$279.76$279.43-3.85%2
2022-02-162022-02-17$307.80$292.12-0.08%2
2022-01-122022-01-13$368.74$343.852.98%2
2021-12-272022-01-03$364.65$399.93-0.92%6
2021-11-302021-12-01$381.59$365.000.39%2
2021-11-232021-11-24$369.68$372.00-3.47%2
2021-10-122021-11-10$268.57$355.9823.06%22
2021-10-082021-10-11$261.83$263.98-0.98%2
2021-09-282021-10-07$259.19$264.54-1.03%8
2021-09-242021-09-27$258.13$263.792.04%2
2021-09-222021-09-23$250.65$251.211.20%2
2021-08-302021-09-21$243.64$246.461.92%16
2021-08-262021-08-27$233.72$237.31-1.29%2
2021-08-242021-08-25$236.16$237.070.09%2
2021-08-192021-08-20$224.49$226.75-1.96%2
2021-07-302021-08-17$229.07$221.900.92%13
2021-07-132021-07-15$222.85$216.87-3.94%3
2021-06-242021-07-12$226.61$228.57-0.08%12
2021-06-222021-06-23$207.90$218.860.21%2
2021-06-182021-06-21$207.77$206.940.71%2
2021-06-152021-06-16$199.79$201.62-2.53%2
2021-06-112021-06-14$203.30$205.90-0.19%2
2021-06-022021-06-03$201.71$190.95-2.57%2
2021-05-282021-06-01$208.41$207.97-0.87%2
2021-04-142021-04-29$244.08$225.67-7.29%12
2021-04-122021-04-13$233.99$254.112.79%2
2021-04-082021-04-09$227.93$225.671.37%2
2019-12-132019-12-17$23.89$25.274.69%3
2019-12-112019-12-12$23.51$23.980.72%2
2019-11-262019-11-27$21.93$22.09-1.92%2
2019-11-222019-11-25$22.20$22.42-5.07%2
2019-10-152019-10-25$17.19$21.8813.15%9
2019-09-112019-09-25$16.47$15.25-4.29%11
2019-07-222019-07-26$17.05$15.20-9.19%5
2019-03-012019-03-04$19.65$19.02-6.43%2
2018-12-102018-12-18$24.34$22.47-2.26%7
2018-12-062018-12-07$24.20$23.860.59%2
2018-12-032018-12-04$23.90$23.981.67%2
2018-11-292018-11-30$22.74$23.37-1.70%2
2018-11-272018-11-28$22.93$23.19-0.64%2
2018-03-132018-03-15$22.79$21.71-4.53%3
2018-02-082018-02-09$21.02$20.69-7.06%2