Strategy Zoo / S0934

LongTermTrend_V0934

ARCHIVEDhybrid

structuraladded entry filter: dist_sma_200 < 0.0761

Fitness
0.2790
Generation
42
Complexity
28
Created
2026-09-30

Lineage

Parents (1)
LongTermTrend_V0886S0886 · gen 40ARCHIVEDstructural

changed cumret_252d threshold -0.1997 -> -0.4599

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0934  [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 dist_sma_200 < 0.0761):
    position = 1.0
if long and macd_hist < 0.0:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR7.3%6.9%30.1%12.6%
Total Return74.9%22.2%166.3%469.2%
Sharpe0.450.481.100.66
Sortino0.300.300.980.47
Calmar0.270.381.360.46
Volatility19.7%16.9%27.3%21.4%
Max DD-27.2%-18.4%-22.2%-27.2%
Win Rate44.1%46.2%42.9%44.1%
Avg Win12.0%6.3%18.5%12.8%
Avg Loss-5.4%-2.2%-4.0%-4.4%
Payoff2.222.904.592.92
Expectancy2.3%1.7%5.6%3.2%
Profit Factor1.752.483.452.31
Trades34132168
Avg Holding Days13.19.214.012.7
Turnover8.58.711.39.2
Exposure20.5%14.2%29.1%21.4%

Growth of $100

LongTermTrend_V0934 vs TSLA Buy & Hold
LongTermTrend_V0934 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
201626.5%1.47-12.2%5
201710.4%1.10-7.7%2
20186.6%0.37-22.4%9
201916.4%0.65-22.7%6
20200.0%0.000.0%0
2021-0.1%0.06-11.5%7
202222.5%0.90-18.4%6

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 testDOWNTREND27418.0%0.7030%
hidden testEXPENSIVE8375.4%2.6929%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY25423.7%0.7228%
hidden testLOW VOLATILITY43455.4%2.4230%
hidden testMEDIUM VOLATILITY250-7.7%-0.2829%
hidden testNORMAL80727.1%0.9731%
hidden testSIDEWAYS2937.2%0.2537%
hidden testUPTREND37157.0%2.0922%
trainDOWNTREND518-6.8%-0.3522%
trainEXPENSIVE3111.2%0.571%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY69914.1%0.5917%
trainLOW VOLATILITY74519.1%1.3123%
trainMEDIUM VOLATILITY568-10.8%-0.5420%
trainNORMAL1,60111.0%0.5026%
trainSIDEWAYS59210.6%0.4132%
trainUPTREND90216.9%1.1312%
validationDOWNTREND12541.2%1.6419%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-14.5%-1.683%
validationLOW VOLATILITY183-9.2%-0.5131%
validationMEDIUM VOLATILITY31536.6%1.7614%
validationNORMAL47412.9%0.6123%
validationSIDEWAYS20615.0%0.7321%
validationUPTREND425-5.0%-0.489%

Trades (full period)

68 trades
EntryExitEntry PxExit PxReturnDays
2026-09-182026-09-29$364.27$352.84-2.58%8
2026-08-242026-09-17$348.95$366.20-1.52%18
2026-07-012026-07-15$425.30$394.46-5.99%10
2026-05-272026-06-02$440.36$423.74-4.27%5
2026-05-222026-05-26$426.01$433.591.75%2
2026-04-162026-05-21$388.90$417.856.24%26
2025-09-052025-10-06$350.84$453.2526.72%22
2025-08-252025-09-03$346.60$334.09-3.32%7
2025-08-082025-08-22$329.65$340.01-0.87%11
2025-07-212025-08-01$328.49$302.63-6.67%10
2025-04-282025-06-03$285.88$344.2720.02%26
2024-09-042024-10-04$219.41$250.0814.05%23
2024-06-172024-07-22$187.44$251.5134.11%24
2024-04-302024-05-30$183.28$178.79-9.39%22
2023-11-172023-12-14$234.30$251.052.24%19
2023-05-192023-06-27$180.14$250.2136.00%26
2023-03-242023-04-06$190.41$185.06-3.68%10
2023-03-022023-03-03$190.90$197.79-6.05%2
2023-02-282023-03-01$205.71$202.77-1.12%2
2023-02-242023-02-27$196.88$207.63-2.77%2
2023-01-272023-02-23$177.90$202.0725.09%19
2022-09-132022-09-23$292.13$275.33-5.39%9
2022-08-242022-08-25$297.10$296.070.02%2
2022-08-222022-08-23$289.91$296.45-2.47%2
2022-08-152022-08-19$309.32$296.670.75%5
2022-06-272022-08-12$244.92$300.0316.42%34
2022-03-212022-04-11$307.05$325.3113.04%16
2021-09-032021-09-21$244.52$246.46-0.50%12
2021-08-262021-08-27$233.72$237.31-1.61%2
2021-08-242021-08-25$236.16$237.070.11%2
2021-08-192021-08-20$224.49$226.75-2.45%2
2021-08-022021-08-17$236.56$221.90-0.35%12
2021-07-142021-07-15$217.79$216.87-2.47%2
2021-06-142021-07-12$205.90$228.577.50%20
2019-10-112019-11-21$16.53$23.6643.63%30
2019-10-022019-10-04$16.21$15.43-4.96%3
2019-09-272019-09-30$16.14$16.06-0.38%2
2019-09-112019-09-25$16.47$15.25-5.42%11
2019-06-192019-07-26$15.10$15.201.61%27
2019-03-012019-03-05$19.65$18.44-10.98%3
2018-10-242018-11-21$19.23$22.5517.90%21
2018-08-162018-08-20$22.36$20.56-9.98%3
2018-07-022018-07-03$22.34$20.72-2.50%2
2018-06-272018-06-28$22.97$23.330.53%2
2018-05-312018-06-26$18.98$22.8013.92%19
2018-04-302018-05-17$19.59$18.97-2.78%14
2018-03-132018-03-15$22.79$21.71-5.65%3
2018-02-232018-03-06$23.47$21.88-3.89%8
2018-01-092018-02-05$22.25$22.211.98%19
2017-12-122017-12-27$22.74$20.78-3.72%11
2016-12-142017-02-02$13.25$16.7725.53%34
2016-07-122016-08-09$14.98$15.270.41%21
2016-06-082016-06-16$15.70$14.53-6.49%7
2016-04-042016-04-14$16.47$16.796.92%9
2016-03-042016-04-01$13.40$15.8417.15%20
2015-12-172016-01-06$15.56$14.60-4.92%13
2015-11-272015-12-14$15.44$14.57-5.68%12
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-042015-02-18$14.57$13.63-6.60%10
2014-11-112014-12-01$16.74$15.440.87%14
2012-11-022012-12-14$1.93$2.2514.68%30
2012-09-172012-09-26$2.17$1.84-9.16%8
2012-08-142012-08-29$1.96$1.89-8.15%12
2012-07-122012-07-23$2.18$2.040.69%8
2012-07-062012-07-09$2.07$2.10-0.97%2
2012-06-192012-07-03$2.14$2.04-4.71%11
2012-01-312012-02-29$1.94$2.2314.11%21