Strategy Zoo / S0634

PriceMomentum_V0634

ARCHIVEDmomentum

llmMade entries less rigid and regime-aware: replaced single high ret_20d threshold with a momentum OR breakout filter plus a positive sma_50_slope trend gate to increase trades in reasonable trends. Tightened exits: added a moderate 20d stop (-8%) and a faster MACD+short-term weakness exit to cut losers earlier. Added regime gates to avoid DOWNTREND and extreme bubble states; limit allocation by volatility (full in LOW, reduced in MED, small in HIGH). Reduced base_position from 1.0 to 0.8 to lower drawdown risk.

Fitness
0.1582
Generation
29
Complexity
16
Created
2026-09-24

Lineage

Parents (1)
PriceMomentum_V0267S0267 · gen 12ARCHIVEDllm

changed ret_20d threshold 0.05 -> 0.1146

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V0634  [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.06 or breakout_20 == 1) and sma_50_slope > 0.0):
    position = 0.8
if long and (ret_20d < -0.08 or (macd_hist < 0.0 and ret_5d < -0.02)):
    position = 0.0  # exit to cash
if regime.volatility == "LOW_VOLATILITY": position *= 1.0
if regime.volatility == "MEDIUM_VOLATILITY": position *= 0.68
if regime.volatility == "HIGH_VOLATILITY": position *= 0.35

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR1.6%0.9%2.2%1.6%
Total Return13.1%2.7%8.5%26.1%
Sharpe0.190.130.220.19
Sortino0.100.070.120.10
Calmar0.070.030.130.04
Volatility12.5%12.0%14.6%12.9%
Max DD-20.9%-30.9%-17.1%-40.4%
Win Rate32.4%33.3%33.3%32.9%
Avg Win7.7%9.4%7.0%7.7%
Avg Loss-2.9%-3.7%-2.8%-3.0%
Payoff2.622.582.532.58
Expectancy0.5%0.7%0.5%0.5%
Profit Factor1.261.291.271.27
Trades37122776
Avg Holding Days8.79.75.27.6
Turnover7.25.210.47.6
Exposure10.6%9.5%8.9%10.0%

Growth of $100

PriceMomentum_V0634 vs TSLA Buy & Hold
PriceMomentum_V0634 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-0.3%-0.00-9.0%4
201714.4%2.31-0.9%3
2018-6.2%-0.98-8.0%3
20195.6%0.36-15.7%6
20200.0%0.000.0%0
202130.2%1.59-12.6%3
2022-21.1%-2.06-22.7%9

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 testDOWNTREND2700.0%0.000%
hidden testEXPENSIVE8334.2%2.442%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-17.2%-1.481%
hidden testLOW VOLATILITY43016.5%1.1015%
hidden testMEDIUM VOLATILITY2501.3%0.087%
hidden testNORMAL8030.3%0.0210%
hidden testSIDEWAYS293-28.0%-2.0711%
hidden testUPTREND37130.3%1.5514%
trainDOWNTREND5181.2%0.530%
trainEXPENSIVE3117.5%1.451%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY6994.8%0.360%
trainLOW VOLATILITY7458.4%0.6324%
trainMEDIUM VOLATILITY568-8.7%-0.846%
trainNORMAL1,6011.4%0.1013%
trainSIDEWAYS592-8.0%-0.737%
trainUPTREND9029.7%0.6019%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-4.4%-0.660%
validationLOW VOLATILITY18315.4%1.2127%
validationMEDIUM VOLATILITY315-1.4%-0.107%
validationNORMAL4742.6%0.1715%
validationSIDEWAYS206-16.0%-1.534%
validationUPTREND42510.7%0.7515%

Trades (full period)

76 trades
EntryExitEntry PxExit PxReturnDays
2026-07-022026-07-06$393.45$419.77-4.18%2
2026-06-032026-06-04$423.70$418.45-0.17%2
2026-05-222026-06-02$426.01$423.74-0.51%7
2026-05-142026-05-21$443.30$417.85-5.18%6
2025-12-082025-12-30$439.58$454.430.73%16
2025-09-082025-09-15$346.40$410.0410.06%6
2025-09-042025-09-05$338.53$350.840.90%2
2025-08-252025-09-03$346.60$334.09-2.65%7
2025-07-312025-08-04$308.27$309.26-2.92%3
2025-06-052025-06-06$284.70$295.14-7.86%2
2025-06-022025-06-04$342.69$332.05-0.45%3
2025-05-222025-05-28$341.04$356.906.20%4
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.93%2
2024-09-162024-09-20$226.78$238.253.13%5
2024-09-052024-09-09$230.17$216.27-2.15%3
2024-06-182024-07-12$184.86$248.2321.16%17
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-07-032023-07-12$279.82$271.993.29%7
2023-06-282023-06-30$256.24$261.772.17%3
2023-05-312023-06-27$203.93$250.2115.56%19
2023-04-122023-04-13$180.54$185.90-1.93%2
2023-04-102023-04-11$184.51$186.79-0.40%2
2023-04-032023-04-06$194.77$185.06-7.51%4
2023-02-282023-03-03$205.71$197.79-4.52%4
2022-09-202022-09-23$308.73$275.33-5.47%4
2022-08-242022-08-25$297.10$296.070.01%2
2022-08-152022-08-23$309.32$296.45-3.08%7
2022-08-022022-08-12$300.59$300.03-1.97%9
2022-04-192022-04-27$342.72$293.84-7.00%7
2022-04-142022-04-18$328.33$334.76-2.10%2
2022-04-122022-04-13$328.98$340.790.51%2
2022-04-052022-04-11$363.75$325.31-5.88%5
2022-01-122022-01-13$368.74$343.852.03%2
2021-11-232021-12-03$369.68$338.32-3.47%8
2021-08-242021-11-10$236.16$355.9835.16%56
2021-08-022021-08-17$236.56$221.90-0.24%12
2019-12-032019-12-17$22.41$25.2710.87%11
2019-11-222019-11-25$22.20$22.42-5.07%2
2019-10-162019-10-25$17.32$21.8813.09%8
2019-09-262019-09-27$16.17$16.143.19%2
2019-09-112019-09-25$16.47$15.25-5.33%11
2019-07-222019-07-26$17.05$15.20-9.19%5
2018-12-042018-12-18$23.98$22.47-0.95%10
2018-03-132018-03-15$22.79$21.71-3.09%3
2018-01-182018-02-06$22.97$22.26-2.27%14
2017-03-272017-03-28$18.01$18.501.35%2
2017-01-312017-02-02$16.80$16.77-0.60%3
2016-12-282017-01-25$14.65$16.9612.44%19
2016-07-262016-08-12$15.30$15.04-1.92%14
2016-04-152016-05-02$16.97$16.12-2.92%12
2016-03-282016-04-14$15.35$16.797.23%14
2015-12-312016-01-06$16.00$14.60-5.07%4
2015-07-152015-07-27$17.54$16.871.41%9
2015-06-182015-07-09$17.46$17.19-1.77%15
2015-06-092015-06-16$17.07$16.87-2.00%6
2015-04-292015-06-05$15.50$16.615.19%27
2015-04-142015-04-21$13.83$13.96-1.88%6
2014-09-152014-09-16$16.92$17.38-7.41%2
2014-08-042014-09-12$15.90$18.6115.75%29
2014-07-142014-07-17$15.11$14.36-0.49%4
2014-07-102014-07-11$14.63$14.54-1.45%2
2014-07-082014-07-09$14.60$14.87-1.45%2
2014-06-232014-07-07$15.81$14.84-0.24%10
2013-03-262013-04-02$2.52$2.9613.44%5
2013-02-202013-02-22$2.57$2.41-8.57%3
2013-02-152013-02-19$2.47$2.62-2.73%2
2013-02-122013-02-14$2.53$2.55-0.10%3
2013-01-032013-01-10$2.32$2.24-4.06%6
2012-11-122012-12-27$2.07$2.258.45%32
2012-03-272012-04-05$2.53$2.30-3.20%8
2012-03-122012-03-20$2.40$2.330.41%7
2012-03-012012-03-07$2.29$2.21-0.86%5
2012-02-232012-02-29$2.30$2.23-1.11%5