Strategy Zoo / S1581

PriceMomentum_V1581

ARCHIVEDhybrid

llm1) Simplified and consolidated entry into two clear branches: a momentum breakout arm (ret_20d + breakout_20) and a trend-follow arm (close>sma_50>sma_200, macd_hist>0, moderate 20d return and not far below sma_50). 2) Added a volatility filter on the breakout arm (vol_pctile<0.70) to avoid entries in extreme vol. 3) Replaced single macd exit with a safer exit OR that includes short-term loss (ret_5d<-6%) and a hard drawdown guard (drawdown<-18%). 4) Introduced regime gates: only allow UPTREND and non-HIGH volatility, avoid EXTREME bubble states. 5) Reduced base_position to 0.7 to lower position sizing and expected max drawdown.

Fitness
0.3325
Generation
73
Complexity
18
Created
2026-10-14

Lineage

Parents (1)
PriceMomentum_V1439S1439 · gen 66ELITEllm

changed dist_sma_50 threshold -0.2357 -> -0.0777

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V1581  [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.15 and breakout_20 == 1 and vol_pctile < 0.7) or (close > sma_50 and sma_50 > sma_200 and macd_hist > 0.0 and ret_20d > 0.05 and dist_sma_50 > -0.05)):
    position = 0.7
if long and (macd_hist < 0.0 or ret_5d < -0.06 or drawdown < -0.18):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR3.6%18.1%2.4%6.3%
Total Return32.9%64.7%9.5%144.6%
Sharpe0.421.190.310.62
Sortino0.230.720.110.32
Calmar0.310.780.190.27
Volatility9.6%14.8%8.9%10.7%
Max DD-11.6%-23.1%-12.9%-23.1%
Win Rate41.0%50.0%65.0%49.3%
Avg Win4.4%9.8%2.5%5.2%
Avg Loss-1.9%-2.7%-3.2%-2.3%
Payoff2.283.610.792.23
Expectancy0.7%3.5%0.5%1.4%
Profit Factor1.583.611.462.17
Trades39162075
Avg Holding Days5.66.63.15.3
Turnover6.97.57.47.1
Exposure6.6%8.3%3.2%6.1%

Growth of $100

PriceMomentum_V1581 vs TSLA Buy & Hold
PriceMomentum_V1581 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.6%0.13-4.7%7
20176.8%0.66-7.8%13
2018-3.6%-0.82-5.4%1
20196.6%1.31-2.6%0
202039.8%2.11-5.6%5
202131.6%1.60-12.0%8
2022-12.7%-1.93-12.6%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 testDOWNTREND2790.0%0.000%
hidden testEXPENSIVE8314.5%1.0313%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-12.0%-1.431%
hidden testLOW VOLATILITY4439.8%1.194%
hidden testMEDIUM VOLATILITY2515.5%0.524%
hidden testNORMAL8171.8%0.212%
hidden testSIDEWAYS298-0.1%-0.920%
hidden testUPTREND3717.2%0.508%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE31122.9%1.3818%
trainEXTREME1008.1%1.551%
trainHIGH VOLATILITY6998.9%0.931%
trainLOW VOLATILITY7454.7%0.4914%
trainMEDIUM VOLATILITY568-2.9%-0.314%
trainNORMAL1,6010.1%0.015%
trainSIDEWAYS592-2.4%-0.900%
trainUPTREND90210.5%0.7414%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13867.0%3.0022%
validationEXTREME14426.9%2.281%
validationHIGH VOLATILITY258-8.3%-1.000%
validationLOW VOLATILITY18316.7%1.8512%
validationMEDIUM VOLATILITY31539.6%1.9313%
validationNORMAL4740.6%0.056%
validationSIDEWAYS206-5.8%-1.120%
validationUPTREND42534.4%1.7715%

Trades (full period)

75 trades
EntryExitEntry PxExit PxReturnDays
2025-12-152025-12-30$475.31$454.430.04%11
2025-09-152025-10-06$410.04$453.255.91%16
2025-05-282025-05-29$356.90$358.43-1.29%2
2024-10-032024-10-04$240.66$250.08-2.49%2
2024-09-252024-09-26$257.02$254.220.62%2
2024-09-232024-09-24$250.00$254.273.31%2
2024-09-162024-09-17$226.78$227.87-1.21%2
2024-09-062024-09-09$210.73$216.27-6.05%2
2024-07-112024-07-12$241.03$248.23-6.05%2
2024-07-092024-07-10$262.33$263.262.46%2
2024-07-052024-07-08$251.52$252.941.32%2
2024-07-022024-07-03$231.26$246.396.99%2
2023-07-052023-07-06$282.48$276.540.53%2
2023-06-262023-06-27$241.05$250.21-4.38%2
2023-06-202023-06-21$274.45$259.463.59%2
2023-06-142023-06-15$256.79$255.90-0.66%2
2023-06-122023-06-13$249.83$258.711.41%2
2023-06-082023-06-09$234.86$244.403.07%2
2023-06-062023-06-07$221.31$224.571.05%2
2023-06-022023-06-05$213.97$217.612.03%2
2022-08-162022-08-17$306.56$304.00-0.76%2
2022-08-052022-08-08$288.17$290.42-4.78%2
2022-04-052022-04-11$363.75$325.31-7.53%5
2021-10-132021-11-10$270.36$355.9818.67%21
2021-10-082021-10-11$261.83$263.98-0.86%2
2021-09-282021-10-07$259.19$264.54-0.90%8
2021-09-082021-09-21$251.29$246.46-2.24%10
2021-01-262021-01-27$294.36$288.050.04%2
2021-01-202021-01-25$283.48$293.600.03%4
2021-01-122021-01-19$283.15$281.521.18%5
2021-01-042021-01-11$243.26$270.4016.72%6
2020-12-182020-12-23$231.67$215.33-1.72%4
2020-12-102020-12-17$209.02$218.632.02%6
2020-11-192020-12-08$166.42$216.6321.45%13
2020-10-162020-10-20$146.56$140.65-2.96%3
2019-12-172020-01-22$25.27$37.9728.90%24
2018-12-132018-12-18$25.12$22.47-3.59%4
2017-09-182017-09-25$25.67$23.00-5.46%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-052017-06-14$23.15$25.387.23%8
2017-05-152017-05-16$21.06$21.13-2.06%2
2017-05-022017-05-04$21.26$19.70-2.70%3
2017-04-262017-04-27$20.68$20.58-0.95%2
2017-04-202017-04-21$20.17$20.37-0.83%2
2017-03-282017-04-04$18.50$20.257.13%6
2017-02-102017-02-22$17.95$18.232.02%8
2017-01-172017-02-02$15.71$16.773.23%13
2017-01-092017-01-10$15.42$15.320.55%2
2017-01-052017-01-06$15.12$15.27-0.21%2
2016-08-052016-08-08$15.34$15.08-0.32%2
2016-08-032016-08-04$15.05$15.37-0.57%2
2016-08-012016-08-02$15.33$15.15-1.56%2
2016-07-282016-07-29$15.37$15.650.51%2
2016-07-262016-07-27$15.30$15.23-0.29%2
2016-06-082016-06-09$15.70$15.290.82%2
2016-04-052016-04-14$17.03$16.792.04%8
2015-07-212015-07-22$17.78$17.86-3.98%2
2015-06-222015-07-09$17.32$17.19-2.08%13
2015-05-132015-05-22$16.21$16.520.12%8
2015-04-302015-05-01$15.07$15.07-2.07%2
2014-08-292014-09-12$17.98$18.614.23%10
2014-08-262014-08-27$17.45$17.55-0.36%2
2014-08-052014-08-25$15.90$17.505.20%15
2014-06-232014-07-07$15.81$14.84-0.20%10
2014-02-132014-02-26$13.31$16.8718.38%9
2013-09-202013-10-04$12.23$12.07-1.87%11
2013-09-092013-09-10$10.71$11.09-2.77%2
2013-03-272013-04-02$2.54$2.9611.07%4
2013-01-242013-02-14$2.47$2.554.62%16
2012-11-292012-12-14$2.25$2.250.70%12
2012-03-282012-04-05$2.52$2.30-5.53%7
2012-03-132012-03-16$2.41$2.35-2.10%4
2012-02-232012-02-29$2.30$2.23-0.97%5
2012-02-212012-02-22$2.30$2.28-1.08%2