Strategy Zoo / S1267

PriceMomentum_V1267

ARCHIVEDhybrid

llm1) Fixed regime gating to allow trading in NORMAL and EXPENSIVE bubble states and restrict HIGH volatility; added SIDEWAYS with UPTREND to avoid mis-blocking validation. 2) Kept original momentum branch but added rel_volume>1.0 filter to reduce false breakouts and added a second branch for larger breakout_50 setups (with vol_pctile/dist_52w_high filters) to improve robustness. 3) Replaced single rigid stop with a composite exit: milder 20d stop (-12%) plus momentum-based exit (macd_hist<0 AND rsi<50) and a short-term drawdown exit (ret_5d<-3%) to capture fast reversals. 4) Introduced position scaling rules: reduce size when vol_pctile>0.7, full size when vol_pctile<0.4, and reduce when near 52w highs; lowered base position to 0.8 to reduce overfitting risk and improve walk-forward generalization.

Fitness
0.3265
Generation
58
Complexity
20
Created
2026-10-07

Lineage

Parents (1)
PriceMomentum_V0792S0792 · gen 36ARCHIVEDllm

changed ret_20d threshold -0.006 -> -0.1496

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V1267  [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.05 or (breakout_20 == 1 and dist_sma_20 > -0.121 and vol_chg < 1.2007 and rel_volume > 1.0) or (breakout_50 == 1 and dist_52w_high < 0.95 and vol_pctile < 0.8)):
    position = 0.8
if long and (ret_20d < -0.12 or (macd_hist < 0.0 and rsi_14 < 50.0) or ret_5d < -0.03):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR1.8%29.5%-1.6%6.2%
Total Return15.0%117.3%-5.8%141.0%
Sharpe0.191.300.010.41
Sortino0.141.340.010.32
Calmar0.051.04-0.060.15
Volatility17.5%21.7%19.3%18.9%
Max DD-37.1%-28.5%-26.4%-42.0%
Win Rate40.0%36.4%26.8%35.4%
Avg Win5.1%14.0%7.3%8.2%
Avg Loss-3.2%-3.2%-2.6%-3.0%
Payoff1.574.392.792.70
Expectancy0.1%3.1%0.0%0.9%
Profit Factor1.052.511.021.48
Trades703341144
Avg Holding Days8.07.66.17.5
Turnover14.117.617.515.6
Exposure20.2%23.2%17.7%20.2%

Growth of $100

PriceMomentum_V1267 vs TSLA Buy & Hold
PriceMomentum_V1267 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-6.8%-0.54-15.2%8
201716.3%0.98-11.0%13
2018-7.8%-0.86-10.7%3
20196.0%0.37-21.7%7
202077.4%2.74-6.9%6
202133.7%1.25-23.7%15
2022-11.1%-0.66-28.5%12

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 testDOWNTREND278-2.0%-1.201%
hidden testEXPENSIVE8311.7%0.4140%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-14.0%-0.832%
hidden testLOW VOLATILITY43925.5%1.4424%
hidden testMEDIUM VOLATILITY250-29.5%-1.2424%
hidden testNORMAL812-0.9%-0.0516%
hidden testSIDEWAYS294-30.1%-1.4825%
hidden testUPTREND37126.0%1.0525%
trainDOWNTREND518-4.7%-0.741%
trainEXPENSIVE31129.4%1.2932%
trainEXTREME1009.3%1.551%
trainHIGH VOLATILITY6998.7%0.541%
trainLOW VOLATILITY74519.4%1.1337%
trainMEDIUM VOLATILITY568-24.6%-1.2821%
trainNORMAL1,601-2.2%-0.1319%
trainSIDEWAYS592-11.8%-0.7220%
trainUPTREND90217.7%0.8131%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13898.1%3.1140%
validationEXTREME14430.6%2.272%
validationHIGH VOLATILITY2582.8%0.940%
validationLOW VOLATILITY18323.0%1.2242%
validationMEDIUM VOLATILITY31552.0%1.7231%
validationNORMAL4747.1%0.3625%
validationSIDEWAYS206-10.1%-0.5523%
validationUPTREND42555.1%2.1330%

Trades (full period)

latest 100 of 144
EntryExitEntry PxExit PxReturnDays
2026-05-262026-06-04$433.59$418.45-0.57%8
2026-05-212026-05-22$417.85$426.01-0.05%2
2026-05-082026-05-19$428.35$404.11-0.45%8
2026-04-202026-04-21$392.50$386.42-1.78%2
2025-12-312026-01-02$449.72$438.07-0.99%2
2025-12-152025-12-30$475.31$454.430.02%11
2025-11-062025-11-10$445.91$445.23-5.81%3
2025-10-142025-11-05$429.24$462.071.47%17
2025-10-102025-10-13$413.49$435.90-4.21%2
2025-09-082025-10-09$346.40$435.5419.64%24
2025-09-042025-09-05$338.53$350.840.90%2
2025-08-252025-09-03$346.60$334.09-2.65%7
2025-08-112025-08-20$339.03$323.90-0.23%8
2025-08-052025-08-06$308.72$319.91-0.30%2
2025-07-312025-08-01$308.27$302.63-2.86%2
2025-06-052025-06-06$284.70$295.14-11.56%2
2025-05-282025-06-04$356.90$332.05-4.27%6
2025-05-232025-05-27$339.34$362.89-0.56%2
2025-05-192025-05-22$342.09$341.04-3.67%4
2025-05-122025-05-13$318.38$334.075.23%2
2024-10-092024-10-10$241.05$238.77-1.29%2
2024-10-072024-10-08$240.83$244.50-3.12%2
2024-09-232024-10-03$250.00$240.663.48%9
2024-09-162024-09-20$226.78$238.254.58%5
2024-09-042024-09-09$219.41$216.27-0.01%4
2024-06-182024-07-12$184.86$248.2322.38%17
2023-12-072024-01-04$242.64$237.93-0.39%19
2023-11-272023-12-06$236.08$239.370.97%8
2023-11-162023-11-24$233.59$235.45-2.99%6
2023-09-222023-09-25$244.88$246.99-3.54%2
2023-09-202023-09-21$262.59$255.70-1.33%2
2023-09-122023-09-19$267.48$266.50-2.57%6
2023-07-262023-07-27$264.35$255.71-0.44%2
2023-07-132023-07-21$277.90$260.02-2.74%7
2023-06-282023-07-12$256.24$271.996.10%10
2023-05-312023-06-27$203.93$250.2115.56%19
2023-04-122023-04-13$180.54$185.90-2.83%2
2023-04-102023-04-11$184.51$186.79-0.40%2
2023-04-032023-04-06$194.77$185.06-8.66%4
2023-03-062023-03-07$193.81$187.71-1.77%2
2023-02-282023-03-03$205.71$197.79-6.62%4
2022-09-202022-09-23$308.73$275.33-5.47%4
2022-08-242022-08-30$297.10$277.70-3.30%5
2022-08-152022-08-23$309.32$296.45-2.84%7
2022-08-112022-08-12$286.63$300.03-2.26%2
2022-08-092022-08-10$283.33$294.36-2.11%2
2022-08-022022-08-08$300.59$290.42-2.57%5
2022-04-192022-04-21$342.72$336.26-2.29%3
2022-04-142022-04-18$328.33$334.76-3.08%2
2022-04-122022-04-13$328.98$340.790.74%2
2022-04-082022-04-11$341.83$325.31-2.56%2
2022-03-212022-04-07$307.05$352.4212.22%14
2022-01-122022-01-13$368.74$343.852.98%2
2021-11-232021-12-06$369.68$336.34-10.00%9
2021-08-232021-11-09$235.43$341.1753.82%56
2021-08-192021-08-20$224.49$226.75-1.96%2
2021-08-022021-08-17$236.56$221.90-0.24%12
2021-07-212021-07-23$218.43$214.46-1.52%3
2021-07-122021-07-16$228.57$214.74-0.91%5
2021-07-082021-07-09$217.60$218.980.85%2
2021-06-142021-07-07$205.90$214.886.36%17
2021-05-032021-05-04$228.30$224.53-2.92%2
2021-04-222021-04-29$239.90$225.67-5.51%6
2021-04-142021-04-21$244.08$248.04-4.71%6
2021-02-022021-02-11$290.93$270.55-3.46%8
2021-01-202021-02-01$283.48$279.94-4.97%9
2021-01-122021-01-19$283.15$281.521.34%5
2020-12-302021-01-11$231.59$270.4024.93%8
2020-12-102020-12-29$209.02$222.007.73%13
2020-11-182020-12-08$162.21$216.6334.96%14
2020-10-222020-10-23$141.93$140.210.44%2
2020-10-132020-10-21$148.88$140.88-3.83%7
2020-06-252020-06-29$65.73$67.29-0.24%3
2019-12-032020-01-22$22.41$37.9748.27%34
2019-11-292019-12-02$22.00$22.32-0.49%2
2019-11-222019-11-25$22.20$22.42-5.07%2
2019-10-152019-10-25$17.19$21.8813.15%9
2019-09-262019-09-27$16.17$16.144.68%2
2019-09-122019-09-25$16.39$15.25-7.91%10
2019-07-222019-07-26$17.05$15.20-9.19%5
2019-02-282019-03-04$21.33$19.02-5.20%3
2018-11-292018-12-18$22.74$22.470.02%13
2018-03-132018-03-15$22.79$21.71-4.53%3
2018-01-182018-02-06$22.97$22.26-3.37%14
2017-12-122017-12-26$22.74$21.15-1.04%10
2017-09-142017-09-25$25.18$23.00-3.44%8
2017-08-302017-09-07$23.55$23.37-0.80%6
2017-08-252017-08-29$23.20$23.16-1.81%3
2017-08-152017-08-18$24.16$23.16-2.77%4
2017-08-042017-08-07$23.79$23.682.10%2
2017-06-302017-07-03$24.11$23.510.03%2
2017-06-052017-06-14$23.15$25.388.28%8
2017-05-122017-05-18$21.65$20.87-4.37%5
2017-04-242017-05-05$20.54$20.56-2.78%10
2017-04-202017-04-21$20.17$20.37-0.95%2
2017-03-272017-04-04$18.01$20.2510.49%7
2016-12-282017-02-24$14.65$17.1313.05%40
2016-10-042016-10-06$14.09$13.40-2.12%3
2016-07-222016-08-12$14.82$15.041.46%16
2016-06-162016-06-17$14.53$14.36-0.08%2