Strategy Zoo / S0787

PriceMomentum_V0787

ARCHIVEDhybrid

llm1) Tightened and structured entry into two robust branches: momentum branch (ret_20d>3%, positive 50-day slope, RSI>45) and a filtered breakout branch (breakout_20 + close to 20SMA + moderate vol_pctile + elevated rel_volume) to reduce overfit. 2) Replaced fragile short-term exit with multi-condition exit: larger drawdown/20d loss thresholds and trend-based exit (sma_50_slope<0) to avoid premature stops. 3) Added volatility-based position sizing (scale down to 0.5 when vol_pctile>0.75) to control risk in high-vol regimes. 4) Adjusted regime gates to allow only UPTREND/SIDEWAYS and exclude HIGH volatility and EXTREME bubble to improve generalization.

Fitness
0.2806
Generation
36
Complexity
17
Created
2026-09-26

Lineage

Parents (1)
PriceMomentum_V0737S0737 · gen 34ARCHIVEDllm

entry = PriceMomentum_V0570 OR Breakout20_V0692

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V0787  [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.03 and sma_50_slope > 0.0 and rsi_14 > 45.0) or (breakout_20 == 1 and dist_sma_20 > -0.05 and vol_pctile < 0.85 and rel_volume > 1.0)):
    position = 1.0
if long and (ret_20d < -0.06 or drawdown < -0.08 or sma_50_slope < 0.0):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-4.9%37.3%-17.2%-0.8%
Total Return-33.1%158.6%-50.4%-11.6%
Sharpe-0.171.37-0.860.06
Sortino-0.121.12-0.520.04
Calmar-0.081.13-0.33-0.01
Volatility19.0%25.4%19.7%20.7%
Max DD-58.0%-32.9%-52.6%-68.2%
Win Rate37.3%54.7%41.9%42.3%
Avg Win2.9%5.6%2.4%3.7%
Avg Loss-2.2%-2.6%-2.9%-2.5%
Payoff1.342.120.821.48
Expectancy-0.3%1.9%-0.7%0.1%
Profit Factor0.792.560.601.08
Trades1536493310
Avg Holding Days3.23.32.33.0
Turnover38.542.750.142.2
Exposure17.2%19.0%12.5%16.4%

Growth of $100

PriceMomentum_V0787 vs TSLA Buy & Hold
PriceMomentum_V0787 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-9.0%-1.05-12.4%22
201712.0%0.65-13.7%27
2018-16.3%-1.23-16.7%12
20190.7%0.12-14.4%16
2020120.2%3.04-7.9%7
202121.5%0.78-27.9%34
2022-6.9%-0.42-12.5%23

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 testDOWNTREND272-2.1%-1.010%
hidden testEXPENSIVE83-18.7%-0.5833%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-8.1%-0.511%
hidden testLOW VOLATILITY4327.9%0.4516%
hidden testMEDIUM VOLATILITY250-68.7%-2.6618%
hidden testNORMAL805-17.7%-0.9511%
hidden testSIDEWAYS293-34.5%-1.6514%
hidden testUPTREND371-13.8%-0.5520%
trainDOWNTREND5182.3%0.550%
trainEXPENSIVE31141.8%1.4638%
trainEXTREME10011.6%1.551%
trainHIGH VOLATILITY6998.5%0.531%
trainLOW VOLATILITY7457.7%0.3932%
trainMEDIUM VOLATILITY568-32.0%-1.5117%
trainNORMAL1,601-12.9%-0.7614%
trainSIDEWAYS592-22.6%-1.699%
trainUPTREND9026.3%0.2432%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE138132.3%3.4049%
validationEXTREME14447.3%2.613%
validationHIGH VOLATILITY258-8.2%-0.661%
validationLOW VOLATILITY18319.0%1.0226%
validationMEDIUM VOLATILITY31579.3%2.2830%
validationNORMAL4742.7%0.1215%
validationSIDEWAYS2062.0%0.157%
validationUPTREND42561.1%1.8831%

Trades (full period)

latest 100 of 310
EntryExitEntry PxExit PxReturnDays
2026-06-042026-06-05$418.45$391.00-1.44%2
2026-06-022026-06-03$423.74$423.701.69%2
2026-05-292026-06-01$435.79$415.88-1.63%2
2026-05-272026-05-28$440.36$442.101.36%2
2026-05-222026-05-26$426.01$433.591.75%2
2026-05-202026-05-21$417.26$417.853.05%2
2026-05-182026-05-19$409.99$404.11-3.10%2
2026-05-142026-05-15$443.30$422.24-0.64%2
2026-05-122026-05-13$433.45$445.27-2.79%2
2026-05-082026-05-11$428.35$445.003.82%2
2026-04-202026-04-21$392.50$386.42-2.22%2
2025-12-122026-01-02$458.96$438.070.43%14
2025-11-032025-11-10$468.37$445.23-6.11%6
2025-10-292025-10-31$461.51$456.56-4.63%3
2025-10-242025-10-27$433.72$452.42-3.60%2
2025-10-202025-10-23$447.43$448.98-0.28%4
2025-10-132025-10-14$435.90$429.245.21%2
2025-10-092025-10-10$435.54$413.49-0.92%2
2025-10-062025-10-08$453.25$438.690.56%3
2025-09-292025-10-03$443.21$429.83-1.20%5
2025-09-242025-09-26$442.79$440.40-0.77%3
2025-09-222025-09-23$434.21$425.851.71%2
2025-09-182025-09-19$416.85$426.07-2.31%2
2025-09-162025-09-17$421.62$425.862.62%2
2025-09-122025-09-15$395.94$410.047.15%2
2025-09-082025-09-09$346.40$346.97-1.46%2
2025-09-042025-09-05$338.53$350.841.13%2
2025-09-022025-09-03$329.36$334.09-1.55%2
2025-08-282025-08-29$345.98$333.87-1.23%2
2025-08-262025-08-27$351.67$349.601.26%2
2025-08-222025-08-25$340.01$346.606.01%2
2025-08-122025-08-13$340.84$339.380.33%2
2025-07-312025-08-01$308.27$302.63-3.57%2
2025-06-052025-06-06$284.70$295.14-14.45%2
2025-06-032025-06-04$344.27$332.050.26%2
2025-05-302025-06-02$346.46$342.69-3.54%2
2025-05-282025-05-29$356.90$358.43-1.85%2
2025-05-232025-05-27$339.34$362.89-0.70%2
2025-05-212025-05-22$334.62$341.04-2.87%2
2025-05-192025-05-20$342.09$343.82-2.45%2
2025-05-122025-05-13$318.38$334.076.54%2
2024-10-112024-10-14$217.80$219.16-8.97%2
2024-10-092024-10-10$241.05$238.77-1.61%2
2024-10-072024-10-08$240.83$244.50-3.90%2
2024-10-032024-10-04$240.66$250.08-3.55%2
2024-10-012024-10-02$258.02$249.02-1.58%2
2024-09-242024-09-25$254.27$257.021.51%2
2024-09-162024-09-17$226.78$227.87-1.72%2
2024-09-052024-09-06$230.17$210.734.70%2
2024-09-032024-09-04$210.60$219.41-1.84%2
2024-07-102024-07-11$263.26$241.030.15%2
2024-07-082024-07-09$252.94$262.330.36%2
2024-07-032024-07-05$246.39$251.526.34%2
2024-07-012024-07-02$209.86$231.265.85%2
2024-06-272024-06-28$197.42$197.880.33%2
2024-06-252024-06-26$187.35$196.372.41%2
2024-06-182024-06-20$184.86$181.57-1.57%2
2024-06-142024-06-17$178.01$187.44-2.64%2
2024-06-102024-06-11$173.79$170.66-2.28%2
2024-01-032024-01-04$238.45$237.93-4.21%2
2023-12-152023-12-18$253.50$252.080.78%2
2023-11-292023-11-30$244.14$240.08-1.24%2
2023-11-162023-11-17$233.59$234.30-4.01%2
2023-09-122023-09-13$267.48$271.30-2.43%2
2023-07-312023-08-01$267.43$261.070.17%2
2023-07-272023-07-28$255.71$266.44-3.46%2
2023-07-252023-07-26$265.28$264.35-1.60%2
2023-07-202023-07-21$262.90$260.02-9.93%2
2023-07-182023-07-19$293.34$291.260.82%2
2023-07-142023-07-17$281.38$290.381.05%2
2023-07-122023-07-13$271.99$277.900.61%2
2023-07-102023-07-11$269.61$269.79-1.95%2
2023-07-062023-07-07$276.54$274.43-2.30%2
2023-07-032023-07-05$279.82$282.486.69%2
2023-06-292023-06-30$257.50$261.770.29%2
2023-06-272023-06-28$250.21$256.243.60%2
2023-06-232023-06-26$256.60$241.05-3.22%2
2023-06-212023-06-22$259.46$264.61-5.66%2
2023-06-162023-06-20$260.54$274.451.61%2
2023-06-142023-06-15$256.79$255.90-0.94%2
2023-06-122023-06-13$249.83$258.712.02%2
2023-06-082023-06-09$234.86$244.404.38%2
2023-06-062023-06-07$221.31$224.571.50%2
2023-06-022023-06-05$213.97$217.612.91%2
2023-05-312023-06-01$203.93$207.521.18%2
2023-04-182023-04-19$184.31$180.59-1.66%2
2023-04-142023-04-17$185.00$187.04-0.68%2
2023-04-122023-04-13$180.54$185.90-3.54%2
2023-04-102023-04-11$184.51$186.79-0.50%2
2023-04-032023-04-04$194.77$192.58-6.31%2
2023-03-062023-03-07$193.81$187.71-2.21%2
2023-03-022023-03-03$190.90$197.79-6.05%2
2023-02-282023-03-01$205.71$202.77-1.12%2
2022-09-292022-09-30$268.21$265.25-7.00%2
2022-09-202022-09-21$308.73$300.80-0.31%2
2022-09-122022-09-13$304.42$292.131.38%2
2022-08-262022-08-29$288.09$284.82-2.89%2
2022-08-242022-08-25$297.10$296.070.02%2
2022-08-222022-08-23$289.91$296.45-2.47%2
2022-08-182022-08-19$302.87$296.67-0.57%2