Strategy Zoo / S1482

LongTermTrend_V1482

ARCHIVEDhybrid

llmRemoved the overly strict cumret_252d > 1.15 filter (likely prevented validation entries); loosened distance-from-50SMA constraint to allow more valid setups; relaxed rel_volume threshold to 1.2; kept multiple momentum entry paths (200SMA trend, MACD+50SMA, breakout+volume); added a trend regime gate (UPTREND only) and excluded HIGH_VOLATILITY to avoid chaotic regimes; switched exit to a safer OR of MACD flip or a 5-day stop-loss; reduced base_position to 0.8 to lower drawdown risk.

Fitness
0.3180
Generation
68
Complexity
18
Created
2026-10-13

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_V1482  [hybrid]
require regime.trend in ['UPTREND']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
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.2)) and sma_20 < close and dist_sma_50 > -0.15):
    position = 0.8
if long and (macd_hist < 0.0 or ret_5d < -0.06):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-1.9%35.5%-1.6%5.0%
Total Return-14.2%148.9%-6.0%105.5%
Sharpe-0.061.42-0.010.37
Sortino-0.041.32-0.010.25
Calmar-0.061.45-0.060.15
Volatility14.8%23.3%16.8%17.4%
Max DD-34.4%-24.4%-26.6%-34.4%
Win Rate37.3%57.1%38.5%41.9%
Avg Win3.2%6.4%4.4%4.6%
Avg Loss-2.2%-2.7%-2.8%-2.4%
Payoff1.472.361.551.93
Expectancy-0.2%2.5%-0.1%0.5%
Profit Factor0.883.150.971.39
Trades1104239191
Avg Holding Days4.05.24.34.4
Turnover22.122.416.620.7
Exposure13.8%18.5%11.0%14.0%

Growth of $100

LongTermTrend_V1482 vs TSLA Buy & Hold
LongTermTrend_V1482 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-5.5%-0.72-10.8%10
20172.8%0.25-12.6%22
2018-11.6%-1.29-11.6%7
20194.5%0.51-8.0%4
2020114.4%2.77-10.3%15
202127.2%1.14-17.0%19
2022-17.9%-1.91-20.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 testDOWNTREND2780.0%0.000%
hidden testEXPENSIVE830.2%0.0130%
hidden testEXTREME4823.7%0.9313%
hidden testHIGH VOLATILITY254-16.7%-1.292%
hidden testLOW VOLATILITY44320.6%1.4412%
hidden testMEDIUM VOLATILITY250-20.5%-0.8918%
hidden testNORMAL816-1.7%-0.119%
hidden testSIDEWAYS298-19.7%-2.092%
hidden testUPTREND37115.2%0.6027%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE31119.1%0.8126%
trainEXTREME10032.2%1.6622%
trainHIGH VOLATILITY6990.6%0.051%
trainLOW VOLATILITY7457.1%0.4826%
trainMEDIUM VOLATILITY568-13.0%-0.8314%
trainNORMAL1,601-6.8%-0.5611%
trainSIDEWAYS592-9.4%-1.521%
trainUPTREND9024.3%0.2030%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13839.0%1.3035%
validationEXTREME144123.5%4.1318%
validationHIGH VOLATILITY25832.5%1.552%
validationLOW VOLATILITY18315.4%0.9330%
validationMEDIUM VOLATILITY31543.8%1.5625%
validationNORMAL4743.9%0.2214%
validationSIDEWAYS206-14.9%-1.911%
validationUPTREND42566.1%2.1732%

Trades (full period)

latest 100 of 191
EntryExitEntry PxExit PxReturnDays
2026-07-012026-07-06$425.30$419.77-5.30%3
2026-05-292026-06-01$435.79$415.88-1.30%2
2026-02-122026-02-18$417.07$411.32-3.46%4
2025-12-012025-12-30$430.14$454.435.37%21
2025-11-062025-11-07$445.91$429.52-2.96%2
2025-11-032025-11-05$468.37$462.07-2.29%3
2025-10-302025-10-31$440.10$456.56-3.87%2
2025-10-282025-10-29$460.55$461.511.28%2
2025-10-242025-10-27$433.72$452.42-2.88%2
2025-10-222025-10-23$438.97$448.98-0.82%2
2025-10-202025-10-21$447.43$442.601.32%2
2025-10-162025-10-17$428.75$439.31-1.34%2
2025-10-142025-10-15$429.24$435.15-1.38%2
2025-10-092025-10-10$435.54$413.49-0.73%2
2025-10-072025-10-08$433.09$438.69-3.72%2
2025-09-122025-10-06$395.94$453.2513.02%17
2025-07-292025-08-01$321.20$302.63-4.42%4
2025-07-172025-07-25$319.41$316.06-4.18%7
2025-06-042025-06-05$332.05$284.70-3.00%2
2025-05-222025-06-03$341.04$344.271.82%8
2024-12-112024-12-23$424.77$430.603.98%9
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-10-032024-10-04$240.66$250.08-2.84%2
2024-09-232024-09-27$250.00$260.465.19%5
2024-09-162024-09-20$226.78$238.254.58%5
2024-09-032024-09-09$210.60$216.27-1.33%5
2024-07-022024-07-12$231.26$248.2311.75%8
2024-01-032024-01-04$238.45$237.93-3.37%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-06-022023-06-27$213.97$250.2112.72%17
2022-09-152022-09-23$303.75$275.33-3.86%7
2022-09-122022-09-14$304.42$302.61-2.16%3
2022-08-162022-08-19$306.56$296.67-1.83%4
2022-08-052022-08-08$288.17$290.42-5.46%2
2022-04-052022-04-11$363.75$325.31-8.58%5
2022-01-122022-01-13$368.74$343.852.98%2
2021-12-272022-01-04$364.65$383.209.81%7
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-08-052021-08-17$238.21$221.90-2.92%9
2021-02-082021-02-09$287.81$283.150.89%2
2021-02-042021-02-05$283.33$284.08-0.60%2
2021-02-022021-02-03$290.93$284.902.98%2
2021-01-282021-01-29$278.48$264.51-2.82%2
2021-01-262021-01-27$294.36$288.050.05%2
2021-01-202021-01-25$283.48$293.600.04%4
2021-01-052021-01-19$245.04$281.5210.45%10
2020-12-312021-01-04$235.22$243.261.09%2
2020-12-292020-12-30$222.00$231.590.12%2
2020-12-242020-12-28$220.59$221.231.79%2
2020-12-182020-12-23$231.67$215.33-1.99%4
2020-11-192020-12-17$166.42$218.6321.91%20
2020-11-062020-11-11$143.32$139.04-5.24%4
2020-10-132020-10-20$148.88$140.65-2.21%6
2020-08-312020-09-01$166.11$158.359.89%2
2020-08-262020-08-27$143.54$149.254.97%2
2020-07-022020-07-06$80.58$91.446.20%2
2020-06-302020-07-01$71.99$74.645.42%2
2020-06-262020-06-29$63.98$67.29-2.29%2
2020-06-022020-06-25$58.77$65.735.58%18
2020-05-292020-06-01$55.67$59.872.74%2
2020-05-272020-05-28$54.68$53.72-0.03%2
2019-12-132020-01-31$23.89$43.3759.02%33
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-212019-10-22$16.90$17.04-1.23%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-02-082018-02-09$21.02$20.69-7.06%2
2018-02-012018-02-05$23.28$22.21-2.54%3
2017-10-132017-10-23$23.70$22.47-2.53%7
2017-09-182017-09-25$25.67$23.00-6.22%6
2017-08-152017-08-18$24.16$23.16-2.77%4
2017-08-042017-08-07$23.79$23.682.10%2
2017-06-292017-06-30$24.05$24.11-2.42%2
2017-06-052017-06-27$23.15$24.168.65%17
2017-05-172017-05-18$20.41$20.87-2.91%2
2017-05-122017-05-16$21.65$21.13-1.94%3