Strategy Zoo / S1579

PriceMomentum_V1579

ARCHIVEDhybrid

llmAdded regime gates to avoid extreme volatility and bubbles; introduced two entry branches: momentum (ret_20d + macd_hist + positive long-term slope + avoid extreme vol) and breakout confirmed by volume & proximity to 52w high; retained high-ret fast-entry. Replaced fragile tiny exit with multi-condition exit: larger ret_20d stop, account drawdown cap, or momentum fade (macd_hist < 0). Reduced base position and added scaled sizing by volatility to lower risk in turbulent markets.

Fitness
0.3631
Generation
73
Complexity
21
Created
2026-10-14

Lineage

Parents (1)
PriceMomentum_V0690S0690 · gen 32ELITEllm

entry = PriceMomentum_V0671 OR PriceMomentum_V0640

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V1579  [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 and macd_hist > 0.0 and sma_200_slope > 0.0 and vol_pctile < 0.9) or (breakout_20 > 0.0 and rel_volume > 1.2 and dist_52w_high < 0.25) or ret_20d > 0.18):
    position = 0.7
if long and (ret_20d < -0.02 or drawdown > 0.08 or macd_hist < 0.0):
    position = 0.0  # exit to cash
if regime.volatility == "LOW_VOLATILITY": position *= 1.0
if regime.volatility == "MEDIUM_VOLATILITY": position *= 0.7
if regime.volatility == "HIGH_VOLATILITY": position *= 0.3

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR1.5%22.1%1.3%5.5%
Total Return12.6%82.2%4.8%119.4%
Sharpe0.181.490.160.48
Sortino0.121.340.110.34
Calmar0.042.520.070.16
Volatility12.3%14.0%12.5%12.7%
Max DD-35.1%-8.8%-17.9%-35.1%
Win Rate41.1%56.0%32.1%42.2%
Avg Win4.3%6.1%5.7%5.3%
Avg Loss-2.7%-1.8%-2.2%-2.4%
Payoff1.613.422.522.24
Expectancy0.2%2.6%0.3%0.9%
Profit Factor1.124.361.191.63
Trades562528109
Avg Holding Days7.17.66.67.2
Turnover9.19.39.39.2
Exposure11.2%12.7%10.6%11.3%

Growth of $100

PriceMomentum_V1579 vs TSLA Buy & Hold
PriceMomentum_V1579 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-8.6%-1.08-11.1%6
201711.7%1.10-7.5%12
2018-5.4%-1.03-7.0%5
2019-8.6%-0.38-21.1%5
202037.7%2.35-3.9%6
202127.8%1.47-8.4%13
20223.5%0.43-8.8%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 testDOWNTREND279-2.0%-1.370%
hidden testEXPENSIVE8333.8%1.8117%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-5.2%-0.781%
hidden testLOW VOLATILITY44316.8%1.1717%
hidden testMEDIUM VOLATILITY251-16.7%-1.239%
hidden testNORMAL817-1.1%-0.0911%
hidden testSIDEWAYS298-15.5%-1.2718%
hidden testUPTREND37119.2%1.1513%
trainDOWNTREND518-5.8%-1.241%
trainEXPENSIVE31120.3%1.4417%
trainEXTREME1005.7%1.550%
trainHIGH VOLATILITY6998.4%0.671%
trainLOW VOLATILITY7459.9%0.8023%
trainMEDIUM VOLATILITY568-15.5%-1.329%
trainNORMAL1,601-1.5%-0.1211%
trainSIDEWAYS592-11.9%-0.9513%
trainUPTREND90216.1%1.0816%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13861.9%3.2318%
validationEXTREME14418.7%2.271%
validationHIGH VOLATILITY258-5.8%-1.000%
validationLOW VOLATILITY18323.2%1.7326%
validationMEDIUM VOLATILITY31541.6%2.2615%
validationNORMAL4749.7%0.7215%
validationSIDEWAYS2068.3%0.6814%
validationUPTREND42533.3%2.0016%

Trades (full period)

latest 100 of 109
EntryExitEntry PxExit PxReturnDays
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.09%2
2025-12-152025-12-30$475.31$454.430.04%11
2025-10-092025-10-10$435.54$413.49-0.45%2
2025-10-072025-10-08$433.09$438.69-2.28%2
2025-09-082025-10-06$346.40$453.2514.57%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-312025-08-01$308.27$302.63-1.75%2
2025-06-042025-06-05$332.05$284.70-1.84%2
2025-05-192025-06-03$342.09$344.27-0.43%11
2025-05-122025-05-13$318.38$334.073.21%2
2024-10-072024-10-08$240.83$244.50-2.73%2
2024-09-252024-10-04$257.02$250.08-2.71%8
2024-09-062024-09-09$210.73$216.27-4.23%2
2024-06-272024-07-12$197.42$248.2314.61%11
2024-06-182024-06-21$184.86$183.01-2.33%3
2023-12-152024-01-02$253.50$248.42-0.80%11
2023-11-172023-12-14$234.30$251.051.61%19
2023-09-122023-09-25$267.48$246.99-5.32%10
2023-07-102023-07-11$269.61$269.79-0.96%2
2023-07-052023-07-07$282.48$274.43-0.67%3
2023-06-302023-07-03$261.77$279.821.02%2
2023-06-282023-06-29$256.24$257.501.55%2
2023-05-312023-06-27$203.93$250.2113.57%19
2023-04-032023-04-06$194.77$185.06-6.65%4
2023-03-012023-03-02$202.77$190.90-0.80%2
2022-08-152022-08-19$309.32$296.670.38%5
2022-08-022022-08-12$300.59$300.03-1.77%9
2022-04-142022-04-18$328.33$334.76-1.89%2
2022-04-122022-04-13$328.98$340.790.46%2
2022-03-212022-04-11$307.05$325.316.47%16
2021-10-132021-11-10$270.36$355.9818.77%21
2021-10-082021-10-11$261.83$263.98-0.86%2
2021-09-272021-10-07$263.79$264.540.62%9
2021-09-012021-09-21$244.70$246.46-0.63%14
2021-08-022021-08-17$236.56$221.90-0.20%12
2021-07-132021-07-15$222.85$216.87-3.45%3
2021-06-142021-07-12$205.90$228.575.28%20
2021-04-142021-04-29$244.08$225.67-4.47%12
2021-02-022021-02-03$290.93$284.901.83%2
2021-01-282021-01-29$278.48$264.51-1.73%2
2021-01-262021-01-27$294.36$288.050.03%2
2021-01-122021-01-25$283.15$293.602.06%9
2021-01-052021-01-11$245.04$270.409.67%5
2020-12-312021-01-04$235.22$243.260.67%2
2020-12-182020-12-23$231.67$215.33-1.17%4
2020-12-102020-12-17$209.02$218.631.43%6
2020-11-182020-12-08$162.21$216.6320.42%14
2020-10-162020-10-20$146.56$140.65-2.08%3
2020-06-262020-06-29$63.98$67.29-1.40%2
2019-12-172020-01-22$25.27$37.9727.80%24
2019-11-222019-11-25$22.20$22.42-4.44%2
2019-10-152019-10-25$17.19$21.8811.65%9
2019-09-122019-09-25$16.39$15.25-6.83%10
2019-07-252019-07-26$15.25$15.20-9.66%2
2019-02-282019-03-04$21.33$19.02-4.54%3
2018-12-132018-12-18$25.12$22.47-1.99%4
2018-12-072018-12-10$23.86$24.34-0.78%2
2018-12-042018-12-06$23.98$24.200.07%2
2018-03-142018-03-15$21.78$21.71-2.28%2
2018-01-182018-02-05$22.97$22.21-0.53%13
2017-12-122017-12-26$22.74$21.15-1.43%10
2017-09-152017-09-25$25.32$23.00-4.47%7
2017-08-152017-08-18$24.16$23.16-1.70%4
2017-08-042017-08-07$23.79$23.681.29%2
2017-06-052017-06-14$23.15$25.384.85%8
2017-05-152017-05-16$21.06$21.13-1.44%2
2017-05-022017-05-04$21.26$19.70-2.45%3
2017-04-242017-04-25$20.54$20.920.29%2
2017-04-202017-04-21$20.17$20.37-0.58%2
2017-03-282017-04-04$18.50$20.255.51%6
2017-02-102017-02-22$17.95$18.232.02%8
2016-12-282017-02-02$14.65$16.779.19%25
2016-10-042016-10-06$14.09$13.40-1.86%3
2016-07-262016-08-09$15.30$15.27-1.29%11
2016-06-082016-06-16$15.70$14.53-4.45%7
2016-04-042016-04-14$16.47$16.794.22%9
2016-03-282016-04-01$15.35$15.840.34%5
2016-03-212016-03-24$15.89$15.18-3.66%4
2015-12-312016-01-05$16.00$14.90-4.44%3
2015-09-222015-09-30$17.40$16.56-4.25%7
2015-07-212015-07-22$17.78$17.86-2.79%2
2015-06-242015-07-09$17.68$17.19-3.41%11
2015-06-182015-06-19$17.46$17.500.26%2
2015-06-092015-06-10$17.07$16.71-0.22%2
2015-04-282015-05-22$15.37$16.524.11%19
2014-11-112014-12-01$16.74$15.440.15%14
2014-08-292014-09-12$17.98$18.614.23%10
2014-08-042014-08-25$15.90$17.506.86%16
2014-06-092014-07-07$13.69$14.846.98%20
2014-05-282014-06-03$14.02$13.66-1.69%5
2014-03-202014-03-21$15.66$15.26-0.29%2
2014-02-132014-02-26$13.31$16.8712.10%9
2014-01-062014-01-10$9.80$9.71-1.08%5
2013-09-202013-10-04$12.23$12.07-1.87%11
2013-09-132013-09-16$11.04$11.110.12%2
2013-09-092013-09-10$10.71$11.09-2.77%2
2013-03-272013-04-02$2.54$2.9611.07%4