Strategy Zoo / S1218

PriceMomentum_V1218

ARCHIVEDhybrid

llmAdded regime gates to require UPTREND and avoid HIGH_VOL/BUBBLE EXTREME; tightened entry to require positive long-term trend (sma_200_slope>0), moderate volatility (vol_pctile<0.75) and MACD confirmation, with either 20d momentum OR a 20d breakout to trigger entry; strengthened exits to include a clearer stop-loss (ret_20d<-2%), cap on drawdown (<-10%), and exit when volatility becomes extreme (vol_pctile>0.9); added position scaling to reduce risk in higher volatility and fully avoid positions if long-term trend flips negative.

Fitness
0.3179
Generation
56
Complexity
14
Created
2026-10-07

Lineage

Parents (1)
PriceMomentum_V1003S1003 · gen 46ARCHIVEDllm

entry from PriceMomentum_V0640, exit from PriceMomentum_V0449

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V1218  [hybrid]
require regime.trend in ['UPTREND']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL', 'EXPENSIVE']
if flat and (sma_200_slope > 0.0 and vol_pctile < 0.75 and macd_hist > 0.0 and (ret_20d > 0.12 or breakout_20 > 0.0)):
    position = 1.0
if long and (ret_20d < -0.02 or drawdown < -0.1 or vol_pctile > 0.9):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-0.0%31.6%-4.1%4.8%
Total Return-0.1%128.0%-14.6%100.3%
Sharpe0.071.36-0.340.38
Sortino0.030.84-0.120.19
Calmar-0.001.19-0.150.13
Volatility14.0%21.9%10.6%15.3%
Max DD-28.1%-26.5%-27.7%-37.2%
Win Rate32.1%36.8%35.7%34.4%
Avg Win7.3%18.9%3.7%11.1%
Avg Loss-3.5%-2.6%-3.6%-3.3%
Payoff2.057.321.013.37
Expectancy-0.1%5.3%-1.0%1.7%
Profit Factor0.974.270.561.77
Trades28191461
Avg Holding Days7.05.83.86.1
Turnover7.112.77.58.3
Exposure8.8%12.2%4.1%8.3%

Growth of $100

PriceMomentum_V1218 vs TSLA Buy & Hold
PriceMomentum_V1218 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
20160.0%0.000.0%0
20175.1%0.36-12.6%10
2018-10.9%-1.52-10.8%2
20199.5%1.31-3.8%0
202084.9%2.61-7.9%3
202134.4%1.22-19.0%12
2022-11.6%-1.43-11.6%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 testDOWNTREND2780.0%0.000%
hidden testEXPENSIVE83-3.7%-0.1320%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-7.6%-1.010%
hidden testLOW VOLATILITY4393.8%0.366%
hidden testMEDIUM VOLATILITY250-12.6%-0.974%
hidden testNORMAL812-3.9%-0.533%
hidden testSIDEWAYS294-7.9%-1.101%
hidden testUPTREND371-3.0%-0.1910%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE31129.3%1.1923%
trainEXTREME10011.6%1.551%
trainHIGH VOLATILITY6998.6%0.851%
trainLOW VOLATILITY7458.5%0.5517%
trainMEDIUM VOLATILITY568-18.3%-1.157%
trainNORMAL1,601-5.2%-0.477%
trainSIDEWAYS592-2.7%-0.840%
trainUPTREND9023.9%0.1919%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE138116.0%3.3041%
validationEXTREME14438.4%2.282%
validationHIGH VOLATILITY258-11.8%-1.000%
validationLOW VOLATILITY18317.6%1.3813%
validationMEDIUM VOLATILITY31571.1%2.3322%
validationNORMAL4742.2%0.127%
validationSIDEWAYS206-8.4%-1.120%
validationUPTREND42557.1%1.9921%

Trades (full period)

61 trades
EntryExitEntry PxExit PxReturnDays
2026-07-022026-07-06$393.45$419.77-7.68%2
2026-05-292026-06-01$435.79$415.88-1.63%2
2025-12-082026-01-05$439.58$451.67-3.92%19
2025-11-042025-11-10$444.26$445.23-8.48%5
2025-09-292025-10-06$443.21$453.25-2.59%6
2025-09-252025-09-26$423.39$440.40-4.58%2
2025-09-222025-09-24$434.21$442.79-0.25%3
2025-09-182025-09-19$416.85$426.07-2.31%2
2025-09-162025-09-17$421.62$425.862.62%2
2025-09-122025-09-15$395.94$410.047.15%2
2025-06-022025-06-03$342.69$344.27-1.29%2
2025-05-292025-05-30$358.43$346.460.23%2
2025-05-272025-05-28$362.89$356.906.73%2
2025-05-222025-05-23$341.04$339.341.72%2
2022-08-162022-08-17$306.56$304.00-1.09%2
2022-08-052022-08-08$288.17$290.42-6.82%2
2022-04-072022-04-08$352.42$341.830.90%2
2022-04-052022-04-06$363.75$348.59-4.93%2
2021-10-132021-11-10$270.36$355.9826.78%21
2021-10-082021-10-11$261.83$263.98-1.22%2
2021-09-282021-09-29$259.19$260.44-1.94%2
2021-09-202021-09-21$243.39$246.46-4.06%2
2021-09-162021-09-17$252.33$253.16-0.05%2
2021-09-102021-09-13$245.42$247.67-2.66%2
2021-09-082021-09-09$251.29$251.62-0.07%2
2021-08-312021-09-01$245.24$244.700.46%2
2021-08-132021-08-16$239.06$228.72-0.90%2
2021-08-052021-08-06$238.21$233.030.32%2
2021-01-122021-02-01$283.15$279.94-2.37%14
2020-12-102021-01-11$209.02$270.4045.30%21
2020-11-192020-12-08$166.42$216.6331.62%13
2020-10-152020-10-19$149.63$143.61-4.88%3
2019-12-172020-01-22$25.27$37.9743.15%24
2018-12-112018-12-19$24.45$22.20-7.88%7
2018-02-012018-02-05$23.28$22.21-3.18%3
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-052017-06-14$23.15$25.3810.40%8
2017-05-022017-05-10$21.26$21.68-0.69%7
2017-04-202017-04-21$20.17$20.37-1.18%2
2017-03-272017-04-04$18.01$20.2513.21%7
2017-02-102017-02-24$17.95$17.13-5.10%10
2017-01-092017-01-10$15.42$15.320.79%2
2017-01-052017-01-06$15.12$15.27-0.31%2
2015-07-212015-07-28$17.78$17.65-10.55%6
2015-05-192015-05-20$16.48$16.29-0.85%2
2015-05-152015-05-18$16.59$16.581.74%2
2015-05-132015-05-14$16.21$16.27-0.84%2
2014-08-042014-09-16$15.90$17.388.61%31
2014-06-232014-07-07$15.81$14.84-0.34%10
2014-02-132014-02-26$13.31$16.8726.72%9
2013-09-232013-10-04$12.07$12.07-5.69%10
2013-02-042013-02-22$2.52$2.41-8.38%14
2012-12-112012-12-14$2.35$2.25-2.97%4
2012-12-032012-12-05$2.31$2.250.04%3
2012-11-292012-11-30$2.25$2.251.18%2
2012-11-272012-11-28$2.14$2.22-0.57%2
2012-11-232012-11-26$2.14$2.15-1.25%2
2012-02-232012-04-10$2.30$2.16-3.32%33
2012-02-212012-02-22$2.30$2.28-1.54%2