Strategy Zoo / S0391

PriceMomentum_V0391

ARCHIVEDhybrid

llmSimplified and broadened momentum entry (lowered ret_20d threshold and added robust alternative signals: sma_50 cross+slope, 20d breakout, and 60d momentum with moderate vol); added volatility regime gate to avoid high-volatility periods and restricted bubble to NORMAL; multi-level position sizing by volatility to reduce exposure in turbulent markets; more flexible exit: combined modest stop (ret_20d < -8%), trend failure (dist_sma_50 < 0), and overbought (rsi_14 > 78) to improve risk control and reduce overfitting.

Fitness
0.1228
Generation
18
Complexity
20
Created
2026-09-18

Lineage

Parents (1)
PriceMomentum_V0314S0314 · gen 15ARCHIVEDllm

entry = PriceMomentum_V0267 AND LongTermTrend_V0182

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V0391  [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.04 and ((close > sma_50 and sma_50_slope > 0.0) or breakout_20 > 0.5 or (ret_60d > 0.08 and vol_pctile < 0.6))):
    position = 0.9
if long and (ret_20d < -0.08 or dist_sma_50 < 0.0 or rsi_14 > 78.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.4

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR0.9%-2.9%-5.6%-1.6%
Total Return7.0%-8.4%-19.3%-20.9%
Sharpe0.13-0.11-0.21-0.01
Sortino0.09-0.07-0.14-0.01
Calmar0.02-0.09-0.22-0.03
Volatility16.0%15.6%18.9%16.7%
Max DD-38.8%-30.9%-25.1%-47.4%
Win Rate44.1%33.3%40.0%40.5%
Avg Win7.2%8.0%6.2%7.0%
Avg Loss-4.9%-4.3%-4.9%-4.8%
Payoff1.491.831.271.46
Expectancy0.5%-0.2%-0.5%-0.0%
Profit Factor1.180.920.851.00
Trades34153079
Avg Holding Days12.912.27.310.6
Turnover7.47.213.28.8
Exposure16.8%17.6%16.5%16.9%

Growth of $100

PriceMomentum_V0391 vs TSLA Buy & Hold
PriceMomentum_V0391 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-5.2%-0.49-15.9%6
201711.2%1.47-4.8%5
2018-15.7%-1.37-17.0%3
20190.2%0.12-20.7%4
20200.0%0.000.0%0
20219.4%0.54-17.4%12
2022-16.4%-0.92-27.1%3

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 testDOWNTREND267-3.0%-1.561%
hidden testEXPENSIVE8338.4%2.442%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-11.1%-0.831%
hidden testLOW VOLATILITY42912.9%0.6627%
hidden testMEDIUM VOLATILITY248-25.9%-1.1615%
hidden testNORMAL800-8.7%-0.4419%
hidden testSIDEWAYS293-26.4%-1.2727%
hidden testUPTREND37112.9%0.5519%
trainDOWNTREND518-1.5%-1.120%
trainEXPENSIVE3116.2%1.151%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY6990.3%0.021%
trainLOW VOLATILITY74519.0%1.0636%
trainMEDIUM VOLATILITY568-17.9%-1.3911%
trainNORMAL1,6011.4%0.0821%
trainSIDEWAYS592-17.5%-1.1714%
trainUPTREND90217.0%0.8328%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-7.5%-1.000%
validationLOW VOLATILITY18316.2%0.7751%
validationMEDIUM VOLATILITY315-7.4%-0.4413%
validationNORMAL474-2.7%-0.1428%
validationSIDEWAYS206-18.9%-0.9227%
validationUPTREND4256.2%0.4118%

Trades (full period)

79 trades
EntryExitEntry PxExit PxReturnDays
2026-05-082026-06-08$428.35$408.95-4.65%21
2026-04-202026-04-21$392.50$386.42-1.40%2
2025-12-152026-01-05$475.31$451.67-4.24%14
2025-08-252025-09-15$346.60$410.0414.55%15
2025-08-122025-08-21$340.84$320.11-4.19%8
2025-08-052025-08-06$308.72$319.91-0.34%2
2025-07-312025-08-01$308.27$302.63-2.25%2
2025-06-022025-06-06$342.69$295.14-11.48%5
2025-05-222025-05-28$341.04$356.907.00%4
2025-05-122025-05-13$318.38$334.074.12%2
2024-09-242024-10-14$254.27$219.16-11.74%15
2024-09-162024-09-20$226.78$238.253.62%5
2024-09-062024-09-09$210.73$216.27-5.44%2
2024-09-042024-09-05$219.41$230.172.51%2
2024-07-112024-07-12$241.03$248.23-5.44%2
2024-07-092024-07-10$262.33$263.262.21%2
2024-07-052024-07-08$251.52$252.941.18%2
2024-06-142024-07-03$178.01$246.3923.65%13
2023-11-292024-01-10$244.14$233.94-4.42%29
2023-09-122023-09-22$267.48$244.88-4.26%9
2023-06-212023-08-03$259.46$259.32-5.64%31
2023-06-162023-06-20$260.54$274.451.45%2
2023-06-142023-06-15$256.79$255.90-0.85%2
2023-06-122023-06-13$249.83$258.711.82%2
2023-06-082023-06-09$234.86$244.403.94%2
2023-05-312023-06-07$203.93$224.578.79%6
2023-04-122023-04-13$180.54$185.90-2.23%2
2023-04-102023-04-11$184.51$186.79-0.45%2
2023-04-032023-04-06$194.77$185.06-8.51%4
2023-02-282023-03-10$205.71$173.44-10.89%9
2022-09-122022-09-26$304.42$276.01-7.47%11
2022-08-022022-09-01$300.59$277.16-7.08%23
2022-03-222022-04-27$331.33$293.84-2.67%26
2021-12-092021-12-14$334.60$319.50-6.20%4
2021-11-232021-12-03$369.68$338.32-4.02%8
2021-11-092021-11-10$341.17$355.98-7.68%2
2021-11-052021-11-08$407.36$387.65-0.53%2
2021-11-032021-11-04$404.62$409.972.12%2
2021-11-012021-11-02$402.86$390.675.22%2
2021-10-282021-10-29$359.01$371.332.25%2
2021-10-262021-10-27$339.48$345.95-0.52%2
2021-10-222021-10-25$303.23$341.621.40%2
2021-10-202021-10-21$288.60$298.00-0.02%2
2021-06-242021-10-19$226.61$288.0928.78%82
2021-04-142021-04-30$244.08$236.48-7.23%13
2019-11-222019-12-17$22.20$25.276.59%17
2019-10-152019-10-25$17.19$21.8814.95%9
2019-09-122019-09-25$16.39$15.25-8.76%10
2019-07-222019-07-26$17.05$15.20-10.36%5
2018-11-272018-12-21$22.93$21.32-5.03%18
2018-03-132018-03-15$22.79$21.71-3.58%3
2018-01-222018-02-09$23.44$20.69-7.91%15
2017-12-122017-12-26$22.74$21.15-1.86%10
2017-01-312017-02-03$16.80$16.760.15%4
2017-01-232017-01-24$16.59$16.971.36%2
2017-01-182017-01-20$15.89$16.322.94%3
2016-12-282017-01-17$14.65$15.717.24%13
2016-10-042016-10-05$14.09$13.90-1.14%2
2016-07-262016-08-29$15.30$14.35-4.09%25
2016-06-082016-06-10$15.70$14.59-1.33%3
2016-04-082016-05-04$16.67$14.84-7.76%19
2016-03-282016-04-07$15.35$17.1511.15%9
2016-03-212016-03-22$15.89$15.621.38%2
2015-09-222015-09-29$17.40$16.44-4.83%6
2015-08-062015-08-07$16.41$16.17-5.72%2
2015-04-282015-07-28$15.37$17.6511.51%64
2015-04-142015-04-21$13.83$13.96-2.11%6
2014-11-122014-11-24$16.61$16.45-2.18%9
2014-09-082014-09-23$18.81$16.69-7.99%12
2014-09-042014-09-05$19.07$18.491.37%2
2014-06-172014-09-03$15.44$18.7523.46%55
2013-03-262013-04-02$2.52$2.9615.13%5
2013-02-152013-02-22$2.47$2.41-7.46%5
2013-02-122013-02-14$2.53$2.55-0.11%3
2012-11-062013-01-14$2.08$2.223.90%47
2012-09-182012-09-21$2.09$2.00-3.31%4
2012-07-162012-07-24$2.40$1.99-6.73%7
2012-06-192012-06-25$2.14$2.213.77%5
2012-02-152012-04-10$2.24$2.163.71%38