Strategy Zoo / S1240

PriceMomentum_V1240

ARCHIVEDhybrid

llmAdded regime gates to avoid downtrends, high volatility, and bubble extremes; simplified and regularized entry to two robust arms (breakout + momentum) with checks on longer-term trend and 1y cumulative return; strengthened and diversified exits to include a larger stop, momentum reversal (macd_hist + 1d loss), and portfolio drawdown cap; introduced volatility-based position sizing (scale down in elevated vol) and reduced base position to reduce risk/overfitting.

Fitness
0.1214
Generation
57
Complexity
22
Created
2026-10-07

Lineage

Parents (1)
PriceMomentum_V0891S0891 · gen 41ARCHIVEDllm

entry = PriceMomentum_V0865 OR PriceMomentum_V0690

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V1240  [hybrid]
require regime.trend in ['UPTREND', 'SIDEWAYS']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL']
if flat and ((breakout_50 == 1 and ret_20d > 0.02 and (close > sma_200 or sma_200_slope > 0.0) and cumret_252d > -0.25) or (ret_20d > 0.12 and vol_pctile < 0.75 and dist_52w_high < 0.5 and sma_50_slope > 0.0)):
    position = 0.8
if long and (ret_20d < -0.03 or (macd_hist < 0.0 and ret_1d < 0.0) or drawdown > 0.15):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-2.0%2.2%4.4%0.4%
Total Return-15.1%6.8%17.6%6.7%
Sharpe-0.130.230.390.10
Sortino-0.060.100.190.04
Calmar-0.080.100.220.02
Volatility11.2%12.9%13.4%12.1%
Max DD-25.4%-23.3%-20.4%-26.8%
Win Rate24.2%40.0%42.1%32.3%
Avg Win7.2%5.9%7.3%7.0%
Avg Loss-2.8%-2.4%-3.5%-2.9%
Payoff2.582.412.112.39
Expectancy-0.4%0.9%1.1%0.3%
Profit Factor0.831.611.531.14
Trades33101962
Avg Holding Days7.49.15.47.0
Turnover6.65.38.16.7
Exposure8.3%8.6%7.1%8.1%

Growth of $100

PriceMomentum_V1240 vs TSLA Buy & Hold
PriceMomentum_V1240 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.2%0.07-8.0%4
201712.9%2.13-0.9%2
2018-5.6%-0.83-6.4%3
2019-5.4%-0.17-18.4%5
20200.0%0.000.0%0
202114.8%0.81-16.6%5
2022-6.9%-0.57-11.4%5

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 testEXPENSIVE8334.0%2.442%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-8.5%-0.781%
hidden testLOW VOLATILITY4398.3%0.6111%
hidden testMEDIUM VOLATILITY25013.8%0.917%
hidden testNORMAL8122.6%0.198%
hidden testSIDEWAYS294-9.4%-0.848%
hidden testUPTREND37120.7%1.0912%
trainDOWNTREND518-1.9%-0.700%
trainEXPENSIVE3116.4%1.281%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY6991.1%0.100%
trainLOW VOLATILITY7456.1%0.5418%
trainMEDIUM VOLATILITY568-14.4%-1.266%
trainNORMAL1,601-3.0%-0.2510%
trainSIDEWAYS592-10.9%-0.917%
trainUPTREND9025.0%0.3814%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-9.4%-1.000%
validationLOW VOLATILITY18310.1%1.0120%
validationMEDIUM VOLATILITY3159.2%0.569%
validationNORMAL4744.8%0.3014%
validationSIDEWAYS206-5.0%-0.625%
validationUPTREND4257.8%0.4813%

Trades (full period)

62 trades
EntryExitEntry PxExit PxReturnDays
2026-05-112026-06-02$445.00$423.74-2.41%16
2025-12-152025-12-30$475.31$454.430.02%11
2025-09-122025-09-15$395.94$410.045.72%2
2025-08-272025-09-03$349.60$334.09-5.25%5
2025-06-042025-06-05$332.05$284.70-3.00%2
2025-06-022025-06-03$342.69$344.27-1.03%2
2025-05-222025-05-28$341.04$356.906.58%4
2025-05-122025-05-13$318.38$334.075.23%2
2024-10-072024-10-08$240.83$244.50-3.12%2
2024-09-262024-10-04$254.22$250.08-5.25%7
2024-09-062024-09-09$210.73$216.27-6.91%2
2024-06-282024-07-12$197.88$248.2317.37%10
2023-12-282024-01-02$253.18$248.42-4.13%3
2023-07-182023-07-20$293.34$262.900.08%3
2023-07-102023-07-11$269.61$269.79-1.56%2
2023-06-282023-07-07$256.24$274.438.21%7
2023-05-312023-06-27$203.93$250.2115.56%19
2023-03-022023-03-03$190.90$197.79-4.84%2
2023-02-282023-03-01$205.71$202.77-0.90%2
2022-08-242022-08-26$297.10$288.09-0.26%3
2022-08-152022-08-19$309.32$296.670.61%5
2022-08-022022-08-12$300.59$300.03-2.97%9
2022-04-122022-04-18$328.98$334.760.60%4
2022-03-292022-04-11$366.52$325.31-4.98%10
2021-11-232021-11-24$369.68$372.00-3.47%2
2021-10-132021-11-10$270.36$355.9821.37%21
2021-09-272021-10-11$263.79$263.980.99%11
2021-08-312021-09-21$245.24$246.46-0.21%15
2021-08-032021-08-17$236.58$221.90-2.79%11
2019-12-132019-12-17$23.89$25.274.69%3
2019-11-222019-11-25$22.20$22.42-5.07%2
2019-10-152019-10-25$17.19$21.8813.15%9
2019-09-162019-09-25$16.19$15.25-7.34%8
2019-07-222019-07-26$17.05$15.20-9.19%5
2018-12-112018-12-18$24.45$22.47-3.81%6
2018-12-042018-12-10$23.98$24.34-0.27%4
2018-01-222018-02-05$23.44$22.21-1.57%11
2017-01-312017-02-02$16.80$16.77-0.60%3
2016-12-282017-01-25$14.65$16.9612.46%19
2016-07-262016-08-09$15.30$15.27-1.49%11
2016-04-182016-04-19$16.93$16.49-0.36%2
2016-03-282016-04-15$15.35$16.978.28%15
2016-03-212016-03-24$15.89$15.18-3.63%4
2016-01-042016-01-05$14.89$14.90-5.69%2
2015-07-212015-07-22$17.78$17.86-4.55%2
2015-06-182015-07-09$17.46$17.19-1.77%15
2015-06-092015-06-10$17.07$16.71-0.25%2
2015-05-292015-06-01$16.72$16.63-0.37%2
2015-04-282015-05-27$15.37$16.505.32%21
2014-08-282014-09-12$17.59$18.615.03%11
2014-08-072014-08-27$16.83$17.553.96%15
2014-06-182014-07-07$15.14$14.84-0.96%13
2013-02-202013-02-21$2.57$2.34-1.67%2
2013-02-152013-02-19$2.47$2.62-2.73%2
2013-02-122013-02-14$2.53$2.55-0.10%3
2013-01-032013-01-04$2.32$2.29-1.49%2
2012-11-142012-12-14$2.09$2.254.93%22
2012-07-162012-07-20$2.40$2.12-4.73%5
2012-03-272012-04-05$2.53$2.30-5.25%8
2012-03-132012-03-16$2.41$2.35-2.40%4
2012-03-022012-03-05$2.27$2.25-1.02%2
2012-02-212012-03-01$2.30$2.29-3.73%8