Strategy Zoo / S0999

LongTermTrend_V0999

ARCHIVEDhybrid

structuralreduce exposure to 41% during MEDIUM_VOLATILITY; added entry filter: rel_volume > 1.1075

Fitness
0.6080
Generation
45
Complexity
29
Created
2026-10-01

Lineage

Parents (1)
LongTermTrend_V0886S0886 · gen 40ARCHIVEDstructural

changed cumret_252d threshold -0.1997 -> -0.4599

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0999  [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.4599 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 rel_volume > 1.1075):
    position = 1.0
if long and macd_hist < 0.0:
    position = 0.0  # exit to cash
if regime.volatility == "MEDIUM_VOLATILITY": position *= 0.41

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR23.5%54.2%37.2%33.0%
Total Return439.2%266.4%225.0%6510.6%
Sharpe0.921.441.281.14
Sortino0.901.291.301.09
Calmar0.712.571.430.99
Volatility26.7%34.1%27.6%28.6%
Max DD-33.2%-21.0%-26.0%-33.2%
Win Rate43.3%55.0%47.6%46.5%
Avg Win14.5%16.6%17.8%16.1%
Avg Loss-3.9%-2.9%-3.7%-3.7%
Payoff3.695.804.864.37
Expectancy4.1%7.8%6.6%5.5%
Profit Factor2.827.094.423.80
Trades602021101
Avg Holding Days11.213.915.812.8
Turnover16.312.512.914.6
Exposure26.9%25.6%28.2%27.0%

Growth of $100

LongTermTrend_V0999 vs TSLA Buy & Hold
LongTermTrend_V0999 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
20163.9%0.46-9.9%4
20178.1%0.52-14.4%9
2018-2.1%0.04-23.3%8
201921.5%0.80-22.1%5
2020207.6%2.37-21.0%9
202125.9%1.23-7.0%7
2022-5.8%-0.38-14.5%4

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 testDOWNTREND27517.7%0.7225%
hidden testEXPENSIVE83108.3%2.5044%
hidden testEXTREME4896.9%2.4225%
hidden testHIGH VOLATILITY25458.8%1.6234%
hidden testLOW VOLATILITY43448.6%2.0132%
hidden testMEDIUM VOLATILITY251-11.1%-0.4916%
hidden testNORMAL80824.3%0.9927%
hidden testSIDEWAYS29315.1%0.6232%
hidden testUPTREND37164.6%2.0327%
trainDOWNTREND518-5.6%-0.538%
trainEXPENSIVE31127.7%1.0543%
trainEXTREME100282.7%4.2260%
trainHIGH VOLATILITY69945.2%1.2327%
trainLOW VOLATILITY74533.9%1.6937%
trainMEDIUM VOLATILITY568-13.0%-0.7213%
trainNORMAL1,6017.8%0.3622%
trainSIDEWAYS5928.0%0.3425%
trainUPTREND90252.8%1.5539%
validationDOWNTREND1257.7%1.382%
validationEXPENSIVE13848.3%2.2915%
validationEXTREME144173.5%2.5658%
validationHIGH VOLATILITY25860.6%1.2029%
validationLOW VOLATILITY18339.0%1.8838%
validationMEDIUM VOLATILITY31545.3%2.1316%
validationNORMAL47411.4%0.6519%
validationSIDEWAYS2066.6%0.3218%
validationUPTREND42581.7%1.9036%

Trades (full period)

latest 100 of 101
EntryExitEntry PxExit PxReturnDays
2026-09-212026-09-29$375.30$352.84-4.31%7
2026-08-242026-09-17$348.95$366.20-2.14%18
2026-04-162026-05-21$388.90$417.858.92%26
2025-12-152025-12-30$475.31$454.43-0.05%11
2025-10-242025-10-27$433.72$452.42-1.47%2
2025-09-082025-10-06$346.40$453.2519.90%21
2025-08-252025-09-03$346.60$334.09-3.32%7
2025-08-122025-08-22$340.84$340.01-5.77%9
2025-07-292025-08-01$321.20$302.63-2.28%4
2025-04-282025-06-03$285.88$344.2718.92%26
2024-12-112024-12-24$424.77$462.284.64%10
2024-10-252024-11-29$269.19$345.1627.55%25
2024-09-052024-10-04$230.17$250.087.88%22
2024-06-172024-07-22$187.44$251.5130.94%24
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.050.64%20
2023-08-302023-09-25$256.90$246.99-2.17%18
2023-05-222023-06-27$188.87$250.2133.55%25
2023-04-032023-04-06$194.77$185.06-8.14%4
2023-01-272023-02-23$177.90$202.0725.09%19
2022-09-142022-09-23$302.61$275.33-1.41%8
2022-07-222022-08-12$272.24$300.032.34%16
2022-03-212022-04-11$307.05$325.315.42%16
2022-01-042022-01-12$383.20$368.74-11.46%7
2021-10-132021-11-11$270.36$354.5032.72%22
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-3.74%12
2021-01-112021-01-25$270.40$293.60-1.54%10
2020-12-182020-12-23$231.67$215.33-0.96%4
2020-11-182020-12-17$162.21$218.6315.59%21
2020-09-222020-09-23$141.41$126.79-5.79%2
2020-08-182020-09-08$125.81$110.072.21%15
2020-08-142020-08-17$110.05$122.381.63%2
2020-07-012020-07-27$74.64$102.6422.65%18
2020-06-022020-06-25$58.77$65.7312.29%18
2020-04-142020-05-14$47.33$53.5621.28%23
2019-12-172020-02-26$25.27$51.9286.23%48
2019-10-142019-11-21$17.13$23.6639.31%29
2019-09-272019-09-30$16.14$16.06-0.15%2
2019-09-122019-09-25$16.39$15.25-9.58%10
2019-07-052019-07-26$15.54$15.20-2.78%16
2019-03-012019-03-05$19.65$18.44-9.24%3
2018-12-142018-12-18$24.38$22.47-3.20%3
2018-12-062018-12-07$24.20$23.860.30%2
2018-10-242018-11-21$19.23$22.5517.90%21
2018-08-032018-08-20$23.21$20.56-12.77%12
2018-06-072018-06-26$21.07$22.804.02%14
2018-03-132018-03-15$22.79$21.71-2.33%3
2018-02-232018-03-06$23.47$21.88-3.89%8
2018-01-092018-02-05$22.25$22.210.47%19
2017-12-122017-12-27$22.74$20.78-5.17%11
2017-09-122017-09-25$24.18$23.00-4.07%10
2017-08-042017-08-22$23.79$22.76-2.64%13
2017-05-312017-06-27$22.73$24.165.42%20
2017-05-022017-05-04$21.26$19.70-3.15%3
2017-03-172017-04-21$17.43$20.378.54%25
2017-02-232017-02-24$17.07$17.13-6.60%2
2017-02-102017-02-22$17.95$18.232.84%8
2016-12-142017-02-02$13.25$16.7723.88%34
2016-08-052016-08-09$15.34$15.27-2.13%3
2016-06-082016-06-16$15.70$14.53-6.21%7
2016-04-012016-04-14$15.84$16.796.57%10
2015-12-172016-01-06$15.56$14.60-4.29%13
2015-09-222015-09-30$17.40$16.56-5.27%7
2015-08-062015-08-07$16.41$16.17-3.72%2
2015-07-212015-07-22$17.78$17.86-2.33%2
2015-06-232015-07-09$17.84$17.19-2.05%12
2015-06-182015-06-19$17.46$17.500.37%2
2015-06-092015-06-10$17.07$16.71-0.31%2
2015-04-072015-05-22$13.55$16.5220.69%34
2015-02-232015-02-25$13.82$13.58-6.18%3
2015-02-112015-02-18$14.19$13.63-5.71%5
2014-11-122014-12-01$16.61$15.44-2.07%13
2014-09-022014-09-12$18.94$18.613.73%9
2014-08-012014-08-25$15.55$17.5014.77%17
2014-06-132014-07-07$13.76$14.8412.42%16
2014-02-112014-03-11$13.11$15.633.97%20
2014-01-152014-02-06$10.94$11.897.94%16
2013-12-202014-01-10$9.55$9.714.73%14
2013-10-072013-10-08$12.20$11.650.39%2
2013-09-202013-10-04$12.23$12.07-2.78%11
2013-08-262013-09-10$10.95$11.09-0.90%11
2013-07-312013-08-15$8.95$9.315.57%12
2013-07-182013-07-19$7.94$7.98-1.21%2
2013-07-022013-07-17$7.85$8.02-0.47%11
2013-03-262013-06-04$2.52$6.32157.17%49
2013-02-202013-02-21$2.57$2.34-2.08%2
2013-01-232013-02-14$2.40$2.559.05%17
2012-12-192012-12-20$2.31$2.30-0.14%2
2012-11-022012-12-14$1.93$2.2514.68%30
2012-09-172012-09-26$2.17$1.840.14%8
2012-08-242012-08-29$1.97$1.89-7.54%4
2012-07-172012-07-23$2.22$2.04-4.92%5
2012-06-192012-07-03$2.14$2.04-5.76%11
2012-03-272012-04-05$2.53$2.30-1.87%8
2012-03-122012-03-13$2.40$2.413.45%2