Strategy Zoo / S0771

PriceMomentum_V0771

ARCHIVEDhybrid

llmSimplified and regularized entry momentum rule (ret_20d > 3%) with a clear trend/MA gate (close > sma_50 OR positive sma_50_slope), added a volatility percentile filter and looser long-term drawdown guard to reduce overfitting. Expanded exit to faster, multi-condition rules (5d stop, 20d stop, or MA break) for better risk control. Added regime gates to only trade in uptrends and non-high-volatility regimes, and tiered position sizing by volatility (full size in low vol, reduced in medium/high) to lower drawdowns and improve walk-forward robustness.

Fitness
0.2704
Generation
35
Complexity
17
Created
2026-09-26

Lineage

Parents (1)
PriceMomentum_V0671S0671 · gen 31ARCHIVEDllm

logic of PriceMomentum_V0539 with risk overlay of LongTermTrend_V0472

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V0771  [hybrid]
require regime.trend in ['UPTREND']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL', 'EXPENSIVE']
if flat and (ret_20d > 0.03 and (close > sma_50 or sma_50_slope > 0.0) and vol_pctile < 0.85 and cumret_252d > -0.5):
    position = 1.0
if long and (ret_5d < -0.05 or close < sma_50 or ret_20d < -0.03):
    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
CAGR3.6%16.6%3.8%6.4%
Total Return32.9%58.5%15.0%149.3%
Sharpe0.300.840.290.43
Sortino0.190.640.150.28
Calmar0.120.400.150.16
Volatility16.8%20.7%19.1%18.2%
Max DD-29.9%-41.3%-25.8%-41.3%
Win Rate41.9%37.5%45.5%41.6%
Avg Win5.5%14.5%6.4%8.9%
Avg Loss-3.5%-4.4%-3.7%-3.8%
Payoff1.583.301.702.36
Expectancy0.3%2.7%0.9%1.5%
Profit Factor1.141.981.421.68
Trades43242289
Avg Holding Days9.58.06.88.7
Turnover9.913.011.010.8
Exposure17.7%18.5%11.7%16.4%

Growth of $100

PriceMomentum_V0771 vs TSLA Buy & Hold
PriceMomentum_V0771 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-4.4%-0.52-9.1%3
201713.2%0.79-11.3%11
2018-14.7%-1.35-14.6%3
201918.0%1.40-7.3%3
202066.4%2.58-7.9%6
202132.0%1.21-20.0%9
2022-29.8%-2.44-31.5%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 testDOWNTREND2720.0%0.000%
hidden testEXPENSIVE8361.7%1.8443%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-16.8%-1.201%
hidden testLOW VOLATILITY43219.9%1.2014%
hidden testMEDIUM VOLATILITY2503.5%0.1318%
hidden testNORMAL8050.1%0.019%
hidden testSIDEWAYS293-11.3%-1.152%
hidden testUPTREND37123.0%0.7928%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE31136.1%1.4434%
trainEXTREME1008.1%1.551%
trainHIGH VOLATILITY6996.2%0.461%
trainLOW VOLATILITY74522.2%1.1138%
trainMEDIUM VOLATILITY568-19.3%-1.2412%
trainNORMAL1,601-1.3%-0.0916%
trainSIDEWAYS592-8.5%-1.221%
trainUPTREND90216.7%0.6839%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13877.7%2.6238%
validationEXTREME14433.1%2.612%
validationHIGH VOLATILITY258-5.7%-0.661%
validationLOW VOLATILITY1837.2%0.3538%
validationMEDIUM VOLATILITY31542.4%1.5822%
validationNORMAL474-4.8%-0.2518%
validationSIDEWAYS206-29.2%-2.312%
validationUPTREND42545.2%1.7332%

Trades (full period)

89 trades
EntryExitEntry PxExit PxReturnDays
2026-05-292026-06-01$435.79$415.88-1.63%2
2026-01-022026-01-05$438.07$451.67-2.79%2
2025-12-122025-12-31$458.96$449.721.49%13
2025-09-122025-11-10$395.94$445.2313.53%42
2025-09-042025-09-05$338.53$350.841.13%2
2025-07-312025-08-01$308.27$302.63-2.50%2
2025-07-082025-07-09$297.81$295.880.78%2
2025-06-052025-06-06$284.70$295.14-10.11%2
2025-05-222025-06-04$341.04$332.052.77%9
2024-10-092024-10-14$241.05$219.16-11.10%4
2024-10-072024-10-08$240.83$244.50-3.90%2
2024-10-032024-10-04$240.66$250.08-2.49%2
2024-09-232024-09-27$250.00$260.464.53%5
2024-09-162024-09-20$226.78$238.254.02%5
2024-09-052024-09-09$230.17$216.27-2.82%3
2024-09-032024-09-04$210.60$219.41-1.29%2
2024-07-022024-07-12$231.26$248.2313.38%8
2024-01-032024-01-04$238.45$237.93-4.21%2
2023-07-272023-08-02$255.71$254.11-0.83%5
2023-07-252023-07-26$265.28$264.35-1.12%2
2023-06-282023-07-21$256.24$260.025.97%17
2023-06-022023-06-27$213.97$250.2115.93%17
2022-09-202022-09-23$308.73$275.33-6.81%4
2022-09-122022-09-14$304.42$302.61-2.71%3
2022-08-162022-08-22$306.56$289.91-3.67%5
2022-08-052022-08-08$288.17$290.42-4.78%2
2022-04-192022-04-27$342.72$293.84-9.02%7
2022-04-142022-04-18$328.33$334.76-2.70%2
2022-04-122022-04-13$328.98$340.790.65%2
2022-04-052022-04-11$363.75$325.31-7.53%5
2022-01-122022-01-13$368.74$343.852.61%2
2021-12-092021-12-10$334.60$339.01-4.40%2
2021-11-232021-12-01$369.68$365.00-0.82%6
2021-08-242021-11-10$236.16$355.9845.15%56
2021-08-192021-08-20$224.49$226.75-2.45%2
2021-08-052021-08-18$238.21$229.66-6.55%10
2021-02-022021-02-11$290.93$270.55-4.66%8
2021-01-202021-02-01$283.48$279.94-4.34%9
2021-01-122021-01-19$283.15$281.521.18%5
2020-12-102021-01-11$209.02$270.4030.32%21
2020-11-192020-12-08$166.42$216.6321.45%13
2020-10-262020-10-29$140.09$136.94-3.67%4
2020-10-222020-10-23$141.93$140.210.38%2
2020-10-132020-10-20$148.88$140.65-1.93%6
2020-06-252020-06-30$65.73$71.993.41%4
2019-12-022020-01-22$22.32$37.9763.58%35
2019-11-272019-11-29$22.09$22.000.52%2
2019-11-222019-11-25$22.20$22.42-6.33%2
2019-10-212019-10-22$16.90$17.04-1.08%2
2018-11-272018-12-19$22.93$22.20-1.14%16
2018-02-082018-02-09$21.02$20.69-8.82%2
2018-02-012018-02-06$23.28$22.26-5.27%4
2017-10-052017-10-10$23.69$23.71-2.51%4
2017-09-182017-09-25$25.67$23.00-6.74%6
2017-08-152017-08-18$24.16$23.16-2.42%4
2017-08-042017-08-07$23.79$23.681.84%2
2017-06-302017-07-03$24.11$23.510.03%2
2017-06-052017-06-14$23.15$25.386.94%8
2017-05-122017-05-18$21.65$20.87-3.82%5
2017-04-242017-05-10$20.54$21.681.07%13
2017-04-202017-04-21$20.17$20.37-0.83%2
2017-03-282017-04-04$18.50$20.257.92%6
2017-01-052017-02-24$15.12$17.1312.55%35
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-02$17.03$16.12-2.33%20
2015-08-062015-08-07$16.41$16.17-6.35%2
2015-07-142015-07-28$17.71$17.65-0.41%11
2015-05-112015-07-13$15.97$17.489.31%44
2015-04-292015-05-01$15.50$15.07-2.12%3
2014-09-192014-09-22$17.29$16.67-1.33%2
2014-08-052014-09-16$15.90$17.386.22%30
2014-07-112014-07-17$14.54$14.36-1.25%5
2014-07-092014-07-10$14.87$14.631.62%2
2014-06-232014-07-08$15.81$14.60-3.21%11
2014-03-202014-03-25$15.66$14.70-4.81%4
2014-02-132014-02-26$13.31$16.8717.45%9
2013-10-112013-10-22$11.91$11.44-2.02%8
2013-10-092013-10-10$11.25$11.53-2.52%2
2013-10-072013-10-08$12.20$11.650.67%2
2013-09-092013-10-04$10.71$12.073.59%20
2013-03-262013-04-02$2.52$2.9616.82%5
2013-02-202013-02-22$2.57$2.41-10.67%3
2013-01-242013-02-19$2.47$2.622.69%18
2012-12-182013-01-11$2.31$2.19-2.72%17
2012-11-232012-12-14$2.14$2.253.30%16
2012-04-092012-04-10$2.21$2.16-2.84%2
2012-02-232012-04-05$2.30$2.304.71%31
2012-02-212012-02-22$2.30$2.28-1.54%2