Strategy Zoo / S0724

LongTermTrend_V0724

ARCHIVEDhybrid

structuralreplaced exit rule with: vol_pctile > 0.9179

Fitness
0.4344
Generation
33
Complexity
23
Created
2026-09-25

Lineage

Parents (1)
LongTermTrend_V0521S0521 · gen 24ARCHIVEDstructural

entry = LongTermTrend_V0469 OR MACDMomentum_V0272

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0724  [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.0541) 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)))):
    position = 1.0
if long and vol_pctile > 0.9179:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR21.7%51.2%14.3%24.4%
Total Return380.6%245.9%64.1%2361.9%
Sharpe0.650.960.520.68
Sortino0.901.410.750.95
Calmar0.310.700.250.32
Volatility46.2%64.6%51.7%51.9%
Max DD-70.1%-73.4%-56.2%-76.3%
Win Rate49.1%55.6%56.0%51.5%
Avg Win10.8%24.5%6.1%13.4%
Avg Loss-4.1%-5.0%-5.2%-4.9%
Payoff2.644.921.172.76
Expectancy3.2%11.4%1.1%4.6%
Profit Factor2.556.141.492.93
Trades55182599
Avg Holding Days29.98.721.131.4
Turnover13.912.313.713.5
Exposure89.5%92.7%90.8%90.5%

Growth of $100

LongTermTrend_V0724 vs TSLA Buy & Hold
LongTermTrend_V0724 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-19.7%-0.41-35.8%2
201743.6%1.20-22.3%0
2018-27.6%-0.69-41.7%22
201923.9%0.69-51.4%3
2020555.6%3.04-33.8%18
202144.7%0.94-36.2%0
2022-69.4%-1.48-72.7%0

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 testDOWNTREND27115.9%0.3279%
hidden testEXPENSIVE8382.2%1.3293%
hidden testEXTREME48191.2%3.2094%
hidden testHIGH VOLATILITY25461.4%0.9966%
hidden testLOW VOLATILITY43135.7%0.85100%
hidden testMEDIUM VOLATILITY250-24.2%-0.44100%
hidden testNORMAL80411.1%0.2290%
hidden testSIDEWAYS293-37.6%-0.75100%
hidden testUPTREND37185.3%1.5892%
trainDOWNTREND518-41.6%-0.9985%
trainEXPENSIVE31192.7%1.8097%
trainEXTREME100354.5%5.2383%
trainHIGH VOLATILITY69947.5%0.8272%
trainLOW VOLATILITY74544.9%1.3599%
trainMEDIUM VOLATILITY568-10.1%-0.2399%
trainNORMAL1,601-2.1%-0.0588%
trainSIDEWAYS59230.3%0.6586%
trainUPTREND90271.5%1.4894%
validationDOWNTREND125-107.7%-1.57100%
validationEXPENSIVE13869.9%1.2279%
validationEXTREME144326.8%4.1585%
validationHIGH VOLATILITY25888.8%1.0979%
validationLOW VOLATILITY18355.7%1.5499%
validationMEDIUM VOLATILITY31544.1%0.71100%
validationNORMAL474-20.5%-0.3499%
validationSIDEWAYS206-25.4%-0.4597%
validationUPTREND425154.6%2.3389%

Trades (full period)

100 trades
EntryExitEntry PxExit PxReturnDays
2025-05-08—$284.82—37.48%347OPEN
2025-05-062025-05-07$275.35$276.22-1.95%2
2025-05-022025-05-05$287.21$280.262.18%2
2025-04-302025-05-01$282.16$280.52-3.58%2
2025-04-282025-04-29$285.88$292.030.13%2
2025-04-162025-04-17$241.55$241.37-5.14%2
2025-04-102025-04-11$252.40$252.31-7.47%2
2024-11-212025-03-13$339.64$240.68-27.61%75
2024-11-192024-11-20$346.00$342.031.94%2
2024-11-152024-11-18$320.72$338.742.86%2
2024-11-132024-11-14$330.24$311.180.33%2
2024-11-112024-11-12$350.00$328.498.75%2
2024-11-072024-11-08$296.91$321.222.70%2
2024-11-052024-11-06$251.44$288.533.34%2
2024-11-012024-11-04$248.98$242.84-0.55%2
2024-10-302024-10-31$257.55$249.85-0.96%2
2024-10-282024-10-29$262.51$259.52-2.68%2
2024-08-202024-10-25$221.10$269.1916.72%48
2024-05-142024-07-25$177.55$220.2525.41%50
2024-05-092024-05-10$171.97$168.47-1.77%2
2024-05-072024-05-08$177.81$174.72-3.96%2
2024-05-032024-05-06$181.19$184.760.46%2
2024-05-012024-05-02$179.99$180.01-1.99%2
2023-02-022024-04-30$188.27$183.286.76%312
2023-01-312023-02-01$173.22$181.413.73%2
2023-01-272023-01-30$177.90$166.6610.79%2
2020-10-072023-01-04$141.77$113.64-21.82%565
2020-09-222020-09-23$141.41$126.79-5.79%2
2020-09-182020-09-21$147.38$149.804.22%2
2020-09-162020-09-17$147.25$141.14-1.98%2
2020-09-142020-09-15$139.87$149.9212.37%2
2020-09-102020-09-11$123.78$124.241.18%2
2020-04-162020-09-09$49.68$122.09125.78%102
2020-04-142020-04-15$47.33$48.668.85%2
2020-03-032020-03-04$49.70$49.970.05%2
2020-02-282020-03-02$44.53$49.57-1.82%2
2020-02-262020-02-27$51.92$45.27-2.84%2
2020-02-242020-02-25$55.59$53.33-7.65%2
2020-02-202020-02-21$59.96$60.07-2.16%2
2020-02-182020-02-19$57.23$61.167.09%2
2020-02-132020-02-14$53.60$53.344.58%2
2020-02-112020-02-12$51.63$51.150.20%2
2020-02-072020-02-10$49.87$51.42-0.32%2
2020-02-052020-02-06$48.98$49.93-17.36%2
2019-03-012020-02-04$19.65$59.14143.33%235
2019-01-162019-01-22$23.07$19.93-12.42%4
2019-01-112019-01-14$23.15$22.290.46%2
2018-11-052019-01-08$22.76$22.36-3.50%43
2018-11-012018-11-02$22.95$23.091.86%2
2018-10-302018-10-31$21.99$22.49-1.68%2
2018-10-262018-10-29$22.06$22.324.89%2
2018-10-242018-10-25$19.23$20.99-2.12%2
2018-08-172018-08-20$20.37$20.56-9.12%2
2018-08-152018-08-16$22.58$22.36-2.77%2
2018-08-132018-08-14$23.76$23.180.06%2
2018-08-092018-08-10$23.50$23.70-5.03%2
2018-08-072018-08-08$25.30$24.6910.78%2
2018-08-032018-08-06$23.21$22.80-0.59%2
2018-06-252018-06-26$22.20$22.80-0.39%2
2018-06-212018-06-22$23.17$22.24-4.26%2
2018-06-182018-06-20$24.72$24.15-1.76%3
2018-06-142018-06-15$23.85$23.883.55%2
2018-06-122018-06-13$22.85$22.993.01%2
2018-06-082018-06-11$21.18$22.140.30%2
2018-05-102018-06-07$20.33$21.073.91%20
2018-03-132018-03-29$22.79$17.74-25.54%13
2018-03-052018-03-06$22.22$21.88-0.73%2
2018-03-012018-03-02$22.06$22.34-3.73%2
2018-02-262018-02-28$23.83$22.87-0.50%3
2016-03-082018-02-23$13.51$23.4768.29%496
2016-03-042016-03-07$13.40$13.692.51%2
2013-12-132016-02-18$9.84$11.1214.15%548
2013-08-142013-12-04$9.29$9.26-0.71%79
2013-08-122013-08-13$9.83$9.70-3.87%2
2013-06-132013-08-09$6.55$10.2056.73%41
2013-06-112013-06-12$6.30$6.52-5.77%2
2013-06-072013-06-10$6.80$6.674.61%2
2013-06-052013-06-06$6.36$6.490.36%2
2013-06-032013-06-04$6.17$6.32-5.48%2
2013-05-302013-05-31$7.00$6.520.11%2
2013-05-282013-05-29$7.36$6.9813.44%2
2013-05-232013-05-24$6.18$6.476.09%2
2013-05-212013-05-22$5.84$5.82-2.81%2
2013-05-172013-05-20$6.10$6.00-1.01%2
2013-05-152013-05-16$5.66$6.151.72%2
2013-05-132013-05-14$5.85$5.5514.17%2
2013-04-302013-05-10$3.60$5.1226.06%9
2013-04-262013-04-29$3.41$3.66-1.74%2
2013-04-242013-04-25$3.36$3.47-1.34%2
2013-04-152013-04-23$2.89$3.4014.49%7
2013-04-112013-04-12$2.91$2.923.93%2
2013-04-092013-04-10$2.70$2.79-3.38%2
2013-04-052013-04-08$2.76$2.79-1.72%2
2012-02-142013-04-04$2.21$2.8030.26%285
2012-02-102012-02-13$2.07$2.10-4.74%2
2012-02-082012-02-09$2.13$2.170.84%2
2012-02-062012-02-07$2.12$2.111.88%2
2012-02-022012-02-03$2.02$2.082.06%2
2012-01-312012-02-01$1.94$1.97-1.89%2
2012-01-042012-01-18$1.85$1.79-5.46%10