Strategy Zoo / S1542

PriceMomentum_V1542

ARCHIVEDhybrid

llmAdded regime gates to avoid entries in downtrends, high volatility, and extreme bubble conditions; added a 200-SMA distance gate to avoid buying when price is far below long-term average; expanded exit to include SMA-50 breakdown and a 1-day stop-loss to cut sudden drops; reduced base position size to 0.7 to lower risk exposure.

Fitness
0.3678
Generation
71
Complexity
38
Created
2026-10-14

Lineage

Parents (1)
PriceMomentum_V1339S1339 · gen 61ARCHIVEDllm

changed dist_sma_50 threshold -0.0774 -> -0.2357

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V1542  [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.184 and breakout_20 == 1) or (((((close > sma_200 and sma_200_slope > -0.0024) or ret_20d > 0.085) and cumret_252d > 1.1509 and cumret_252d > -0.1997 and dist_sma_50 > -0.2357) 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 dist_sma_200 > -0.3):
    position = 0.7
if long and (macd_hist < 0.0 or close < sma_50 or ret_1d < -0.08):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR3.9%24.2%1.2%7.2%
Total Return36.2%91.6%4.5%178.5%
Sharpe0.351.280.150.53
Sortino0.251.170.110.40
Calmar0.141.440.050.25
Volatility14.0%18.3%15.1%15.3%
Max DD-28.4%-16.8%-25.9%-28.4%
Win Rate38.9%51.2%28.6%40.4%
Avg Win4.7%5.4%8.1%5.7%
Avg Loss-2.3%-2.0%-2.7%-2.4%
Payoff1.992.712.992.43
Expectancy0.4%1.8%0.4%0.9%
Profit Factor1.262.841.191.65
Trades724128141
Avg Holding Days6.35.67.66.5
Turnover12.719.110.613.4
Exposure13.8%17.4%14.0%14.6%

Growth of $100

PriceMomentum_V1542 vs TSLA Buy & Hold
PriceMomentum_V1542 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
20160.7%0.12-5.0%5
201715.9%1.19-9.0%14
2018-4.8%-0.68-8.5%3
20193.9%0.29-17.3%4
202062.6%2.67-7.4%11
202116.9%0.83-16.7%24
20220.8%0.12-14.6%4

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-2.4%-1.371%
hidden testEXPENSIVE8331.1%1.5619%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-7.6%-0.631%
hidden testLOW VOLATILITY44318.2%1.1621%
hidden testMEDIUM VOLATILITY251-15.6%-0.9315%
hidden testNORMAL817-0.5%-0.0314%
hidden testSIDEWAYS298-23.1%-1.3923%
hidden testUPTREND37126.4%1.4017%
trainDOWNTREND518-5.6%-1.211%
trainEXPENSIVE31134.5%1.9321%
trainEXTREME1008.1%1.551%
trainHIGH VOLATILITY6998.8%0.641%
trainLOW VOLATILITY74514.5%1.1025%
trainMEDIUM VOLATILITY568-12.7%-0.8315%
trainNORMAL1,601-1.1%-0.0813%
trainSIDEWAYS592-7.5%-0.5317%
trainUPTREND90218.9%1.1119%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13884.2%3.3329%
validationEXTREME14437.2%2.862%
validationHIGH VOLATILITY258-8.3%-1.000%
validationLOW VOLATILITY1830.3%0.0230%
validationMEDIUM VOLATILITY31562.6%2.5324%
validationNORMAL4741.4%0.0818%
validationSIDEWAYS206-3.8%-0.2418%
validationUPTREND42543.3%2.0022%

Trades (full period)

latest 100 of 142
EntryExitEntry PxExit PxReturnDays
2026-10-07—$377.81—-0.55%5OPEN
2026-07-012026-07-06$425.30$419.77-4.63%3
2026-05-282026-06-02$442.10$423.74-4.03%4
2026-05-082026-05-21$428.35$417.850.88%10
2026-04-202026-04-21$392.50$386.42-1.56%2
2025-12-042025-12-30$454.53$454.431.98%18
2025-11-042025-11-05$444.26$462.07-3.74%2
2025-09-082025-10-06$346.40$453.2515.37%21
2025-08-252025-09-03$346.60$334.09-2.32%7
2025-08-112025-08-21$339.03$320.11-1.34%9
2025-07-292025-07-30$321.20$319.04-1.08%2
2025-07-212025-07-25$328.49$316.06-5.29%5
2025-05-192025-06-03$342.09$344.27-1.52%11
2025-05-122025-05-13$318.38$334.074.58%2
2024-09-232024-10-04$250.00$250.080.63%10
2024-09-162024-09-20$226.78$238.254.02%5
2024-09-062024-09-09$210.73$216.27-6.05%2
2024-06-172024-07-12$187.44$248.2323.89%18
2023-12-152024-01-02$253.50$248.42-0.80%11
2023-11-292023-12-14$244.14$251.05-2.24%12
2023-11-222023-11-24$234.21$235.45-2.17%2
2023-11-162023-11-17$233.59$234.30-2.80%2
2023-10-062023-10-17$260.53$254.85-1.78%8
2023-09-122023-09-22$267.48$244.88-4.72%9
2023-09-062023-09-07$251.92$251.49-1.39%2
2023-08-302023-09-05$256.90$256.49-3.44%4
2023-07-052023-07-07$282.48$274.43-0.95%3
2023-05-312023-06-27$203.93$250.2113.57%19
2023-03-242023-04-06$190.41$185.06-2.49%10
2022-09-132022-09-23$292.13$275.33-3.75%9
2022-08-162022-08-19$306.56$296.67-1.60%4
2022-08-022022-08-12$300.59$300.03-2.57%9
2022-03-212022-04-11$307.05$325.319.20%16
2021-12-282022-01-03$362.82$399.93-2.52%5
2021-11-232021-11-24$369.68$372.00-3.03%2
2021-10-132021-11-10$270.36$355.9818.67%21
2021-10-082021-10-11$261.83$263.98-0.86%2
2021-09-282021-10-07$259.19$264.54-0.90%8
2021-08-312021-09-21$245.24$246.46-0.18%15
2021-07-302021-08-17$229.07$221.900.82%13
2021-07-132021-07-15$222.85$216.87-3.45%3
2021-06-242021-07-12$226.61$228.57-0.06%12
2021-06-222021-06-23$207.90$218.860.18%2
2021-06-182021-06-21$207.77$206.940.62%2
2021-06-152021-06-16$199.79$201.62-2.22%2
2021-06-112021-06-14$203.30$205.90-0.17%2
2021-06-022021-06-03$201.71$190.95-2.25%2
2021-05-282021-06-01$208.41$207.97-0.76%2
2021-04-142021-04-29$244.08$225.67-6.38%12
2021-04-122021-04-13$233.99$254.112.44%2
2021-04-082021-04-09$227.93$225.671.20%2
2021-02-082021-02-09$287.81$283.150.78%2
2021-02-042021-02-05$283.33$284.08-0.52%2
2021-02-022021-02-03$290.93$284.902.61%2
2021-01-282021-01-29$278.48$264.51-2.47%2
2021-01-262021-01-27$294.36$288.050.04%2
2021-01-122021-01-25$283.15$293.602.93%9
2021-01-052021-01-11$245.04$270.4013.99%5
2020-12-312021-01-04$235.22$243.260.96%2
2020-12-292020-12-30$222.00$231.590.10%2
2020-12-242020-12-28$220.59$221.231.57%2
2020-12-182020-12-23$231.67$215.33-1.72%4
2020-12-102020-12-17$209.02$218.632.02%6
2020-11-182020-12-08$162.21$216.6330.13%14
2020-11-062020-11-10$143.32$136.79-2.83%3
2020-10-132020-10-20$148.88$140.65-1.93%6
2020-06-292020-06-30$67.29$71.993.48%2
2020-06-252020-06-26$65.73$63.981.69%2
2020-05-292020-06-01$55.67$59.872.39%2
2019-12-162020-01-22$25.43$37.9734.73%25
2019-10-152019-10-25$17.19$21.8811.52%9
2019-09-112019-09-25$16.47$15.25-3.73%11
2019-07-222019-07-26$17.05$15.20-8.01%5
2019-03-012019-03-04$19.65$19.02-5.63%2
2018-12-112018-12-18$24.45$22.47-3.32%6
2018-03-142018-03-15$21.78$21.71-3.25%2
2018-01-112018-02-05$22.53$22.211.76%17
2017-12-122017-12-26$22.74$21.15-0.90%10
2017-10-182017-10-20$23.98$23.01-0.91%3
2017-10-132017-10-17$23.70$23.72-1.14%3
2017-09-122017-09-25$24.18$23.00-2.53%10
2017-08-152017-08-18$24.16$23.16-2.42%4
2017-08-042017-08-07$23.79$23.681.84%2
2017-06-052017-06-14$23.15$25.387.23%8
2017-05-152017-05-16$21.06$21.13-2.06%2
2017-05-022017-05-04$21.26$19.70-2.70%3
2017-04-202017-04-21$20.17$20.37-0.83%2
2017-03-242017-04-04$17.54$20.2511.66%8
2017-03-202017-03-22$17.46$17.00-3.03%3
2017-02-102017-02-22$17.95$18.232.02%8
2016-12-282017-02-02$14.65$16.779.21%25
2016-07-222016-08-09$14.82$15.271.68%13
2016-06-082016-06-10$15.70$14.59-1.03%3
2016-04-042016-04-14$16.47$16.794.87%9
2016-03-282016-04-01$15.35$15.840.48%5
2016-03-212016-03-24$15.89$15.18-3.18%4
2015-12-292016-01-05$15.81$14.90-1.77%5
2015-09-212015-09-29$17.61$16.44-3.41%7
2015-07-212015-07-22$17.78$17.86-3.98%2
2015-06-222015-07-09$17.32$17.19-2.08%13