Strategy Zoo / S1304

PriceMomentum_V1304

ARCHIVEDhybrid

llm- Replaced redundant entry logic with a compact momentum-or-breakout entry: require either (close>50SMA + 20d momentum + positive MACD histogram) or a 20-day breakout; added RSI < 75 and 252d cumulative return filter to avoid extended overbought/bear regimes. - Strengthened exits: added short-term momentum stop (5d loss), a technical stop (close < 50SMA), and a drawdown stop to limit large losses. - Added regime gates: only trade in UPTREND and low/medium volatility, and avoid bubble states beyond NORMAL. - Implemented volatility-based position sizing (vol_pctile tiers) to scale exposure down in high volatility. - Lowered base_position to 0.7 to reduce overall leverage and turnover.

Fitness
0.1842
Generation
60
Complexity
16
Created
2026-10-08

Lineage

Parents (1)
PriceMomentum_V1238S1238 · gen 57ARCHIVEDllm

entry from PriceMomentum_V0936, exit from LongTermTrend_V1216

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V1304  [hybrid]
require regime.trend in ['UPTREND']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL']
if flat and (((close > sma_50 and ret_20d > 0.05 and macd_hist > 0.0) or breakout_20 > 0.0) and rsi_14 < 75.0 and cumret_252d > -0.1997):
    position = 0.7
if long and (ret_5d < -0.03 or close < sma_50 or drawdown < -0.1):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-0.4%5.8%1.2%1.2%
Total Return-3.2%18.5%4.4%19.7%
Sharpe-0.020.710.180.19
Sortino-0.010.350.060.08
Calmar-0.030.470.110.08
Volatility7.4%8.4%8.3%7.9%
Max DD-16.4%-12.3%-10.5%-16.4%
Win Rate36.6%42.9%61.1%43.8%
Avg Win2.1%3.8%2.4%2.7%
Avg Loss-1.3%-1.1%-3.1%-1.5%
Payoff1.633.360.791.74
Expectancy-0.0%1.0%0.3%0.3%
Profit Factor0.942.521.251.35
Trades41211880
Avg Holding Days4.12.92.83.5
Turnover7.29.86.77.6
Exposure4.4%3.6%2.4%3.7%

Growth of $100

PriceMomentum_V1304 vs TSLA Buy & Hold
PriceMomentum_V1304 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.0%-0.53-4.2%9
20174.4%1.41-0.4%5
2018-4.3%-0.85-5.4%2
20193.0%0.66-1.4%2
20200.0%0.000.0%0
202129.9%2.03-3.9%15
2022-8.8%-1.53-8.8%6

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 testEXPENSIVE8329.5%2.442%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-11.3%-1.431%
hidden testLOW VOLATILITY4402.4%0.313%
hidden testMEDIUM VOLATILITY25013.0%1.333%
hidden testNORMAL813-1.3%-0.163%
hidden testSIDEWAYS295-5.6%-1.110%
hidden testUPTREND3718.2%0.666%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE3115.8%1.311%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY6994.0%0.600%
trainLOW VOLATILITY745-0.1%-0.0110%
trainMEDIUM VOLATILITY568-5.3%-0.852%
trainNORMAL1,601-1.3%-0.165%
trainSIDEWAYS592-2.0%-0.840%
trainUPTREND9021.0%0.099%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-0.1%-0.990%
validationLOW VOLATILITY18311.4%1.889%
validationMEDIUM VOLATILITY3157.9%0.643%
validationNORMAL4749.6%0.906%
validationSIDEWAYS206-5.9%-1.140%
validationUPTREND42513.6%1.286%

Trades (full period)

80 trades
EntryExitEntry PxExit PxReturnDays
2026-07-022026-07-06$393.45$419.77-5.38%2
2026-05-292026-06-01$435.79$415.88-1.14%2
2025-12-082025-12-30$439.58$454.430.67%16
2025-09-122025-09-15$395.94$410.045.01%2
2025-06-022025-06-03$342.69$344.27-0.90%2
2025-05-272025-05-28$362.89$356.904.71%2
2025-05-222025-05-23$341.04$339.341.20%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-022024-07-03$231.26$246.396.99%2
2023-07-182023-07-19$293.34$291.260.57%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-222023-06-23$264.61$256.601.25%2
2023-06-022023-06-05$213.97$217.612.03%2
2022-09-202022-09-21$308.73$300.80-0.22%2
2022-08-182022-08-19$302.87$296.67-0.40%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-072022-04-08$352.42$341.830.63%2
2022-04-052022-04-06$363.75$348.59-3.45%2
2021-10-132021-11-09$270.36$341.1729.54%20
2021-10-082021-10-11$261.83$263.98-0.86%2
2021-10-052021-10-06$260.20$260.92-0.22%2
2021-10-012021-10-04$258.41$260.51-0.16%2
2021-09-292021-09-30$260.44$258.490.20%2
2021-09-272021-09-28$263.79$259.191.39%2
2021-09-172021-09-20$253.16$243.390.09%2
2021-09-152021-09-16$251.94$252.330.93%2
2021-09-102021-09-13$245.42$247.67-1.86%2
2021-09-082021-09-09$251.29$251.62-0.05%2
2021-08-312021-09-01$245.24$244.700.32%2
2021-08-132021-08-16$239.06$228.72-0.63%2
2021-08-112021-08-12$235.94$240.75-0.35%2
2021-08-092021-08-10$237.92$236.661.33%2
2021-08-052021-08-06$238.21$233.030.23%2
2019-12-132019-12-17$23.89$25.274.11%3
2019-10-212019-10-22$16.90$17.04-1.08%2
2018-12-042018-12-18$23.98$22.47-2.06%10
2018-02-012018-02-05$23.28$22.21-2.23%3
2017-03-272017-03-28$18.01$18.501.74%2
2017-01-182017-01-19$15.89$16.250.69%2
2017-01-132017-01-17$15.85$15.712.35%2
2017-01-112017-01-12$15.32$15.31-0.18%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-122016-04-13$16.52$16.97-0.73%2
2016-04-082016-04-11$16.67$16.66-2.08%2
2016-04-052016-04-06$17.03$17.692.26%2
2015-07-212015-07-27$17.78$16.87-4.32%5
2015-06-182015-07-09$17.46$17.19-1.52%15
2015-06-092015-06-10$17.07$16.71-0.22%2
2015-05-292015-06-01$16.72$16.63-0.32%2
2015-05-202015-05-21$16.29$16.37-0.93%2
2015-05-142015-05-15$16.27$16.590.12%2
2015-05-112015-05-12$15.97$16.320.71%2
2015-04-292015-04-30$15.50$15.070.46%2
2014-08-042014-09-16$15.90$17.386.17%31
2014-06-232014-07-03$15.81$15.28-0.14%9
2013-03-272013-04-02$2.54$2.9611.07%4
2013-02-122013-02-14$2.53$2.55-0.08%3
2013-01-032013-01-09$2.32$2.24-3.48%5
2012-12-102012-12-14$2.30$2.25-1.26%5
2012-12-062012-12-07$2.26$2.280.25%2
2012-12-032012-12-05$2.31$2.250.04%3
2012-11-292012-11-30$2.25$2.250.83%2
2012-11-272012-11-28$2.14$2.22-0.40%2
2012-11-232012-11-26$2.14$2.15-0.87%2
2012-03-272012-04-05$2.53$2.30-4.58%8
2012-03-132012-03-21$2.41$2.34-2.18%7
2012-02-232012-02-28$2.30$2.25-1.36%4
2012-02-212012-02-22$2.30$2.28-1.08%2