Strategy Zoo / S0235

LongTermTrend_V0235

ARCHIVEDhybrid

structuraladded entry filter: dist_sma_50 > -0.0774

Fitness
0.6588
Generation
11
Complexity
10
Created
2026-09-18

Lineage

Parents (1)
LongTermTrend_V0208S0208 · gen 10ARCHIVEDstructural

changed ret_20d threshold 0.05 -> 0.085

Children (11)
LongTermTrend_V0339S0339 · gen 16ARCHIVEDcrossover
LongTermTrend_V0347S0347 · gen 16ARCHIVEDstructural
LongTermTrend_V0348S0348 · gen 16ARCHIVEDstructural
LongTermTrend_V0399S0399 · gen 18ARCHIVEDstructural
LongTermTrend_V0401S0401 · gen 18ARCHIVEDparameter
LongTermTrend_V0432S0432 · gen 20ARCHIVEDcrossover
LongTermTrend_V0435S0435 · gen 20REJECTEDllm
LongTermTrend_V0441S0441 · gen 20ARCHIVEDllm
LongTermTrend_V0452S0452 · gen 21ARCHIVEDcrossover
LongTermTrend_V0481S0481 · gen 22REJECTEDllm
LongTermTrend_V0512S0512 · gen 23ARCHIVEDparameter

Strategy Logic (pseudocode)

# LongTermTrend_V0235  [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):
    position = 1.0
if long and ret_20d < -0.03:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR26.1%97.4%21.6%37.2%
Total Return535.3%669.4%106.2%10273.3%
Sharpe0.851.580.751.02
Sortino0.921.750.711.06
Calmar0.472.820.670.67
Volatility33.9%51.3%34.0%38.1%
Max DD-55.7%-34.5%-32.1%-55.7%
Win Rate39.4%53.3%58.3%46.7%
Avg Win29.1%46.2%17.8%35.8%
Avg Loss-7.0%-9.6%-6.9%-7.6%
Payoff4.154.822.564.73
Expectancy7.2%20.1%7.5%12.7%
Profit Factor2.705.513.584.14
Trades33151260
Avg Holding Days28.729.730.330.6
Turnover8.410.06.88.2
Exposure49.3%57.0%39.8%48.5%

Growth of $100

LongTermTrend_V0235 vs TSLA Buy & Hold
LongTermTrend_V0235 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
20166.0%0.38-28.1%3
20172.7%0.23-28.8%5
2018-28.2%-0.96-37.0%6
201957.3%1.58-19.6%1
2020545.8%2.93-33.7%5
202150.2%1.26-28.0%5
2022-24.0%-0.69-29.5%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 testDOWNTREND267-11.4%-0.5721%
hidden testEXPENSIVE8387.2%1.8475%
hidden testEXTREME48195.3%3.4769%
hidden testHIGH VOLATILITY25417.5%0.4237%
hidden testLOW VOLATILITY42957.0%2.1739%
hidden testMEDIUM VOLATILITY248-21.1%-0.5744%
hidden testNORMAL8008.8%0.2935%
hidden testSIDEWAYS29310.5%0.4034%
hidden testUPTREND37163.6%1.4058%
trainDOWNTREND5181.5%0.1016%
trainEXPENSIVE31158.4%1.4875%
trainEXTREME100403.3%5.4797%
trainHIGH VOLATILITY69952.2%1.1943%
trainLOW VOLATILITY74537.4%1.5159%
trainMEDIUM VOLATILITY568-11.3%-0.3745%
trainNORMAL1,601-0.3%-0.0141%
trainSIDEWAYS592-13.3%-0.4644%
trainUPTREND90272.1%1.6672%
validationDOWNTREND12536.1%1.7311%
validationEXPENSIVE13856.4%1.0263%
validationEXTREME144347.4%4.1793%
validationHIGH VOLATILITY25891.2%1.3550%
validationLOW VOLATILITY18326.5%0.9763%
validationMEDIUM VOLATILITY315104.8%2.2759%
validationNORMAL4747.6%0.2344%
validationSIDEWAYS206-32.8%-0.9346%
validationUPTREND425149.7%2.3976%

Trades (full period)

61 trades
EntryExitEntry PxExit PxReturnDays
2026-08-24—$348.95—0.04%19OPEN
2026-05-052026-06-08$389.37$408.95-0.58%24
2026-04-202026-04-24$392.50$376.30-6.90%5
2025-12-152026-01-07$475.31$431.41-5.85%16
2025-08-112025-11-14$339.03$404.3521.70%69
2025-04-302025-06-13$282.16$325.319.05%32
2024-11-072025-01-14$296.91$396.3639.51%45
2024-09-042024-10-14$219.41$219.163.22%29
2024-06-272024-08-02$197.42$207.6710.21%26
2024-04-302024-05-29$183.28$176.19-9.10%21
2023-11-172024-01-10$234.30$233.940.39%36
2023-09-122023-09-28$267.48$246.38-12.27%13
2023-05-242023-08-02$182.90$254.1140.25%48
2022-09-212022-09-26$300.80$276.01-11.00%4
2022-07-142022-08-29$238.31$284.8221.29%33
2022-06-272022-06-29$244.92$228.49-5.50%3
2022-03-222022-04-27$331.33$293.84-5.04%26
2022-01-042022-01-24$383.20$310.00-21.49%14
2021-08-042021-12-01$236.97$365.0060.97%84
2021-06-142021-07-26$205.90$219.215.28%30
2021-04-142021-05-11$244.08$205.73-17.65%20
2021-04-062021-04-12$230.54$233.99-2.23%5
2020-11-192021-02-11$166.42$270.5565.06%57
2020-10-222020-10-29$141.93$136.94-4.12%6
2020-10-072020-10-20$141.77$140.653.87%10
2020-08-142020-09-24$110.05$129.2617.09%29
2020-04-142020-08-10$47.33$94.57122.74%83
2019-09-132020-03-04$16.35$49.97202.61%119
2019-07-162019-08-12$16.83$15.27-7.48%20
2018-10-292018-12-19$22.32$22.201.65%36
2018-08-032018-08-31$23.21$20.11-13.45%21
2018-06-122018-07-06$22.85$20.59-7.09%18
2018-04-302018-05-04$19.59$19.61-3.47%5
2018-03-132018-03-19$22.79$20.90-7.18%5
2017-12-122018-02-09$22.74$20.69-4.35%41
2017-09-182017-09-29$25.67$22.74-10.76%10
2017-08-042017-09-07$23.79$23.37-0.93%24
2017-06-012017-07-06$22.69$20.59-4.27%25
2017-03-282017-05-24$18.50$20.6812.23%41
2016-12-142017-03-08$13.25$16.4625.20%57
2016-07-192016-08-23$15.02$14.99-1.66%26
2016-06-082016-06-23$15.70$13.09-15.52%12
2016-03-042016-05-04$13.40$14.8418.45%43
2015-11-302016-01-05$15.35$14.90-3.73%25
2015-09-212015-10-02$17.61$16.50-8.14%10
2015-08-062015-08-07$16.41$16.17-9.08%2
2015-04-092015-07-28$14.01$17.6521.59%77
2014-11-112014-12-02$16.74$15.43-4.44%15
2014-08-052014-09-16$15.90$17.386.22%30
2014-06-092014-07-17$13.69$14.364.11%28
2014-05-282014-06-04$14.02$13.60-3.32%6
2014-01-152014-03-26$10.94$14.2036.42%49
2013-12-132014-01-14$9.84$10.75-5.70%21
2013-07-012013-10-22$7.81$11.4460.46%80
2013-03-262013-06-26$2.52$7.05172.31%65
2013-01-242013-02-26$2.47$2.30-4.69%23
2012-11-062013-01-11$2.08$2.196.23%46
2012-09-182012-09-27$2.09$1.90-15.54%8
2012-08-242012-09-06$1.97$1.90-9.26%9
2012-06-192012-07-20$2.14$2.121.15%23
2012-02-022012-04-10$2.02$2.1611.85%47