Strategy Zoo / S1668

LongTermTrend_V1668

ARCHIVEDhybrid

parameterchanged ret_20d threshold 0.05 -> 0.0923

Fitness
0.7215
Generation
77
Complexity
9
Created
2026-10-16

Lineage

Parents (1)
LongTermTrend_V1249S1249 · gen 57ELITEparameter

removed entry condition: ((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)))

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1668  [hybrid]
if flat and (((close > sma_200 and sma_200_slope > -0.0024) or ret_20d > 0.085) and ret_20d > 0.0923 and cumret_252d > 0.0541):
    position = 1.0
if long and ret_20d < -0.0017:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR22.6%126.9%1.2%32.6%
Total Return409.8%1067.7%4.4%6299.5%
Sharpe0.841.900.180.99
Sortino0.822.010.150.93
Calmar0.463.760.030.66
Volatility29.2%49.8%28.2%34.2%
Max DD-49.3%-33.7%-35.5%-49.3%
Win Rate40.7%53.3%35.7%42.9%
Avg Win30.1%47.8%15.8%35.3%
Avg Loss-6.0%-5.4%-6.8%-6.1%
Payoff4.998.932.325.78
Expectancy8.7%23.0%1.3%11.6%
Profit Factor3.4310.001.294.33
Trades27151456
Avg Holding Days25.027.420.225.3
Turnover6.910.07.47.6
Exposure34.4%52.4%28.3%36.6%

Growth of $100

LongTermTrend_V1668 vs TSLA Buy & Hold
LongTermTrend_V1668 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
201617.5%1.22-9.3%1
2017-6.3%-0.13-30.9%6
2018-23.2%-1.09-27.9%4
201927.4%1.74-8.5%0
2020580.5%3.02-33.7%5
202178.5%1.78-17.6%5
2022-7.9%-0.16-24.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 testDOWNTREND279-28.5%-1.3720%
hidden testEXPENSIVE8383.9%2.0158%
hidden testEXTREME48183.9%3.2767%
hidden testHIGH VOLATILITY2546.0%0.1728%
hidden testLOW VOLATILITY44529.7%1.3031%
hidden testMEDIUM VOLATILITY251-39.3%-1.3824%
hidden testNORMAL819-13.3%-0.5623%
hidden testSIDEWAYS3004.3%0.1825%
hidden testUPTREND37131.1%0.8837%
trainDOWNTREND518-4.5%-0.615%
trainEXPENSIVE31149.4%1.2769%
trainEXTREME100403.3%5.4797%
trainHIGH VOLATILITY69953.3%1.4132%
trainLOW VOLATILITY74523.1%1.1041%
trainMEDIUM VOLATILITY568-8.9%-0.3430%
trainNORMAL1,601-3.9%-0.2024%
trainSIDEWAYS592-4.4%-0.2220%
trainUPTREND90260.2%1.5061%
validationDOWNTREND12545.2%2.0812%
validationEXPENSIVE13881.4%1.5257%
validationEXTREME144344.2%4.1392%
validationHIGH VOLATILITY25894.1%1.3949%
validationLOW VOLATILITY18355.9%2.3056%
validationMEDIUM VOLATILITY315116.9%2.7053%
validationNORMAL47422.2%0.7339%
validationSIDEWAYS206-4.5%-0.1536%
validationUPTREND425156.7%2.5372%

Trades (full period)

56 trades
EntryExitEntry PxExit PxReturnDays
2026-08-242026-09-30$348.95$354.81-2.96%27
2026-05-052026-06-08$389.37$408.95-0.58%24
2025-12-152026-01-05$475.31$451.67-4.74%14
2025-08-272025-10-23$349.60$448.9824.57%41
2025-08-132025-08-20$339.38$323.90-3.58%6
2025-05-062025-06-12$275.35$319.1116.24%27
2025-04-302025-05-02$282.16$287.21-4.14%3
2025-04-102025-04-22$252.40$237.97-16.60%8
2024-11-072025-01-13$296.91$403.3136.54%44
2024-09-302024-10-14$261.63$219.16-16.55%11
2024-05-152024-05-29$173.99$176.19-0.65%10
2024-04-302024-05-10$183.28$168.47-11.56%9
2023-11-202024-01-05$235.60$237.491.35%32
2023-06-142023-07-24$256.79$269.060.30%27
2022-07-142022-08-29$238.31$284.8221.29%33
2022-06-242022-06-29$245.71$228.49-1.22%4
2022-03-232022-04-21$333.04$336.26-1.88%21
2022-01-122022-01-24$368.74$310.00-11.49%8
2022-01-042022-01-07$383.20$342.32-11.44%4
2021-08-052021-12-01$238.21$365.0060.70%83
2021-06-182021-07-23$207.77$214.465.09%25
2021-04-192021-05-04$238.21$224.53-7.61%12
2021-04-062021-04-08$230.54$227.93-3.10%3
2020-11-192021-02-09$166.42$283.1577.07%55
2020-10-222020-10-27$141.93$141.56-0.76%4
2020-10-072020-10-14$141.77$153.777.68%6
2020-08-172020-09-24$122.38$129.2614.99%28
2020-04-142020-08-10$47.33$94.57122.74%83
2019-10-282020-03-04$21.85$49.97126.75%88
2018-11-022018-12-19$23.09$22.20-2.30%32
2018-08-032018-08-20$23.21$20.56-12.77%12
2018-03-132018-03-19$22.79$20.90-7.18%5
2018-01-292018-02-07$23.30$23.00-2.78%8
2017-12-142017-12-28$22.53$21.02-8.26%10
2017-09-192017-09-25$25.01$23.00-8.99%5
2017-08-042017-08-22$23.79$22.76-2.85%13
2017-06-022017-07-06$22.66$20.59-4.09%24
2017-03-282017-05-24$18.50$20.6812.23%41
2017-01-092017-02-28$15.42$16.677.31%35
2016-03-082016-05-03$13.51$15.4917.55%40
2015-12-172015-12-29$15.56$15.81-2.57%8
2015-04-282015-07-09$15.37$17.199.89%51
2014-11-122014-12-02$16.61$15.43-7.93%14
2014-08-072014-09-16$16.83$17.381.78%28
2014-06-092014-07-16$13.69$14.485.27%27
2014-01-162014-03-26$11.40$14.2034.05%48
2013-12-182014-01-14$9.87$10.75-8.79%18
2013-07-012013-10-22$7.81$11.4460.46%80
2013-03-272013-06-26$2.54$7.05169.93%64
2013-01-282013-02-22$2.54$2.41-5.11%19
2012-12-032012-12-31$2.31$2.26-1.97%20
2012-08-242012-09-05$1.97$1.86-8.62%8
2012-07-022012-07-20$2.03$2.122.92%14
2012-06-192012-06-27$2.14$2.13-0.92%7
2012-03-272012-04-10$2.53$2.16-11.54%10
2012-02-062012-03-23$2.12$2.2710.21%34