Strategy Zoo / S0502

PriceMomentum_V0502

ARCHIVEDmomentum

llmAdded regime gates to avoid DOWNTREND, HIGH_VOLATILITY and bubble states; entry now requires short-term return plus momentum confirmation (macd_hist>0 or breakout_20) and avoids high volatility (vol_pctile<0.8); improved exit adds drawdown and negative macd_hist conditions to cap large drawdowns; introduced position scaling: cut exposure in very high volatility (vol_pctile>0.85 -> 0.3) and increase to full size on strong momentum with lower volatility (ret_20d>0.10 and vol_pctile<0.5); reduced base position to 0.6 to lower risk.

Fitness
0.1738
Generation
23
Complexity
13
Created
2026-09-22

Lineage

Parents (1)
PriceMomentum_V0028S0028 · gen 1ARCHIVEDllm

restricted to trend regimes ['DOWNTREND', 'UPTREND']

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V0502  [momentum]
require regime.trend in ['UPTREND', 'SIDEWAYS']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL']
if flat and (ret_20d > 0.035 and (macd_hist > 0.0 or breakout_20 > 0.0) and vol_pctile < 0.8):
    position = 0.6
if long and (ret_20d < -0.025 or drawdown < -0.08 or macd_hist < 0.0):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-1.7%6.9%0.1%0.4%
Total Return-13.0%22.1%0.4%6.6%
Sharpe-0.190.750.060.09
Sortino-0.110.430.030.06
Calmar-0.060.670.010.01
Volatility7.7%9.5%8.7%8.3%
Max DD-30.6%-10.3%-14.2%-31.3%
Win Rate43.2%53.1%51.4%47.5%
Avg Win1.3%1.5%1.5%1.4%
Avg Loss-1.2%-0.8%-1.5%-1.2%
Payoff1.121.920.981.18
Expectancy-0.1%0.4%0.0%0.0%
Profit Factor0.852.171.031.07
Trades1254970244
Avg Holding Days2.52.32.12.4
Turnover18.819.622.719.9
Exposure5.5%5.2%5.2%5.4%

Growth of $100

PriceMomentum_V0502 vs TSLA Buy & Hold
PriceMomentum_V0502 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-3.9%-0.58-6.4%20
20173.2%0.76-3.1%13
2018-7.1%-1.44-7.3%8
2019-4.0%-0.59-8.6%13
20200.0%0.000.0%0
202111.2%0.81-10.3%35
20229.8%1.23-3.2%14

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 testDOWNTREND268-1.3%-1.010%
hidden testEXPENSIVE8325.3%2.441%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-1.3%-0.200%
hidden testLOW VOLATILITY4293.3%0.358%
hidden testMEDIUM VOLATILITY249-2.5%-0.256%
hidden testNORMAL801-2.0%-0.236%
hidden testSIDEWAYS293-12.7%-1.319%
hidden testUPTREND37112.2%1.146%
trainDOWNTREND518-2.3%-0.981%
trainEXPENSIVE3114.4%1.211%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY6993.4%0.550%
trainLOW VOLATILITY745-1.4%-0.1911%
trainMEDIUM VOLATILITY568-7.5%-0.805%
trainNORMAL1,601-2.7%-0.327%
trainSIDEWAYS592-6.3%-0.737%
trainUPTREND9022.3%0.267%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-7.1%-1.000%
validationLOW VOLATILITY18310.4%1.4812%
validationMEDIUM VOLATILITY31516.8%1.396%
validationNORMAL47411.3%0.948%
validationSIDEWAYS20612.5%1.318%
validationUPTREND4256.5%0.616%

Trades (full period)

latest 100 of 244
EntryExitEntry PxExit PxReturnDays
2026-06-012026-06-02$415.88$423.74-2.86%2
2026-05-282026-05-29$442.10$435.790.12%2
2026-05-202026-05-21$417.26$417.851.83%2
2026-05-182026-05-19$409.99$404.11-1.86%2
2026-05-142026-05-15$443.30$422.24-0.39%2
2026-05-122026-05-13$433.45$445.27-1.68%2
2026-05-082026-05-11$428.35$445.002.29%2
2026-04-202026-04-21$392.50$386.42-1.34%2
2025-12-122025-12-30$458.96$454.431.68%12
2025-09-122025-09-15$395.94$410.044.29%2
2025-09-082025-09-09$346.40$346.97-0.88%2
2025-08-292025-09-02$333.87$329.36-2.22%2
2025-08-272025-08-28$349.60$345.98-0.47%2
2025-08-252025-08-26$346.60$351.671.04%2
2025-08-152025-08-18$330.56$335.16-1.02%2
2025-08-132025-08-14$339.38$335.58-0.38%2
2025-08-112025-08-12$339.03$340.841.59%2
2025-07-312025-08-01$308.27$302.63-2.14%2
2025-06-022025-06-03$342.69$344.27-0.77%2
2025-05-272025-05-28$362.89$356.904.04%2
2025-05-222025-05-23$341.04$339.341.03%2
2025-05-122025-05-13$318.38$334.073.93%2
2024-10-032024-10-04$240.66$250.08-2.13%2
2024-10-012024-10-02$258.02$249.02-0.95%2
2024-09-272024-09-30$260.46$261.631.35%2
2024-09-252024-09-26$257.02$254.220.53%2
2024-09-232024-09-24$250.00$254.272.84%2
2024-09-162024-09-17$226.78$227.87-1.03%2
2024-09-062024-09-09$210.73$216.27-5.18%2
2024-09-042024-09-05$219.41$230.172.39%2
2024-07-102024-07-11$263.26$241.030.09%2
2024-07-082024-07-09$252.94$262.330.22%2
2024-07-032024-07-05$246.39$251.523.80%2
2024-07-012024-07-02$209.86$231.263.51%2
2024-06-272024-06-28$197.42$197.880.20%2
2024-06-252024-06-26$187.35$196.371.45%2
2024-06-182024-06-20$184.86$181.57-0.95%2
2023-12-292024-01-02$248.48$248.42-1.23%2
2023-12-272023-12-28$261.44$253.181.01%2
2023-12-222023-12-26$252.54$256.61-0.58%2
2023-12-202023-12-21$247.14$254.50-2.47%2
2023-12-182023-12-19$252.08$257.22-0.46%2
2023-12-122023-12-13$237.01$239.29-0.80%2
2023-12-082023-12-11$243.84$239.740.18%2
2023-12-062023-12-07$239.37$242.640.04%2
2023-12-042023-12-05$235.58$238.72-0.94%2
2023-11-302023-12-01$240.08$238.83-1.12%2
2023-11-282023-11-29$246.72$244.142.58%2
2023-11-242023-11-27$235.45$236.080.20%2
2023-11-212023-11-22$241.20$234.211.31%2
2023-11-172023-11-20$234.30$235.600.06%2
2023-10-092023-10-10$259.67$263.62-0.32%2
2023-09-222023-09-25$244.88$246.99-2.66%2
2023-09-202023-09-21$262.59$255.70-1.00%2
2023-09-182023-09-19$265.28$266.50-2.11%2
2023-09-142023-09-15$276.04$274.390.93%2
2023-09-122023-09-13$267.48$271.30-1.46%2
2023-09-082023-09-11$248.50$273.58-0.83%2
2023-07-182023-07-19$293.34$291.260.49%2
2023-07-052023-07-06$282.48$276.540.45%2
2023-06-232023-06-26$256.60$241.05-1.94%2
2023-06-212023-06-22$259.46$264.61-3.40%2
2023-06-162023-06-20$260.54$274.450.97%2
2023-06-142023-06-15$256.79$255.90-0.56%2
2023-06-122023-06-13$249.83$258.711.21%2
2023-06-082023-06-09$234.86$244.402.63%2
2023-06-062023-06-07$221.31$224.570.90%2
2023-06-022023-06-05$213.97$217.611.74%2
2023-05-312023-06-01$203.93$207.520.71%2
2023-04-032023-04-04$194.77$192.58-3.79%2
2022-09-202022-09-21$308.73$300.80-0.19%2
2022-08-182022-08-19$302.87$296.67-0.34%2
2022-08-162022-08-17$306.56$304.00-0.65%2
2022-08-102022-08-11$294.36$286.632.21%2
2022-08-082022-08-09$290.42$283.330.35%2
2022-08-042022-08-05$308.63$288.170.12%2
2022-08-022022-08-03$300.59$307.400.55%2
2022-04-072022-04-08$352.42$341.830.54%2
2022-04-052022-04-06$363.75$348.59-2.96%2
2022-04-012022-04-04$361.53$381.820.27%2
2022-03-302022-03-31$364.66$359.20-0.42%2
2022-03-282022-03-29$363.95$366.524.70%2
2022-03-242022-03-25$337.97$336.880.77%2
2022-03-222022-03-23$331.33$333.044.62%2
2021-10-152021-11-10$281.01$355.9814.89%19
2021-10-132021-10-14$270.36$272.770.28%2
2021-10-082021-10-11$261.83$263.98-0.73%2
2021-10-052021-10-06$260.20$260.92-0.19%2
2021-10-012021-10-04$258.41$260.51-0.14%2
2021-09-292021-09-30$260.44$258.490.17%2
2021-09-272021-09-28$263.79$259.191.19%2
2021-09-202021-09-21$243.39$246.46-2.43%2
2021-09-162021-09-17$252.33$253.16-0.03%2
2021-09-142021-09-15$248.16$251.940.00%2
2021-09-092021-09-10$251.62$245.42-0.04%2
2021-09-072021-09-08$250.97$251.291.46%2
2021-09-012021-09-02$244.70$244.13-0.25%2
2021-08-132021-08-16$239.06$228.72-0.54%2
2021-08-112021-08-12$235.94$240.75-0.30%2
2021-08-092021-08-10$237.92$236.661.14%2