Strategy Zoo / S1181

PriceMomentum_V1181

ARCHIVEDhybrid

llm['Replaced redundant dual ret_20d checks with a clearer momentum + confirmation entry: ret_20d > 8%, macd_hist > 0, price above sma_50.', 'Tightened exits to include short-term stop (ret_1d < -5%), 20-day momentum failure (ret_20d < -8%), and price falling below sma_50 by >2% to limit drawdown.', 'Added regime gates to avoid extreme downtrends and high volatility: allow only UPTREND or SIDEWAYS and only LOW/MEDIUM volatility; exclude EXTREME bubble.', 'Introduced volatility-based position sizing: full size in LOW_VOLATILITY, reduced (0.70) in MEDIUM_VOLATILITY to mitigate risk.']

Fitness
0.3713
Generation
54
Complexity
13
Created
2026-10-06

Lineage

Parents (1)
PriceMomentum_V0802S0802 · gen 37ARCHIVEDllm

entry = PriceMomentum_V0267 AND PriceMomentum_V0567

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V1181  [hybrid]
require regime.trend in ['UPTREND', 'SIDEWAYS']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL', 'EXPENSIVE']
if flat and (ret_20d > 0.08 and macd_hist > 0.0 and dist_sma_50 > 0.0):
    position = 1.0
if long and (ret_20d < -0.08 or ret_1d < -0.05 or dist_sma_50 < -0.02):
    position = 0.0  # exit to cash
if regime.volatility == "LOW_VOLATILITY": position *= 1.0
if regime.volatility == "MEDIUM_VOLATILITY": position *= 0.7

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR6.2%30.1%-2.0%8.7%
Total Return61.6%120.2%-7.4%239.3%
Sharpe0.401.320.000.51
Sortino0.291.180.000.37
Calmar0.131.16-0.050.18
Volatility20.1%21.6%20.6%20.6%
Max DD-48.0%-26.0%-41.6%-48.0%
Win Rate45.5%50.0%28.6%42.1%
Avg Win10.7%24.5%19.1%15.6%
Avg Loss-6.0%-5.0%-7.3%-6.2%
Payoff1.804.882.612.51
Expectancy1.6%9.7%0.2%3.0%
Profit Factor1.504.881.041.83
Trades33101457
Avg Holding Days15.421.713.716.3
Turnover8.25.37.37.3
Exposure22.7%23.2%17.5%21.5%

Growth of $100

PriceMomentum_V1181 vs TSLA Buy & Hold
PriceMomentum_V1181 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-15.1%-1.12-20.4%4
20178.8%0.57-15.9%9
2018-18.9%-1.61-21.4%3
20192.7%0.23-22.2%3
202060.0%2.59-4.6%3
202163.5%1.92-15.3%4
2022-16.0%-0.96-23.9%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 testDOWNTREND278-1.5%-0.950%
hidden testEXPENSIVE8363.2%2.4322%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-17.4%-1.261%
hidden testLOW VOLATILITY43824.8%1.1230%
hidden testMEDIUM VOLATILITY250-25.5%-1.1013%
hidden testNORMAL811-6.4%-0.3118%
hidden testSIDEWAYS293-19.6%-0.9526%
hidden testUPTREND37116.8%0.6224%
trainDOWNTREND518-6.6%-1.261%
trainEXPENSIVE31138.0%1.6928%
trainEXTREME1008.1%1.551%
trainHIGH VOLATILITY6997.5%0.401%
trainLOW VOLATILITY74529.7%1.2951%
trainMEDIUM VOLATILITY568-19.8%-1.1612%
trainNORMAL1,6012.2%0.1123%
trainSIDEWAYS592-16.6%-0.8917%
trainUPTREND90232.6%1.2739%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13883.3%3.1625%
validationEXTREME14426.9%2.281%
validationHIGH VOLATILITY258-8.3%-1.000%
validationLOW VOLATILITY18348.3%2.1055%
validationMEDIUM VOLATILITY31547.4%1.7324%
validationNORMAL47413.2%0.5929%
validationSIDEWAYS206-11.2%-0.5329%
validationUPTREND42556.4%2.2827%

Trades (full period)

57 trades
EntryExitEntry PxExit PxReturnDays
2026-05-082026-06-08$428.35$408.95-5.23%21
2025-12-152026-01-07$475.31$431.41-5.85%16
2025-08-272025-10-03$349.60$429.8321.99%27
2025-08-132025-08-21$339.38$320.11-5.16%7
2025-05-192025-06-06$342.09$295.14-12.57%14
2025-05-122025-05-13$318.38$334.074.58%2
2024-09-232024-10-14$250.00$219.16-10.01%16
2024-09-062024-09-09$210.73$216.27-6.05%2
2024-06-272024-07-12$197.42$248.2321.16%11
2023-11-222024-01-12$234.21$218.89-5.99%35
2023-09-122023-09-25$267.48$246.99-7.55%10
2023-07-062023-07-21$276.54$260.02-5.82%12
2023-06-232023-06-27$256.60$250.21-9.09%3
2023-05-312023-06-22$203.93$264.6128.73%16
2022-08-092022-09-01$283.33$277.16-6.42%18
2022-08-022022-08-08$300.59$290.42-2.24%5
2022-03-232022-04-27$333.04$293.84-8.16%25
2021-06-242021-11-10$226.61$355.9856.15%98
2021-04-152021-05-07$246.28$224.12-6.69%17
2021-01-122021-02-01$283.15$279.94-1.57%14
2021-01-052021-01-11$245.04$270.4013.99%5
2020-12-102020-12-22$209.02$213.455.22%9
2020-11-192020-12-08$166.42$216.6321.45%13
2019-12-172020-01-22$25.27$37.9741.47%24
2019-10-232019-10-25$16.98$21.8817.02%3
2019-09-132019-09-25$16.35$15.25-9.40%9
2019-07-222019-07-26$17.05$15.20-11.55%5
2018-12-132018-12-21$25.12$21.32-9.36%7
2018-03-142018-03-15$21.78$21.71-3.25%2
2018-01-292018-02-09$23.30$20.69-7.49%10
2017-12-122017-12-26$22.74$21.15-2.07%10
2017-09-192017-09-28$25.01$22.64-9.49%8
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-052017-06-14$23.15$25.386.94%8
2017-05-022017-05-05$21.26$20.56-8.32%4
2017-04-202017-04-21$20.17$20.37-0.83%2
2017-03-282017-04-04$18.50$20.257.92%6
2016-12-282017-02-24$14.65$17.1316.34%40
2016-07-222016-08-30$14.82$14.09-2.60%28
2016-06-082016-06-13$15.70$14.52-6.02%4
2016-03-282016-05-04$15.35$14.840.68%28
2016-03-212016-03-24$15.89$15.18-5.23%4
2015-09-222015-10-02$17.40$16.50-8.62%9
2015-04-282015-07-22$15.37$17.8616.98%60
2015-04-142015-04-21$13.83$13.96-2.35%6
2014-11-122014-12-02$16.61$15.43-7.56%14
2014-06-092014-09-16$13.69$17.3821.70%70
2014-02-132014-02-26$13.31$16.8717.45%9
2014-01-082014-01-14$10.09$10.75-6.89%5
2013-09-092013-10-03$10.71$11.558.15%19
2013-03-272013-04-02$2.54$2.9615.80%4
2012-11-092013-02-22$2.02$2.4112.07%71
2012-09-182012-09-21$2.09$2.00-3.68%4
2012-07-022012-07-18$2.03$2.145.65%12
2012-06-192012-06-25$2.14$2.214.18%5
2012-02-152012-04-05$2.24$2.308.02%36