Strategy Zoo / S1219

PriceMomentum_V1219

ARCHIVEDhybrid

llm1) Added regime gates: only trade in UPTREND, avoid HIGH volatility, and require NORMAL bubble to reduce regime overfitting. 2) Broadened entry to include momentum confirmation (macd_hist>0) and lowered ret_20d threshold to 0.12 while keeping breakout_20 to improve signal robustness. 3) Replaced fragile single-threshold exit with a multi-condition exit: larger stop (ret_20d<-2%), or trend/momentum deterioration (macd_hist<0 or sma_50_slope<0) for better risk control. 4) Added volatility- and proximity-based position scaling rules (vol_pctile and dist_52w_high) to reduce size in high volatility or when near highs. 5) Kept strategy simple and within complexity budget to improve generalization.

Fitness
0.1046
Generation
56
Complexity
11
Created
2026-10-07

Lineage

Parents (1)
PriceMomentum_V1210S1210 · gen 55ARCHIVEDllm

added entry filter: breakout_20 == 1

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V1219  [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.12 and breakout_20 == 1 and macd_hist > 0.0):
    position = 1.0
if long and (ret_20d < -0.02 or macd_hist < 0.0 or sma_50_slope < 0.0):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-1.1%-2.7%4.7%0.0%
Total Return-8.3%-7.9%18.8%0.3%
Sharpe-0.12-0.130.430.05
Sortino-0.03-0.040.120.02
Calmar-0.06-0.080.290.00
Volatility7.0%13.9%12.4%10.3%
Max DD-18.8%-32.4%-16.4%-32.4%
Win Rate46.2%20.0%42.9%40.0%
Avg Win3.9%17.4%10.7%7.3%
Avg Loss-4.3%-5.8%-3.1%-4.4%
Payoff0.902.983.481.66
Expectancy-0.5%-1.2%2.8%0.3%
Profit Factor0.770.742.611.11
Trades135725
Avg Holding Days7.86.46.37.1
Turnover3.33.33.73.4
Exposure4.4%3.6%3.9%4.1%

Growth of $100

PriceMomentum_V1219 vs TSLA Buy & Hold
PriceMomentum_V1219 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.9%0.15-6.6%2
201712.0%2.08-0.9%1
20180.0%0.000.0%0
20190.0%0.000.0%0
20200.0%0.000.0%0
202113.2%0.67-16.9%2
2022-18.7%-2.05-18.7%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 testDOWNTREND2780.0%0.000%
hidden testEXPENSIVE830.0%0.000%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-17.1%-1.431%
hidden testLOW VOLATILITY4399.2%0.766%
hidden testMEDIUM VOLATILITY25021.4%1.634%
hidden testNORMAL8126.2%0.475%
hidden testSIDEWAYS294-1.1%-1.000%
hidden testUPTREND37114.5%0.7410%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE3111.8%0.860%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY6990.0%0.000%
trainLOW VOLATILITY745-1.9%-0.2011%
trainMEDIUM VOLATILITY568-0.5%-0.062%
trainNORMAL1,601-1.4%-0.185%
trainSIDEWAYS592-3.9%-1.061%
trainUPTREND9020.7%0.0710%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-11.8%-1.000%
validationLOW VOLATILITY1830.5%0.084%
validationMEDIUM VOLATILITY3155.1%0.286%
validationNORMAL474-2.8%-0.166%
validationSIDEWAYS206-8.5%-1.140%
validationUPTREND4250.9%0.056%

Trades (full period)

25 trades
EntryExitEntry PxExit PxReturnDays
2025-12-152025-12-30$475.31$454.43-0.05%11
2024-09-262024-09-27$254.22$260.46-1.29%2
2024-09-242024-09-25$254.27$257.021.51%2
2024-09-062024-09-09$210.73$216.27-8.64%2
2024-07-022024-07-12$231.26$248.2314.63%8
2023-07-062023-07-07$276.54$274.43-2.30%2
2023-06-022023-06-27$213.97$250.2115.93%17
2022-08-162022-08-19$306.56$296.67-2.28%4
2022-08-052022-08-08$288.17$290.42-6.82%2
2022-04-052022-04-11$363.75$325.31-10.66%5
2021-10-192021-11-10$288.09$355.9817.39%17
2021-09-162021-09-21$252.33$246.46-3.59%4
2017-01-052017-01-25$15.12$16.9611.94%14
2016-07-262016-08-09$15.30$15.27-1.87%11
2016-04-052016-04-14$17.03$16.792.85%8
2015-07-062015-07-09$18.65$17.19-9.13%4
2015-05-122015-05-22$16.32$16.522.36%9
2015-04-302015-05-01$15.07$15.07-2.95%2
2014-09-022014-09-12$18.94$18.613.73%9
2014-08-082014-08-25$16.54$17.501.53%12
2014-06-242014-07-07$15.50$14.84-3.55%9
2012-11-292012-12-14$2.25$2.250.94%12
2012-03-282012-04-05$2.52$2.30-7.93%7
2012-03-142012-03-16$2.35$2.35-3.22%3
2012-02-212012-02-22$2.30$2.28-1.54%2