Strategy Zoo / S1338

LongTermTrend_V1338

ARCHIVEDhybrid

structuraladded entry filter: breakout_20 == 1

Fitness
0.6750
Generation
61
Complexity
28
Created
2026-10-08

Lineage

Parents (1)
LongTermTrend_V0531S0531 · gen 24ARCHIVEDstructural

added entry filter: sma_20 < close; added entry filter: macd_hist > -2.6055

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1338  [hybrid]
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 macd_hist > -2.6055 and breakout_20 == 1):
    position = 1.0
if long and macd_hist < 0.0:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR18.7%96.0%24.3%33.3%
Total Return294.3%653.1%125.8%6804.7%
Sharpe0.741.790.871.05
Sortino0.671.810.871.00
Calmar0.443.720.710.79
Volatility28.7%42.5%30.2%32.4%
Max DD-42.3%-25.8%-34.3%-42.3%
Win Rate44.1%54.2%48.0%47.2%
Avg Win13.5%22.6%14.1%16.4%
Avg Loss-4.8%-3.9%-5.2%-4.7%
Payoff2.795.842.713.47
Expectancy3.2%10.5%4.1%5.3%
Profit Factor2.206.902.503.10
Trades592425108
Avg Holding Days12.112.413.312.5
Turnover14.916.013.614.7
Exposure32.9%36.1%32.6%33.5%

Growth of $100

LongTermTrend_V1338 vs TSLA Buy & Hold
LongTermTrend_V1338 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
201621.7%1.27-12.2%5
201734.9%1.56-14.9%11
2018-17.9%-0.70-23.7%8
201928.3%0.93-18.4%4
2020405.3%2.95-21.8%10
202137.7%1.20-16.8%9
20224.0%0.28-17.0%5

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 testDOWNTREND27813.6%0.5428%
hidden testEXPENSIVE8387.5%1.9648%
hidden testEXTREME48133.3%2.9940%
hidden testHIGH VOLATILITY25449.7%1.2238%
hidden testLOW VOLATILITY44044.0%1.8632%
hidden testMEDIUM VOLATILITY250-28.8%-1.0428%
hidden testNORMAL81313.7%0.5031%
hidden testSIDEWAYS295-11.4%-0.4335%
hidden testUPTREND37165.6%1.8234%
trainDOWNTREND518-0.6%-0.0514%
trainEXPENSIVE31152.1%1.5750%
trainEXTREME100288.1%4.1970%
trainHIGH VOLATILITY69939.1%0.9932%
trainLOW VOLATILITY74527.0%1.4141%
trainMEDIUM VOLATILITY568-8.3%-0.3624%
trainNORMAL1,601-1.5%-0.0627%
trainSIDEWAYS592-0.2%-0.0133%
trainUPTREND90247.8%1.3144%
validationDOWNTREND12536.4%1.6612%
validationEXPENSIVE13879.6%2.0736%
validationEXTREME144275.2%3.6966%
validationHIGH VOLATILITY25882.2%1.4831%
validationLOW VOLATILITY18320.1%1.1136%
validationMEDIUM VOLATILITY315104.0%2.5841%
validationNORMAL47414.8%0.5527%
validationSIDEWAYS20610.7%0.4026%
validationUPTREND425119.7%2.3048%

Trades (full period)

latest 100 of 109
EntryExitEntry PxExit PxReturnDays
2026-10-07—$377.81—-0.85%1OPEN
2026-09-232026-09-29$380.12$352.84-5.85%5
2026-08-242026-09-17$348.95$366.20-1.52%18
2026-07-022026-07-15$393.45$394.46-7.04%9
2026-04-202026-05-21$392.50$417.853.94%24
2025-12-082025-12-30$439.58$454.430.81%16
2025-11-042025-11-05$444.26$462.07-5.34%2
2025-09-122025-10-06$395.94$453.2516.32%17
2025-08-262025-09-03$351.67$334.09-5.16%6
2025-08-122025-08-22$340.84$340.01-5.77%9
2025-04-282025-06-03$285.88$344.2720.02%26
2024-12-092024-12-24$389.79$462.2810.41%12
2024-12-052024-12-06$369.49$389.223.03%2
2024-12-032024-12-04$351.42$357.93-1.79%2
2024-10-282024-11-29$262.51$345.1623.41%24
2024-09-062024-10-04$210.73$250.084.34%21
2024-06-182024-07-22$184.86$251.5127.36%23
2024-04-302024-05-30$183.28$178.79-9.39%22
2023-12-152024-01-02$253.50$248.42-1.22%11
2023-11-162023-12-14$233.59$251.05-1.66%20
2023-09-122023-09-25$267.48$246.99-10.67%10
2023-07-182023-07-19$293.34$291.260.82%2
2023-07-052023-07-07$282.48$274.43-1.37%3
2023-05-222023-06-27$188.87$250.2133.55%25
2023-04-032023-04-06$194.77$185.06-10.76%4
2023-01-272023-02-23$177.90$202.0725.09%19
2022-09-202022-09-23$308.73$275.33-6.81%4
2022-08-162022-08-19$306.56$296.67-2.28%4
2022-07-112022-08-12$234.34$300.0314.07%25
2022-03-212022-04-11$307.05$325.3113.04%16
2022-01-042022-01-12$383.20$368.74-11.46%7
2021-10-132021-11-11$270.36$354.5032.28%22
2021-10-082021-10-11$261.83$263.98-1.22%2
2021-09-272021-10-07$263.79$264.540.88%9
2021-08-312021-09-21$245.24$246.46-0.30%15
2021-08-022021-08-17$236.56$221.90-0.35%12
2021-06-242021-07-12$226.61$228.57-0.14%12
2021-04-142021-04-29$244.08$225.67-9.10%12
2021-01-262021-01-27$294.36$288.050.06%2
2021-01-042021-01-25$243.26$293.6019.74%15
2020-12-182020-12-23$231.67$215.33-2.56%4
2020-11-182020-12-17$162.21$218.6340.75%21
2020-10-152020-10-20$149.63$140.65-6.79%4
2020-08-172020-09-08$122.38$110.0726.47%16
2020-07-012020-07-27$74.64$102.6430.97%18
2020-06-092020-06-25$62.71$65.730.95%13
2020-06-012020-06-02$59.87$58.777.35%2
2020-05-222020-05-26$54.46$54.59-1.49%2
2020-04-142020-05-14$47.33$53.5621.28%23
2019-12-172020-02-26$25.27$51.92109.25%48
2019-10-142019-11-21$17.13$23.6641.81%29
2019-09-112019-09-25$16.47$15.25-5.42%11
2019-07-022019-07-26$14.97$15.200.52%18
2019-01-182019-01-22$20.15$19.93-13.16%2
2018-12-112018-12-18$24.45$22.47-4.77%6
2018-12-062018-12-07$24.20$23.860.73%2
2018-10-262018-11-21$22.06$22.5510.15%19
2018-08-032018-08-20$23.21$20.56-12.77%12
2018-06-072018-06-26$21.07$22.804.02%14
2018-05-102018-05-17$20.33$18.97-6.83%6
2018-02-272018-03-06$23.40$21.88-6.92%6
2018-01-182018-02-05$22.97$22.21-1.18%13
2017-12-122017-12-27$22.74$20.78-3.72%11
2017-09-142017-09-25$25.18$23.00-4.32%8
2017-08-042017-08-22$23.79$22.76-2.85%13
2017-05-312017-06-27$22.73$24.1612.43%20
2017-05-112017-05-12$21.54$21.65-0.85%2
2017-05-012017-05-04$21.52$19.70-1.17%4
2017-04-262017-04-27$20.68$20.58-1.35%2
2017-03-272017-04-21$18.01$20.3714.73%19
2017-02-092017-02-22$17.95$18.235.63%9
2017-02-072017-02-08$17.17$17.47-0.31%2
2016-12-142017-02-02$13.25$16.7725.53%34
2016-07-122016-08-09$14.98$15.270.41%21
2016-06-082016-06-16$15.70$14.53-6.49%7
2016-04-052016-04-14$17.03$16.792.85%8
2016-03-042016-04-01$13.40$15.8417.15%20
2015-12-312016-01-06$16.00$14.60-6.34%4
2015-12-022015-12-14$15.47$14.57-8.69%9
2015-09-172015-09-30$17.47$16.56-6.14%10
2015-07-212015-07-22$17.78$17.86-5.68%2
2015-06-222015-07-09$17.32$17.19-3.07%13
2015-06-182015-06-19$17.46$17.500.37%2
2015-06-092015-06-10$17.07$16.71-0.31%2
2015-05-292015-06-01$16.72$16.63-0.46%2
2015-04-072015-05-22$13.55$16.5220.69%34
2015-02-042015-02-18$14.57$13.63-6.60%10
2014-11-122014-12-01$16.61$15.44-2.81%13
2014-09-022014-09-12$18.94$18.613.73%9
2014-08-282014-08-29$17.59$17.980.03%2
2014-08-262014-08-27$17.45$17.55-0.51%2
2014-08-042014-08-25$15.90$17.509.86%16
2014-06-172014-07-07$15.44$14.841.86%14
2014-02-102014-03-11$13.10$15.6327.79%21
2014-01-152014-02-06$10.94$11.897.94%16
2013-12-132014-01-10$9.84$9.71-0.16%19
2013-09-202013-10-04$12.23$12.07-2.78%11
2013-08-232013-09-10$10.79$11.092.09%12
2013-07-302013-08-15$8.78$9.313.31%13
2013-07-022013-07-17$7.85$8.02-7.12%11