Strategy Zoo / S0718

PriceMomentum_V0718

ARCHIVEDhybrid

llm['Simplified and regularized entry: require moderate 20d momentum (>6%) plus either price above sma_50 or stronger 20d momentum (>8%), positive sma_50 slope, moderate volatility (vol_pctile < 0.75) and non-extreme RSI (<80). This reduces reliance on overfit large ret_20d thresholds and adds trend/volatility confirmation.', 'Improved exits: multi-condition exit (short intraday stop ret_1d<-3%, medium-term deterioration ret_20d<-8%, or MACD histogram turning negative) to cut losses and signals momentum reversal earlier.', 'Added stricter regime gates: only allow entries in UPTREND and non-high-volatility regimes and only in NORMAL bubble environment to reduce overfitting and avoid adverse regimes.', 'Introduced graduated position sizing by volatility (full size in low vol, reduced in medium/high) and bubble penalties (shrink/zero in EXPENSIVE/EXTREME) and lowered base_position to 0.9 to moderate exposures.']

Fitness
0.0944
Generation
33
Complexity
20
Created
2026-09-25

Lineage

Parents (1)
PriceMomentum_V0707S0707 · gen 32ARCHIVEDllm

changed ret_20d threshold 0.05 -> 0.1275; changed sma_200_slope threshold 0.0 -> 0.001

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V0718  [hybrid]
require regime.trend in ['UPTREND']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL']
if flat and (ret_20d > 0.06 and (close > sma_50 or ret_20d > 0.08) and sma_50_slope > 0.0 and vol_pctile < 0.75 and rsi_14 < 80.0):
    position = 0.9
if long and (ret_1d < -0.03 or ret_20d < -0.08 or macd_hist < 0.0):
    position = 0.0  # exit to cash
if regime.volatility == "LOW_VOLATILITY": position *= 1.0
if regime.volatility == "MEDIUM_VOLATILITY": position *= 0.65
if regime.volatility == "HIGH_VOLATILITY": position *= 0.35
if regime.bubble == "EXPENSIVE": position *= 0.4
if regime.bubble == "EXTREME": position *= 0.0

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-0.9%-1.0%7.7%1.2%
Total Return-6.7%-2.9%31.6%19.3%
Sharpe-0.04-0.030.650.16
Sortino-0.02-0.020.290.08
Calmar-0.05-0.040.720.05
Volatility9.5%11.1%12.6%10.7%
Max DD-17.3%-24.3%-10.7%-24.3%
Win Rate35.8%40.0%50.0%40.4%
Avg Win3.0%5.0%5.0%4.0%
Avg Loss-1.8%-3.1%-2.6%-2.2%
Payoff1.681.611.961.82
Expectancy-0.1%0.1%1.2%0.3%
Profit Factor0.941.071.961.23
Trades53202699
Avg Holding Days3.94.03.23.7
Turnover11.19.711.410.9
Exposure6.7%6.2%4.8%6.1%

Growth of $100

PriceMomentum_V0718 vs TSLA Buy & Hold
PriceMomentum_V0718 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-3.0%-0.48-7.1%9
201710.0%1.90-1.1%2
2018-5.9%-1.30-5.9%3
2019-6.4%-1.13-6.6%3
20200.0%0.000.0%0
202111.9%0.72-12.8%11
2022-13.3%-1.82-15.1%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 testDOWNTREND2710.0%0.000%
hidden testEXPENSIVE8338.1%2.442%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-5.7%-0.701%
hidden testLOW VOLATILITY43112.0%1.017%
hidden testMEDIUM VOLATILITY25015.8%0.945%
hidden testNORMAL8045.6%0.445%
hidden testSIDEWAYS293-0.4%-0.271%
hidden testUPTREND37121.0%1.0612%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE3112.6%1.181%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY6995.1%0.600%
trainLOW VOLATILITY745-2.3%-0.1916%
trainMEDIUM VOLATILITY568-4.8%-0.782%
trainNORMAL1,601-1.0%-0.108%
trainSIDEWAYS592-3.3%-1.040%
trainUPTREND9021.2%0.0915%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-4.8%-0.660%
validationLOW VOLATILITY183-2.1%-0.1819%
validationMEDIUM VOLATILITY3154.3%0.333%
validationNORMAL474-0.6%-0.0410%
validationSIDEWAYS206-9.5%-1.611%
validationUPTREND4254.0%0.2811%

Trades (full period)

99 trades
EntryExitEntry PxExit PxReturnDays
2026-05-292026-06-01$435.79$415.88-1.46%2
2025-12-192025-12-30$481.20$454.43-4.59%7
2025-12-152025-12-18$475.31$483.371.47%4
2025-09-122025-09-15$395.94$410.046.43%2
2025-09-042025-09-05$338.53$350.841.02%2
2025-06-042025-06-05$332.05$284.70-2.19%2
2025-06-022025-06-03$342.69$344.27-0.75%2
2025-05-222025-05-28$341.04$356.906.94%4
2024-10-092024-10-10$241.05$238.77-1.45%2
2024-10-072024-10-08$240.83$244.50-3.51%2
2024-10-032024-10-04$240.66$250.08-2.08%2
2024-09-162024-09-20$226.78$238.253.37%5
2024-09-052024-09-09$230.17$216.27-2.33%3
2024-07-022024-07-12$231.26$248.2311.85%8
2023-07-262023-07-27$264.35$255.71-0.50%2
2023-07-202023-07-21$262.90$260.02-8.94%2
2023-07-182023-07-19$293.34$291.260.74%2
2023-07-142023-07-17$281.38$290.380.95%2
2023-07-122023-07-13$271.99$277.900.55%2
2023-07-102023-07-11$269.61$269.79-1.14%2
2023-07-062023-07-07$276.54$274.43-1.35%2
2023-07-032023-07-05$279.82$282.486.02%2
2023-06-292023-06-30$257.50$261.770.26%2
2023-06-272023-06-28$250.21$256.243.24%2
2023-06-232023-06-26$256.60$241.05-2.90%2
2023-06-022023-06-22$213.97$264.6122.12%14
2022-09-212022-09-23$300.80$275.33-6.05%3
2022-08-162022-08-19$306.56$296.67-1.34%4
2022-08-052022-08-08$288.17$290.42-3.99%2
2022-04-192022-04-20$342.72$325.731.27%2
2022-04-142022-04-18$328.33$334.76-2.25%2
2022-04-122022-04-13$328.98$340.790.54%2
2022-04-072022-04-11$352.42$325.31-1.24%3
2022-04-052022-04-06$363.75$348.59-2.88%2
2022-01-122022-01-13$368.74$343.852.18%2
2021-11-262021-11-29$360.64$379.00-1.90%2
2021-11-232021-11-24$369.68$372.00-2.53%2
2021-11-092021-11-10$341.17$355.98-7.13%2
2021-10-132021-11-03$270.36$404.6234.35%16
2021-10-112021-10-12$263.98$268.570.56%2
2021-09-272021-10-07$263.79$264.540.80%9
2021-09-232021-09-24$251.21$258.130.02%2
2021-09-092021-09-21$251.62$246.46-3.00%9
2021-08-262021-08-27$233.72$237.31-1.45%2
2021-08-242021-08-25$236.16$237.070.10%2
2021-08-052021-08-17$238.21$221.90-3.30%9
2019-12-032019-12-04$22.41$22.200.18%2
2019-11-222019-11-25$22.20$22.42-5.70%2
2019-10-212019-10-22$16.90$17.04-0.90%2
2018-12-132018-12-18$25.12$22.47-2.22%4
2018-12-072018-12-10$23.86$24.34-0.94%2
2018-02-012018-02-05$23.28$22.21-2.86%3
2017-01-312017-02-02$16.80$16.77-0.68%3
2017-01-052017-01-25$15.12$16.9610.70%14
2016-07-262016-08-09$15.30$15.27-1.68%11
2016-04-292016-05-02$16.05$16.12-1.76%2
2016-04-272016-04-28$16.76$16.51-0.64%2
2016-04-252016-04-26$16.79$16.92-0.56%2
2016-04-212016-04-22$16.55$16.92-0.51%2
2016-04-192016-04-20$16.49$16.66-1.62%2
2016-04-152016-04-18$16.97$16.930.50%2
2016-04-112016-04-14$16.66$16.790.93%4
2016-04-052016-04-08$17.03$16.672.32%4
2015-07-212015-07-22$17.78$17.86-3.33%2
2015-07-152015-07-16$17.54$17.78-1.03%2
2015-06-192015-07-08$17.50$17.001.90%13
2015-06-092015-06-10$17.07$16.71-0.28%2
2015-06-052015-06-08$16.61$17.091.00%2
2015-06-032015-06-04$16.60$16.390.05%2
2015-06-012015-06-02$16.63$16.56-0.66%2
2015-05-282015-05-29$16.76$16.721.28%2
2015-05-262015-05-27$16.50$16.50-0.28%2
2015-05-112015-05-22$15.97$16.523.24%10
2015-04-292015-05-01$15.50$15.07-1.90%3
2014-09-152014-09-16$16.92$17.38-8.34%2
2014-09-092014-09-12$18.57$18.61-0.75%4
2014-09-022014-09-08$18.94$18.812.40%5
2014-08-282014-08-29$17.59$17.980.03%2
2014-08-262014-08-27$17.45$17.55-0.46%2
2014-08-052014-08-25$15.90$17.506.69%15
2014-07-152014-07-16$14.64$14.48-3.00%2
2014-07-112014-07-14$14.54$15.11-0.72%2
2014-07-092014-07-10$14.87$14.631.46%2
2014-07-072014-07-08$14.84$14.60-2.76%2
2014-06-232014-07-03$15.81$15.28-0.22%9
2013-03-262013-04-02$2.52$2.9615.13%5
2013-02-202013-02-21$2.57$2.34-1.87%2
2013-02-152013-02-19$2.47$2.62-3.07%2
2013-02-122013-02-14$2.53$2.55-0.11%3
2012-12-262012-12-27$2.24$2.25-1.99%2
2012-12-212012-12-24$2.27$2.29-1.30%2
2012-12-182012-12-19$2.31$2.310.32%2
2012-11-232012-12-14$2.14$2.252.99%16
2012-03-272012-04-05$2.53$2.30-3.40%8
2012-03-142012-03-16$2.35$2.35-2.90%3
2012-03-122012-03-13$2.40$2.413.11%2
2012-03-052012-03-06$2.25$2.21-0.89%2
2012-03-012012-03-02$2.29$2.272.51%2
2012-02-232012-02-29$2.30$2.23-1.25%5