Strategy Zoo / S1057

LongTermTrend_V1057

ARCHIVEDhybrid

structuraladded entry filter: vol_chg < 1.2824; swapped indicator macd_hist -> momentum_60

Fitness
0.4643
Generation
48
Complexity
28
Created
2026-10-02

Lineage

Parents (1)
LongTermTrend_V0886S0886 · gen 40ARCHIVEDstructural

changed cumret_252d threshold -0.1997 -> -0.4599

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1057  [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 vol_chg < 1.2824):
    position = 1.0
if long and momentum_60 < -0.1266:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR19.2%76.5%2.0%24.4%
Total Return307.6%449.4%7.8%2386.0%
Sharpe0.631.220.270.69
Sortino0.771.500.360.86
Calmar0.331.260.040.40
Volatility42.2%63.0%45.8%48.1%
Max DD-58.3%-60.6%-47.4%-60.6%
Win Rate35.3%43.8%36.0%37.0%
Avg Win26.7%86.5%13.5%52.2%
Avg Loss-5.0%-6.6%-5.9%-5.5%
Payoff5.3110.002.279.46
Expectancy6.2%34.1%1.0%15.8%
Profit Factor2.9010.001.275.54
Trades51162592
Avg Holding Days27.535.428.230.4
Turnover12.910.713.412.5
Exposure73.2%72.8%72.4%72.9%

Growth of $100

LongTermTrend_V1057 vs TSLA Buy & Hold
LongTermTrend_V1057 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-23.9%-0.86-34.9%5
201730.3%0.95-26.6%1
2018-26.1%-0.45-42.4%6
201973.2%1.56-21.8%9
2020712.5%2.80-60.6%0
202110.2%0.44-44.3%8
2022-48.4%-1.45-48.3%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 testDOWNTREND276-12.6%-0.4628%
hidden testEXPENSIVE8366.4%1.1496%
hidden testEXTREME48185.0%2.93100%
hidden testHIGH VOLATILITY25423.4%0.4266%
hidden testLOW VOLATILITY43638.2%1.1368%
hidden testMEDIUM VOLATILITY250-43.3%-0.8387%
hidden testNORMAL809-3.2%-0.0868%
hidden testSIDEWAYS293-54.8%-1.1983%
hidden testUPTREND37184.4%1.5398%
trainDOWNTREND518-26.5%-0.9829%
trainEXPENSIVE31161.9%1.3294%
trainEXTREME100416.1%5.63100%
trainHIGH VOLATILITY69928.8%0.5465%
trainLOW VOLATILITY74547.3%1.6475%
trainMEDIUM VOLATILITY568-3.7%-0.0981%
trainNORMAL1,601-4.7%-0.1267%
trainSIDEWAYS592-19.0%-0.4971%
trainUPTREND90286.7%1.72100%
validationDOWNTREND125-1.8%-0.0713%
validationEXPENSIVE13890.1%1.1998%
validationEXTREME144384.0%4.30100%
validationHIGH VOLATILITY258108.3%1.2767%
validationLOW VOLATILITY18346.9%1.4680%
validationMEDIUM VOLATILITY31568.1%1.2573%
validationNORMAL474-20.6%-0.4557%
validationSIDEWAYS206-65.6%-1.4056%
validationUPTREND425168.7%2.2399%

Trades (full period)

92 trades
EntryExitEntry PxExit PxReturnDays
2026-09-042026-09-30$354.08$354.81-6.45%18
2026-09-012026-09-03$356.09$376.37-3.17%3
2026-08-282026-08-31$348.75$367.95-1.91%2
2026-08-262026-08-27$345.82$354.81-1.46%2
2026-08-242026-08-25$348.95$350.25-4.03%2
2026-05-042026-07-24$392.51$313.03-18.36%57
2026-04-162026-04-22$388.90$387.51-1.61%5
2025-05-122026-03-13$318.38$391.2032.18%211
2025-05-082025-05-09$284.82$298.262.91%2
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
2024-10-292025-02-27$259.52$281.9510.55%82
2024-06-172024-10-16$187.44$221.3323.11%85
2024-05-282024-05-29$176.75$176.19-1.59%2
2024-05-152024-05-24$173.99$179.24-2.34%8
2024-04-302024-05-14$183.28$177.55-11.60%11
2023-12-072024-01-16$242.64$219.91-8.74%26
2023-11-162023-12-06$233.59$239.37-1.90%14
2023-10-062023-10-20$260.53$211.99-15.53%11
2023-05-192023-09-28$180.14$246.3835.69%91
2023-02-022023-05-02$188.27$160.31-10.97%62
2023-01-312023-02-01$173.22$181.413.73%2
2023-01-272023-01-30$177.90$166.6610.79%2
2022-07-252022-10-17$268.43$219.35-24.86%60
2022-07-212022-07-22$271.71$272.249.57%2
2022-07-192022-07-20$245.53$247.501.87%2
2022-07-142022-07-15$238.31$240.070.34%2
2022-07-112022-07-12$234.34$233.07-6.74%2
2022-06-272022-06-28$244.92$232.66-0.52%2
2022-03-212022-05-10$307.05$266.68-13.24%36
2021-08-022022-01-26$236.56$312.4733.38%124
2021-07-122021-07-19$228.57$215.41-2.13%6
2021-06-142021-07-09$205.90$218.986.82%19
2021-04-262021-04-29$246.07$225.67-4.99%4
2021-04-222021-04-23$239.90$243.13-3.48%2
2021-04-202021-04-21$239.66$248.040.41%2
2021-04-142021-04-19$244.08$238.21-3.15%4
2021-04-062021-04-07$230.54$223.66-0.12%2
2019-07-102021-03-09$15.93$224.531121.19%420
2019-07-082019-07-09$15.36$15.34-1.38%2
2019-07-032019-07-05$15.66$15.544.40%2
2019-07-012019-07-02$15.14$14.971.46%2
2019-06-272019-06-28$14.86$14.901.43%2
2019-06-252019-06-26$14.65$14.62-1.93%2
2019-06-212019-06-24$14.79$14.910.82%2
2019-06-192019-06-20$15.10$14.640.55%2
2019-03-012019-03-04$19.65$19.02-8.04%2
2018-10-242019-02-11$19.23$20.863.75%74
2018-06-042018-09-06$19.78$18.73-3.99%67
2018-05-312018-06-01$18.98$19.45-2.59%2
2018-05-102018-05-16$20.33$19.10-7.57%5
2018-05-022018-05-04$20.08$19.61-5.35%3
2018-04-302018-05-01$19.59$19.99-0.26%2
2017-12-122018-03-29$22.74$17.74-21.78%74
2016-12-142017-11-03$13.25$20.4150.73%225
2016-07-252016-09-02$15.33$13.19-9.85%30
2016-07-122016-07-22$14.98$14.82-2.10%9
2016-03-082016-06-23$13.51$13.09-4.40%76
2016-03-042016-03-07$13.40$13.692.51%2
2015-12-172016-02-03$15.56$11.57-22.21%32
2015-11-272015-12-11$15.44$14.47-1.32%11
2015-09-162015-10-08$17.48$15.11-8.70%17
2015-04-072015-08-25$13.55$14.677.55%99
2015-02-232015-02-24$13.82$13.61-4.70%2
2015-02-112015-02-12$14.19$13.53-1.81%2
2015-02-042015-02-10$14.57$14.42-0.60%5
2014-11-282014-12-01$16.30$15.44-1.78%2
2014-06-162014-11-26$14.97$16.5619.96%116
2014-06-102014-06-13$13.49$13.76-1.07%4
2014-06-062014-06-09$13.88$13.690.41%2
2014-05-302014-06-02$13.85$13.65-1.37%2
2014-05-282014-05-29$14.02$14.02-0.82%2
2014-01-172014-05-22$11.33$13.6616.42%87
2014-01-092014-01-10$9.84$9.71-2.68%2
2014-01-072014-01-08$9.96$10.091.40%2
2014-01-032014-01-06$9.97$9.80-0.56%2
2013-12-302014-01-02$10.16$10.01-0.65%3
2013-12-262013-12-27$10.37$10.072.50%2
2013-12-232013-12-24$9.57$10.090.02%2
2013-12-192013-12-20$9.38$9.55-5.10%2
2013-12-172013-12-18$10.16$9.872.85%2
2013-12-132013-12-16$9.84$9.86-0.08%2
2012-11-022013-11-18$1.93$8.11362.15%263
2012-08-142012-10-09$1.96$1.89-6.35%40
2012-07-022012-07-27$2.03$1.97-10.28%19
2012-06-282012-06-29$2.09$2.09-1.92%2
2012-06-262012-06-27$2.11$2.13-4.73%2
2012-06-192012-06-22$2.14$2.250.90%4
2012-01-312012-05-16$1.94$1.95-0.67%75
2012-01-042012-01-17$1.85$1.77-19.00%9