Strategy Zoo / S0837

PriceMomentum_V0837

ARCHIVEDhybrid

llmSimplified and diversified entry rules into two clear legs: a short-term momentum breakout (ret_20d + above sma_50) and a trend-confirmed entry (above sma_200 with positive sma_200_slope). Added a volatility filter on entries (vol_pctile < 0.85) and tightened cumulative-return requirement. Replaced the single small fixed exit with a composite exit: larger momentum stop (ret_20d < -3%), a technical stop (close < sma_50), and a max-drawdown safeguard. Restricted regime gate to UPTREND and excluded HIGH_VOLATILITY / EXTREME bubble states to avoid bad environments. Added volatility-based position sizing rules to reduce size in high-volatility regimes. These structural changes aim to improve robustness, reduce large drawdowns, and generalize better in walk-forward.

Fitness
0.2897
Generation
38
Complexity
17
Created
2026-09-29

Lineage

Parents (1)
PriceMomentum_V0624S0624 · gen 29ARCHIVEDllm

entry = PriceMomentum_V0602 OR LongTermTrend_V0519

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V0837  [hybrid]
require regime.trend in ['UPTREND']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL', 'EXPENSIVE']
if flat and ((close > sma_50 and ret_20d > 0.07 and vol_pctile < 0.85) or (close > sma_200 and sma_200_slope > 0.0 and ret_20d > 0.03 and cumret_252d > -0.15)):
    position = 1.0
if long and (ret_20d < -0.03 or close < sma_50 or drawdown > 0.12):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR1.0%28.5%2.5%6.7%
Total Return8.5%112.0%9.6%159.6%
Sharpe0.151.080.220.41
Sortino0.100.770.120.26
Calmar0.020.620.080.15
Volatility19.1%26.4%22.4%21.6%
Max DD-41.7%-45.7%-30.3%-45.7%
Win Rate37.5%40.0%50.0%40.7%
Avg Win8.4%26.2%10.4%14.5%
Avg Loss-5.0%-6.1%-7.6%-5.7%
Payoff1.694.311.362.53
Expectancy0.0%6.8%1.4%2.5%
Profit Factor1.012.871.361.74
Trades32151259
Avg Holding Days12.812.512.713.2
Turnover8.110.06.58.0
Exposure20.1%22.8%14.9%19.4%

Growth of $100

PriceMomentum_V0837 vs TSLA Buy & Hold
PriceMomentum_V0837 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-8.1%-0.72-14.4%3
20173.5%0.27-21.8%11
2018-16.9%-1.37-16.8%3
201917.8%1.36-7.4%0
202089.9%2.58-10.5%5
202152.3%1.48-23.1%6
2022-29.5%-1.74-32.0%4

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 testDOWNTREND2730.0%0.000%
hidden testEXPENSIVE8377.5%1.9555%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-24.0%-1.202%
hidden testLOW VOLATILITY43324.1%1.3917%
hidden testMEDIUM VOLATILITY2501.4%0.0426%
hidden testNORMAL806-2.1%-0.1012%
hidden testSIDEWAYS293-13.8%-1.031%
hidden testUPTREND37123.6%0.7037%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE31140.4%1.3341%
trainEXTREME10011.6%1.551%
trainHIGH VOLATILITY6994.5%0.272%
trainLOW VOLATILITY74520.7%1.0039%
trainMEDIUM VOLATILITY568-22.6%-1.1418%
trainNORMAL1,601-5.0%-0.3017%
trainSIDEWAYS592-8.5%-1.191%
trainUPTREND90211.9%0.4244%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE138115.7%3.0054%
validationEXTREME14447.3%2.613%
validationHIGH VOLATILITY258-8.2%-0.661%
validationLOW VOLATILITY18324.7%1.2638%
validationMEDIUM VOLATILITY31560.8%1.6732%
validationNORMAL474-2.5%-0.1120%
validationSIDEWAYS206-24.8%-1.592%
validationUPTREND42562.8%1.8840%

Trades (full period)

59 trades
EntryExitEntry PxExit PxReturnDays
2026-05-292026-06-01$435.79$415.88-1.63%2
2025-12-122026-01-05$458.96$451.67-2.17%15
2025-09-122025-11-14$395.94$404.358.79%46
2025-09-042025-09-05$338.53$350.841.13%2
2025-05-222025-06-06$341.04$295.14-15.09%11
2024-10-032024-10-14$240.66$219.16-12.71%8
2024-09-232024-09-27$250.00$260.466.49%5
2024-09-162024-09-20$226.78$238.255.71%5
2024-09-062024-09-09$210.73$216.27-8.64%2
2024-07-022024-07-12$231.26$248.2314.63%8
2024-01-032024-01-10$238.45$233.94-5.61%6
2023-06-022023-08-02$213.97$254.1125.56%42
2022-08-162022-08-22$306.56$289.91-4.28%5
2022-08-052022-08-08$288.17$290.42-6.82%2
2022-04-052022-04-27$363.75$293.84-23.64%16
2022-01-122022-01-13$368.74$343.853.73%2
2021-12-092021-12-10$334.60$339.01-6.29%2
2021-11-232021-12-01$369.68$365.00-1.25%6
2021-08-242021-11-10$236.16$355.9844.62%56
2021-08-052021-08-23$238.21$235.43-4.50%13
2021-01-122021-02-11$283.15$270.55-0.98%22
2020-12-102021-01-11$209.02$270.4045.30%21
2020-11-192020-12-08$166.42$216.6331.62%13
2020-10-222020-10-29$141.93$136.94-4.12%6
2020-10-132020-10-20$148.88$140.65-2.79%6
2020-06-252020-06-30$65.73$71.994.84%4
2019-11-222020-01-22$22.20$37.9753.90%40
2018-11-272018-12-19$22.93$22.20-2.79%16
2018-02-082018-02-09$21.02$20.69-8.82%2
2018-02-012018-02-06$23.28$22.26-6.17%4
2017-10-052017-10-10$23.69$23.71-3.59%4
2017-09-182017-09-26$25.67$23.02-9.35%7
2017-08-152017-08-18$24.16$23.16-3.46%4
2017-08-042017-08-07$23.79$23.682.63%2
2017-06-302017-07-06$24.11$20.59-9.51%4
2017-06-052017-06-14$23.15$25.3810.40%8
2017-05-122017-05-19$21.65$20.72-3.30%6
2017-04-242017-05-10$20.54$21.684.92%13
2017-04-202017-04-21$20.17$20.37-1.18%2
2017-03-282017-04-04$18.50$20.2510.26%6
2017-01-052017-02-28$15.12$16.678.26%37
2016-07-262016-08-23$15.30$14.99-3.27%21
2016-06-082016-06-09$15.70$15.291.17%2
2016-04-052016-05-04$17.03$14.84-6.12%22
2015-08-062015-08-07$16.41$16.17-9.08%2
2015-05-112015-07-28$15.97$17.656.72%55
2015-04-292015-05-01$15.50$15.07-2.12%3
2014-09-192014-09-23$17.29$16.69-5.42%3
2014-08-052014-09-16$15.90$17.386.22%30
2014-06-232014-07-17$15.81$14.36-5.60%18
2014-03-202014-03-26$15.66$14.20-6.72%5
2014-02-132014-02-26$13.31$16.8726.72%9
2013-09-092013-10-22$10.71$11.443.16%32
2013-03-262013-04-02$2.52$2.9616.82%5
2013-01-252013-02-22$2.47$2.41-5.14%20
2012-12-182013-01-11$2.31$2.19-2.72%17
2012-11-232012-12-14$2.14$2.253.30%16
2012-02-232012-04-10$2.30$2.16-3.32%33
2012-02-212012-02-22$2.30$2.28-1.54%2