Strategy Zoo / S1627

PriceMomentum_V1627

ARCHIVEDhybrid

llmAdd regime gates to avoid downtrend/high-volatility/extreme-bubble; require lower vol (vol_pctile<0.85) or breakout confirmation for entries; tighten momentum/trend requirement (sma_50_slope>0) on breakout entries; expand exit to include trend deterioration (sma_50_slope<0) and widen the 20d stop to -6% for robustness; reduce base_position to 0.8 and scale down exposure in high volatility (0.35) while allowing near-full in medium vol (0.9). These structural changes aim to reduce overfitting and improve robustness.

Fitness
0.2720
Generation
75
Complexity
20
Created
2026-10-15

Lineage

Parents (1)
PriceMomentum_V1608S1608 · gen 74ELITEllm

changed ret_20d threshold 0.05 -> 0.1231

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V1627  [hybrid]
require regime.trend in ['UPTREND', 'SIDEWAYS']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL', 'EXPENSIVE']
if flat and ((ret_20d > 0.12 and vol_pctile < 0.85 and (close > sma_200 or sma_200_slope > 0.0) and cumret_252d > -0.05) or (breakout_20 == 1 and ret_1d > -0.02 and sma_50_slope > 0.0)):
    position = 0.8
if long and (ret_20d < -0.06 or sma_50_slope < 0.0):
    position = 0.0  # exit to cash
if regime.volatility == "MEDIUM_VOLATILITY": position *= 0.9
if regime.volatility == "HIGH_VOLATILITY": position *= 0.35

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR3.9%16.0%-0.8%5.2%
Total Return36.0%56.3%-2.9%111.3%
Sharpe0.320.830.060.37
Sortino0.230.690.040.27
Calmar0.120.42-0.030.12
Volatility16.3%20.6%19.4%18.1%
Max DD-31.8%-38.3%-30.9%-44.5%
Win Rate54.1%36.4%42.9%46.3%
Avg Win4.7%14.6%8.0%8.2%
Avg Loss-4.2%-4.0%-5.3%-4.4%
Payoff1.143.651.521.86
Expectancy0.7%2.8%0.4%1.4%
Profit Factor1.342.081.141.60
Trades37222180
Avg Holding Days13.810.711.012.5
Turnover7.411.09.18.5
Exposure19.2%21.3%17.6%19.2%

Growth of $100

PriceMomentum_V1627 vs TSLA Buy & Hold
PriceMomentum_V1627 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-11.7%-1.10-14.8%5
201726.2%1.49-10.5%8
2018-15.3%-1.44-16.6%2
201918.6%0.87-15.0%3
202056.5%2.41-9.1%4
202132.7%1.27-19.8%11
2022-26.8%-1.80-28.8%7

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 testDOWNTREND2780.0%0.000%
hidden testEXPENSIVE8355.4%1.8343%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-18.1%-1.132%
hidden testLOW VOLATILITY44524.3%1.4024%
hidden testMEDIUM VOLATILITY250-20.7%-0.8323%
hidden testNORMAL818-4.3%-0.2316%
hidden testSIDEWAYS300-27.4%-1.5418%
hidden testUPTREND37125.0%0.9431%
trainDOWNTREND5180.1%0.030%
trainEXPENSIVE31139.5%1.7731%
trainEXTREME1008.4%1.551%
trainHIGH VOLATILITY6992.3%0.161%
trainLOW VOLATILITY74526.4%1.5237%
trainMEDIUM VOLATILITY568-19.1%-1.0919%
trainNORMAL1,601-1.7%-0.1118%
trainSIDEWAYS592-9.0%-0.729%
trainUPTREND90217.4%0.7937%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13877.8%2.7242%
validationEXTREME14434.1%2.612%
validationHIGH VOLATILITY258-8.5%-1.000%
validationLOW VOLATILITY1830.6%0.0341%
validationMEDIUM VOLATILITY31547.4%1.7327%
validationNORMAL474-5.9%-0.3021%
validationSIDEWAYS206-37.1%-2.3612%
validationUPTREND42548.2%1.9332%

Trades (full period)

81 trades
EntryExitEntry PxExit PxReturnDays
2026-10-07—$377.81—-2.92%6OPEN
2026-07-022026-07-06$393.45$419.77-5.53%2
2026-05-142026-06-10$443.30$381.59-8.96%19
2026-05-122026-05-13$433.45$445.27-2.23%2
2026-05-082026-05-11$428.35$445.003.05%2
2025-12-082026-01-13$439.58$447.20-1.11%25
2025-08-262025-11-14$351.67$404.3512.83%58
2025-05-192025-06-06$342.09$295.14-13.46%14
2025-05-122025-05-13$318.38$334.074.71%2
2024-10-022024-10-18$249.02$220.70-11.60%13
2024-09-302024-10-01$261.63$258.020.18%2
2024-09-262024-09-27$254.22$260.46-0.93%2
2024-09-242024-09-25$254.27$257.021.08%2
2024-09-162024-09-20$226.78$238.254.13%5
2024-09-062024-09-09$210.73$216.27-6.22%2
2024-06-182024-07-12$184.86$248.2322.01%17
2023-12-112023-12-12$239.74$237.01-1.50%2
2023-12-012023-12-04$238.83$235.58-0.58%2
2023-11-292023-11-30$244.14$240.08-1.00%2
2023-11-272023-11-28$236.08$246.720.05%2
2023-05-312023-08-02$203.93$254.1123.87%44
2023-04-032023-04-20$194.77$162.99-10.09%13
2022-09-202022-09-26$308.73$276.01-8.95%5
2022-08-022022-08-31$300.59$275.61-5.46%22
2022-04-042022-04-27$381.82$293.84-14.04%17
2022-03-312022-04-01$359.20$361.53-1.22%2
2022-03-292022-03-30$366.52$364.660.37%2
2022-03-252022-03-28$336.88$363.95-0.38%2
2022-03-232022-03-24$333.04$337.970.23%2
2021-11-232021-12-02$369.68$361.53-3.95%7
2021-08-022021-11-10$236.56$355.9838.12%72
2021-07-132021-07-14$222.85$217.79-2.16%2
2021-07-062021-07-07$219.86$214.88-2.43%2
2021-07-012021-07-02$225.97$226.30-0.37%2
2021-04-282021-04-29$231.47$225.67-1.20%2
2021-04-262021-04-27$246.07$234.910.72%2
2021-04-222021-04-23$239.90$243.13-2.51%2
2021-04-192021-04-20$238.21$239.66-2.59%2
2021-01-122021-02-19$283.15$260.43-2.69%27
2020-12-102021-01-11$209.02$270.4031.28%21
2020-11-192020-12-08$166.42$216.6322.11%13
2020-10-152020-10-30$149.63$129.35-8.29%12
2020-06-252020-06-30$65.73$71.993.50%4
2019-11-222020-01-22$22.20$37.9741.16%40
2019-10-162019-10-25$17.32$21.8812.91%8
2019-09-112019-09-27$16.47$16.141.31%13
2019-07-222019-07-26$17.05$15.20-9.19%5
2018-12-042018-12-21$23.98$21.32-8.68%13
2018-01-182018-02-09$22.97$20.69-7.18%17
2017-09-182017-10-16$25.67$23.37-4.81%21
2017-08-152017-08-18$24.16$23.16-2.49%4
2017-08-042017-08-07$23.79$23.681.89%2
2017-06-052017-06-14$23.15$25.387.37%8
2017-04-242017-05-10$20.54$21.682.95%13
2017-04-202017-04-21$20.17$20.37-0.85%2
2017-03-272017-04-04$18.01$20.259.63%7
2016-12-282017-02-28$14.65$16.679.94%42
2016-07-262016-08-29$15.30$14.35-3.63%25
2016-03-292016-05-04$15.34$14.840.44%27
2016-03-232016-03-24$14.84$15.18-4.14%2
2016-03-212016-03-22$15.89$15.621.58%2
2015-12-312016-01-11$16.00$13.86-8.89%7
2015-09-242015-09-25$17.54$17.130.42%2
2015-09-222015-09-23$17.40$17.40-1.03%2
2015-04-282015-08-04$15.37$17.7510.50%69
2014-11-172014-11-18$16.93$17.18-1.45%2
2014-08-042014-09-26$15.90$16.445.15%39
2014-06-232014-07-17$15.81$14.36-4.44%18
2014-06-192014-06-20$15.19$15.310.08%2
2014-06-172014-06-18$15.44$15.142.35%2
2014-06-092014-06-10$13.69$13.49-1.26%2
2014-03-202014-03-26$15.66$14.20-4.86%5
2014-02-132014-02-26$13.31$16.8718.68%9
2013-09-112013-10-24$10.90$11.54-0.89%32
2013-01-242013-02-26$2.47$2.30-3.43%23
2012-11-142013-01-14$2.09$2.223.22%41
2012-07-162012-07-17$2.40$2.223.45%2
2012-06-192012-06-20$2.14$2.250.42%2
2012-02-222012-04-11$2.28$2.21-3.48%35
2012-02-172012-02-21$2.33$2.301.69%2
2012-02-152012-02-16$2.24$2.280.88%2