Strategy Zoo / S1434

PriceMomentum_V1434

ARCHIVEDhybrid

llmAdded explicit regime gates to avoid entries in downtrends and extreme bubbles and to restrict to low/medium volatility; replaced single momentum test with two clear entry branches (momentum + MACD/rsi filter, and trend-follow when price crosses above sma_200 with positive slope); strengthened exits with a larger 20d stop, a drawdown stop, and a sma_50 breakdown trigger; introduced volatility-based position scaling (more size in low vol, smaller in high vol) and reduced base position to lower peak drawdown risk.

Fitness
0.0732
Generation
66
Complexity
22
Created
2026-10-10

Lineage

Parents (1)
PriceMomentum_V1423S1423 · gen 65ARCHIVEDllm

swapped indicator ret_20d -> ret_1d

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V1434  [hybrid]
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.05 and macd_hist > 0.0 and rsi_14 < 75.0 and sma_50_slope > 0.0) or (close > sma_200 and sma_200_slope > 0.0 and ret_20d > 0.02)):
    position = 0.8
if long and (ret_20d < -0.03 or drawdown < -0.12 or (close < sma_50 and ret_1d < -0.02)):
    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.35

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-4.3%0.8%-7.9%-4.2%
Total Return-29.8%2.5%-26.5%-47.1%
Sharpe-0.270.13-0.67-0.29
Sortino-0.170.09-0.38-0.18
Calmar-0.090.04-0.26-0.07
Volatility13.3%11.2%11.2%12.4%
Max DD-47.6%-19.2%-29.9%-56.5%
Win Rate37.3%45.3%38.6%39.8%
Avg Win2.1%1.8%1.8%1.9%
Avg Loss-1.7%-1.3%-1.8%-1.6%
Payoff1.251.361.001.18
Expectancy-0.3%0.1%-0.4%-0.2%
Profit Factor0.741.130.630.78
Trades1106470244
Avg Holding Days3.52.52.32.9
Turnover20.229.727.123.9
Exposure10.2%8.9%7.4%9.2%

Growth of $100

PriceMomentum_V1434 vs TSLA Buy & Hold
PriceMomentum_V1434 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-2.9%-0.68-5.4%12
20174.2%0.83-3.7%9
2018-14.2%-1.50-14.5%5
2019-7.5%-0.34-16.1%18
20200.0%0.000.0%0
20215.6%0.39-15.9%46
2022-3.0%-0.40-8.2%18

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-1.2%-1.060%
hidden testEXPENSIVE8333.8%2.442%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-1.2%-0.200%
hidden testLOW VOLATILITY442-2.4%-0.1913%
hidden testMEDIUM VOLATILITY250-23.2%-1.925%
hidden testNORMAL815-12.2%-1.098%
hidden testSIDEWAYS297-14.3%-1.1514%
hidden testUPTREND371-7.0%-0.508%
trainDOWNTREND518-3.6%-0.800%
trainEXPENSIVE3117.1%1.411%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY6994.2%0.341%
trainLOW VOLATILITY7454.9%0.3422%
trainMEDIUM VOLATILITY568-24.2%-1.957%
trainNORMAL1,601-5.8%-0.4013%
trainSIDEWAYS592-15.6%-1.339%
trainUPTREND9024.4%0.2616%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-4.6%-0.660%
validationLOW VOLATILITY18311.0%0.9123%
validationMEDIUM VOLATILITY3150.8%0.068%
validationNORMAL4742.3%0.1614%
validationSIDEWAYS206-9.5%-1.2411%
validationUPTREND4257.2%0.5111%

Trades (full period)

latest 100 of 244
EntryExitEntry PxExit PxReturnDays
2026-06-052026-06-08$391.00$408.95-5.40%2
2026-06-032026-06-04$423.70$418.45-0.17%2
2026-05-262026-06-02$433.59$423.74-2.04%6
2026-05-212026-05-22$417.85$426.01-0.05%2
2026-05-192026-05-20$404.11$417.26-1.31%2
2026-05-122026-05-18$433.45$409.99-4.24%5
2026-05-082026-05-11$428.35$445.003.05%2
2026-04-202026-04-21$392.50$386.42-1.25%2
2025-12-082026-01-05$439.58$451.67-3.06%19
2025-09-122025-09-15$395.94$410.045.72%2
2025-09-102025-09-11$347.79$368.810.03%2
2025-09-082025-09-09$346.40$346.97-1.17%2
2025-09-042025-09-05$338.53$350.840.90%2
2025-08-292025-09-02$333.87$329.36-2.96%2
2025-08-272025-08-28$349.60$345.98-0.63%2
2025-08-252025-08-26$346.60$351.671.39%2
2025-08-192025-08-20$329.31$323.90-1.56%2
2025-08-152025-08-18$330.56$335.16-1.36%2
2025-08-132025-08-14$339.38$335.58-0.50%2
2025-08-112025-08-12$339.03$340.842.11%2
2025-07-312025-08-01$308.27$302.63-2.00%2
2025-07-212025-07-22$328.49$332.11-0.31%2
2025-06-042025-06-05$332.05$284.70-2.10%2
2025-06-022025-06-03$342.69$344.27-0.72%2
2025-05-272025-05-28$362.89$356.905.39%2
2025-05-222025-05-23$341.04$339.340.96%2
2025-05-122025-05-13$318.38$334.073.66%2
2024-10-112024-10-14$217.80$219.16-7.18%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-10-032024-10-04$240.66$250.08-1.99%2
2024-09-162024-09-17$226.78$227.87-0.96%2
2024-09-062024-09-09$210.73$216.27-4.84%2
2024-09-042024-09-05$219.41$230.172.23%2
2024-07-012024-07-02$209.86$231.264.68%2
2024-06-272024-06-28$197.42$197.880.27%2
2024-06-252024-06-26$187.35$196.371.93%2
2024-06-182024-06-20$184.86$181.57-1.26%2
2024-01-022024-01-03$248.42$238.45-0.18%2
2023-12-282023-12-29$253.18$248.48-2.69%2
2023-12-262023-12-27$256.61$261.441.13%2
2023-12-212023-12-22$254.50$252.542.22%2
2023-12-192023-12-20$257.22$247.141.47%2
2023-12-152023-12-18$253.50$252.080.62%2
2023-12-122023-12-13$237.01$239.29-1.07%2
2023-12-082023-12-11$243.84$239.740.24%2
2023-12-062023-12-07$239.37$242.640.06%2
2023-12-042023-12-05$235.58$238.72-1.25%2
2023-11-302023-12-01$240.08$238.83-1.49%2
2023-11-282023-11-29$246.72$244.143.44%2
2023-11-242023-11-27$235.45$236.080.26%2
2023-11-212023-11-22$241.20$234.211.74%2
2023-11-172023-11-20$234.30$235.600.08%2
2023-10-092023-10-10$259.67$263.62-0.42%2
2023-10-052023-10-06$260.05$260.53-0.50%2
2023-10-032023-10-04$246.53$261.16-1.77%2
2023-09-262023-09-27$244.12$240.50-0.76%2
2023-09-222023-09-25$244.88$246.99-2.48%2
2023-09-202023-09-21$262.59$255.70-0.93%2
2023-09-182023-09-19$265.28$266.50-1.97%2
2023-09-142023-09-15$276.04$274.390.87%2
2023-09-122023-09-13$267.48$271.30-1.36%2
2023-09-082023-09-11$248.50$273.58-0.78%2
2023-09-062023-09-07$251.92$251.49-1.11%2
2023-08-012023-08-02$261.07$254.11-1.44%2
2023-07-062023-07-07$276.54$274.43-1.29%2
2023-06-262023-06-27$241.05$250.21-5.00%2
2023-06-222023-06-23$264.61$256.601.43%2
2023-06-022023-06-05$213.97$217.612.32%2
2023-05-312023-06-01$203.93$207.520.94%2
2022-09-212022-09-22$300.80$288.59-2.21%2
2022-08-182022-08-19$302.87$296.67-0.32%2
2022-08-162022-08-17$306.56$304.00-0.61%2
2022-08-102022-08-11$294.36$286.632.07%2
2022-08-082022-08-09$290.42$283.330.33%2
2022-08-042022-08-05$308.63$288.170.11%2
2022-08-022022-08-03$300.59$307.400.51%2
2022-04-192022-04-20$342.72$325.731.22%2
2022-04-142022-04-18$328.33$334.76-2.16%2
2022-04-122022-04-13$328.98$340.790.52%2
2022-04-082022-04-11$341.83$325.31-1.79%2
2022-04-042022-04-07$381.82$352.42-2.04%4
2022-03-292022-04-01$366.52$361.53-0.84%4
2022-03-252022-03-28$336.88$363.95-0.29%2
2022-03-232022-03-24$333.04$337.970.18%2
2022-03-212022-03-22$307.05$331.330.86%2
2022-03-012022-03-02$288.12$293.30-0.50%2
2022-01-122022-01-13$368.74$343.852.09%2
2021-12-092021-12-10$334.60$339.01-3.52%2
2021-11-302021-12-01$381.59$365.000.27%2
2021-11-232021-11-29$369.68$379.00-3.76%4
2021-10-042021-11-10$260.51$355.9825.39%28
2021-09-282021-10-01$259.19$258.41-1.76%4
2021-09-242021-09-27$258.13$263.792.04%2
2021-09-222021-09-23$250.65$251.211.20%2
2021-09-202021-09-21$243.39$246.46-3.25%2
2021-09-162021-09-17$252.33$253.16-0.04%2
2021-09-142021-09-15$248.16$251.940.00%2
2021-09-092021-09-10$251.62$245.42-0.06%2
2021-09-072021-09-08$250.97$251.291.95%2