Strategy Zoo / S0832

PriceMomentum_V0832

ARCHIVEDhybrid

llmSimplified entry to a robust momentum + trend filter (ret_20d>0.06 AND (close>50SMA with positive slope OR moderate 60d performance) AND reasonable 252d cumulative return) to reduce overfitting and redundancy; added multi-condition exit (20d stop, quick 5d stop, or close crossing below SMA50) for earlier loss-cutting; introduced regime gates to avoid trading in high volatility and extreme bubble regimes while allowing upside in uptrends/sideways markets; reduced base_position from 1.0 to 0.8 to lower drawdown risk.

Fitness
0.3112
Generation
38
Complexity
16
Created
2026-09-29

Lineage

Parents (1)
PriceMomentum_V0641S0641 · gen 29ARCHIVEDllm

swapped indicator ret_20d -> ret_60d

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V0832  [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.06 and (((close > sma_50 and sma_50_slope > 0.0) or ret_60d > -0.2) and cumret_252d > -0.25)):
    position = 0.8
if long and (ret_20d < -0.08 or ret_5d < -0.03 or close < sma_50):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR4.5%22.5%1.8%7.4%
Total Return41.7%84.0%6.9%185.3%
Sharpe0.341.050.190.48
Sortino0.260.970.120.37
Calmar0.120.630.070.18
Volatility17.0%21.6%18.5%18.4%
Max DD-36.0%-35.6%-27.8%-40.8%
Win Rate39.7%47.1%34.3%40.2%
Avg Win5.6%9.4%6.2%7.4%
Avg Loss-3.0%-3.9%-2.7%-3.1%
Payoff1.872.422.322.38
Expectancy0.4%2.4%0.4%1.1%
Profit Factor1.232.151.211.60
Trades633435132
Avg Holding Days8.77.46.37.9
Turnover12.718.115.114.4
Exposure20.0%23.1%16.0%19.6%

Growth of $100

PriceMomentum_V0832 vs TSLA Buy & Hold
PriceMomentum_V0832 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-2.5%-0.17-11.3%8
201710.3%0.67-13.7%12
2018-11.8%-1.50-12.2%3
201911.9%0.61-17.7%5
202062.1%2.51-7.1%6
202139.5%1.45-23.2%16
2022-21.1%-1.16-35.6%12

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 testDOWNTREND273-0.1%-0.960%
hidden testEXPENSIVE8329.6%1.0739%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-14.0%-0.832%
hidden testLOW VOLATILITY43324.0%1.4222%
hidden testMEDIUM VOLATILITY250-14.1%-0.6321%
hidden testNORMAL8061.0%0.0615%
hidden testSIDEWAYS293-24.7%-1.3621%
hidden testUPTREND37128.4%1.1624%
trainDOWNTREND518-1.0%-0.231%
trainEXPENSIVE31125.6%1.1331%
trainEXTREME1009.3%1.551%
trainHIGH VOLATILITY69911.3%0.721%
trainLOW VOLATILITY74519.2%1.1039%
trainMEDIUM VOLATILITY568-18.6%-1.0418%
trainNORMAL1,6011.7%0.1119%
trainSIDEWAYS592-10.4%-0.6618%
trainUPTREND90220.4%0.9432%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13880.9%2.7538%
validationEXTREME14430.6%2.272%
validationHIGH VOLATILITY2582.8%0.940%
validationLOW VOLATILITY18318.9%1.0243%
validationMEDIUM VOLATILITY31541.0%1.3630%
validationNORMAL4743.3%0.1625%
validationSIDEWAYS206-26.2%-1.2424%
validationUPTREND42552.9%2.1629%

Trades (full period)

latest 100 of 132
EntryExitEntry PxExit PxReturnDays
2026-05-262026-06-04$433.59$418.45-0.57%8
2026-05-212026-05-22$417.85$426.01-0.05%2
2026-05-082026-05-19$428.35$404.11-0.45%8
2025-12-152025-12-30$475.31$454.430.02%11
2025-10-142025-11-05$429.24$462.071.47%17
2025-10-102025-10-13$413.49$435.90-4.21%2
2025-09-082025-10-09$346.40$435.5419.64%24
2025-09-042025-09-05$338.53$350.840.90%2
2025-08-252025-09-03$346.60$334.09-2.65%7
2025-08-122025-08-20$340.84$323.90-2.45%7
2025-07-312025-08-01$308.27$302.63-2.86%2
2025-06-052025-06-06$284.70$295.14-11.56%2
2025-05-282025-06-04$356.90$332.05-4.27%6
2025-05-232025-05-27$339.34$362.89-0.56%2
2025-05-192025-05-22$342.09$341.04-3.67%4
2025-05-122025-05-13$318.38$334.075.23%2
2024-10-092024-10-10$241.05$238.77-1.29%2
2024-10-072024-10-08$240.83$244.50-3.12%2
2024-09-232024-10-03$250.00$240.663.48%9
2024-09-162024-09-20$226.78$238.254.58%5
2024-09-052024-09-09$230.17$216.27-3.25%3
2024-06-272024-07-12$197.42$248.2317.87%11
2023-12-072024-01-04$242.64$237.93-0.39%19
2023-11-292023-12-06$244.14$239.37-2.75%6
2023-11-272023-11-28$236.08$246.720.05%2
2023-11-212023-11-24$241.20$235.45-0.62%3
2023-11-172023-11-20$234.30$235.600.08%2
2023-09-222023-09-25$244.88$246.99-3.54%2
2023-09-202023-09-21$262.59$255.70-1.33%2
2023-09-122023-09-19$267.48$266.50-2.57%6
2023-07-262023-07-27$264.35$255.71-0.44%2
2023-07-132023-07-21$277.90$260.02-2.74%7
2023-06-282023-07-12$256.24$271.996.10%10
2023-05-312023-06-27$203.93$250.2115.56%19
2023-02-282023-03-03$205.71$197.79-6.62%4
2022-09-212022-09-23$300.80$275.33-5.39%3
2022-08-242022-08-31$297.10$275.61-5.23%6
2022-08-152022-08-23$309.32$296.45-2.84%7
2022-08-112022-08-12$286.63$300.03-2.26%2
2022-08-092022-08-10$283.33$294.36-2.11%2
2022-08-022022-08-08$300.59$290.42-2.57%5
2022-04-192022-04-27$342.72$293.84-10.31%7
2022-04-142022-04-18$328.33$334.76-3.08%2
2022-04-122022-04-13$328.98$340.790.74%2
2022-04-082022-04-11$341.83$325.31-2.56%2
2022-03-222022-04-07$331.33$352.4210.68%13
2022-01-122022-01-13$368.74$343.852.98%2
2021-11-232021-12-03$369.68$338.32-5.13%8
2021-08-242021-11-09$236.16$341.1749.25%55
2021-07-212021-08-17$218.43$221.903.00%20
2021-07-122021-07-20$228.57$220.17-1.44%7
2021-07-082021-07-09$217.60$218.980.85%2
2021-06-242021-07-07$226.61$214.880.23%9
2021-06-222021-06-23$207.90$218.860.21%2
2021-06-182021-06-21$207.77$206.940.71%2
2021-06-142021-06-15$205.90$199.790.86%2
2021-05-032021-05-04$228.30$224.53-2.92%2
2021-04-222021-04-29$239.90$225.67-5.51%6
2021-04-142021-04-21$244.08$248.04-4.71%6
2021-02-022021-02-11$290.93$270.55-3.46%8
2021-01-202021-02-01$283.48$279.94-4.97%9
2021-01-122021-01-19$283.15$281.521.34%5
2020-12-302021-01-11$231.59$270.4024.93%8
2020-12-102020-12-29$209.02$222.007.73%13
2020-11-192020-12-08$166.42$216.6324.77%13
2020-10-222020-10-23$141.93$140.210.44%2
2020-10-162020-10-21$146.56$140.88-4.97%4
2020-06-252020-06-29$65.73$67.29-0.24%3
2019-12-032020-01-22$22.41$37.9748.27%34
2019-11-222019-11-25$22.20$22.42-5.07%2
2019-10-172019-10-25$17.46$21.8812.18%7
2019-09-262019-09-27$16.17$16.144.68%2
2019-09-132019-09-25$16.35$15.25-7.54%9
2019-07-222019-07-26$17.05$15.20-9.19%5
2018-12-072018-12-18$23.86$22.47-3.36%8
2018-03-132018-03-15$22.79$21.71-4.53%3
2018-01-232018-02-06$23.52$22.26-4.34%11
2017-12-122017-12-26$22.74$21.15-1.04%10
2017-09-182017-09-25$25.67$23.00-6.22%6
2017-08-292017-09-11$23.16$24.25-0.67%9
2017-08-152017-08-18$24.16$23.16-2.77%4
2017-08-042017-08-07$23.79$23.682.10%2
2017-07-032017-07-05$23.51$21.81-2.15%2
2017-06-052017-06-14$23.15$25.388.28%8
2017-05-122017-05-18$21.65$20.87-4.37%5
2017-04-242017-05-05$20.54$20.56-2.78%10
2017-04-202017-04-21$20.17$20.37-0.95%2
2017-03-282017-04-04$18.50$20.258.17%6
2016-12-282017-02-24$14.65$17.1313.05%40
2016-10-042016-10-05$14.09$13.90-1.02%2
2016-07-222016-08-29$14.82$14.35-0.31%27
2016-06-162016-06-17$14.53$14.36-0.08%2
2016-06-082016-06-10$15.70$14.59-1.18%3
2016-04-152016-05-02$16.97$16.12-3.67%12
2016-03-312016-04-14$15.32$16.799.53%11
2016-03-282016-03-30$15.35$15.130.68%3
2016-03-212016-03-24$15.89$15.18-3.63%4
2015-09-212015-09-29$17.61$16.44-3.90%7
2015-07-152015-07-27$17.54$16.87-0.19%9
2015-04-282015-07-09$15.37$17.197.96%51