Strategy Zoo / S1523

PriceMomentum_V1523

ARCHIVEDhybrid

llm1) Added regime gates: restrict to UPTREND/SIDEWAYS and non-EXTREME volatility/bubble to avoid bad market regimes. 2) Tightened entry: require short-term momentum or 20d breakout plus positive 50-day slope and RSI <70, and a mild long-term cumulative return filter to avoid deeply degraded regimes. 3) Improved exits: add 20d loss stop, portfolio drawdown cut, and 50/200 MA cross for timely exits. 4) Position sizing: reduce size in HIGH volatility and when bubble=EXPENSIVE, full size in LOW volatility; lowered base position to 0.8 to reduce risk.

Fitness
0.2630
Generation
70
Complexity
17
Created
2026-10-13

Lineage

Parents (1)
PriceMomentum_V1423S1423 · gen 65ARCHIVEDllm

swapped indicator ret_20d -> ret_1d

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V1523  [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 or breakout_20 > 0.0) and sma_50_slope > 0.0 and rsi_14 < 70.0 and cumret_252d > -0.1):
    position = 0.8
if long and (ret_20d < -0.03 or drawdown < -0.1 or sma_50 < sma_200):
    position = 0.0  # exit to cash
if regime.volatility == "HIGH_VOLATILITY": position *= 0.35
if regime.volatility == "LOW_VOLATILITY": position *= 1.0
if regime.bubble == "EXPENSIVE": position *= 0.5

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR0.6%16.2%-6.6%1.7%
Total Return4.6%56.7%-22.6%28.4%
Sharpe0.111.15-0.680.21
Sortino0.070.77-0.300.12
Calmar0.020.71-0.280.05
Volatility11.2%13.9%9.4%11.4%
Max DD-27.1%-22.7%-23.3%-37.1%
Win Rate40.5%51.2%38.9%43.0%
Avg Win2.3%3.8%1.7%2.8%
Avg Loss-1.6%-1.6%-2.2%-1.7%
Payoff1.452.420.781.63
Expectancy-0.0%1.2%-0.7%0.2%
Profit Factor0.992.530.501.23
Trades794336158
Avg Holding Days4.44.03.04.0
Turnover14.720.814.115.7
Exposure8.9%9.7%5.0%8.1%

Growth of $100

PriceMomentum_V1523 vs TSLA Buy & Hold
PriceMomentum_V1523 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-5.0%-0.94-9.1%13
20173.6%0.44-8.0%11
2018-11.6%-1.70-11.6%9
20197.0%1.13-2.4%4
202031.6%2.75-3.2%5
202118.0%0.92-18.2%24
2022-0.6%-0.03-8.3%14

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 testEXPENSIVE8318.6%1.0513%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-6.2%-1.020%
hidden testLOW VOLATILITY443-3.6%-0.337%
hidden testMEDIUM VOLATILITY250-11.6%-1.195%
hidden testNORMAL816-9.3%-1.124%
hidden testSIDEWAYS298-16.2%-1.893%
hidden testUPTREND371-3.3%-0.2610%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE31115.5%1.2414%
trainEXTREME1004.7%1.550%
trainHIGH VOLATILITY6997.2%0.811%
trainLOW VOLATILITY74511.6%0.8917%
trainMEDIUM VOLATILITY568-19.9%-1.788%
trainNORMAL1,601-1.8%-0.168%
trainSIDEWAYS5920.6%0.133%
trainUPTREND9022.3%0.1418%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13843.6%2.9619%
validationEXTREME14418.9%2.611%
validationHIGH VOLATILITY258-6.5%-0.661%
validationLOW VOLATILITY1838.8%0.9016%
validationMEDIUM VOLATILITY31538.5%2.1414%
validationNORMAL4747.0%0.4610%
validationSIDEWAYS2069.2%1.442%
validationUPTREND42523.9%1.3316%

Trades (full period)

latest 100 of 158
EntryExitEntry PxExit PxReturnDays
2026-07-022026-07-06$393.45$419.77-6.15%2
2026-06-032026-06-04$423.70$418.45-0.17%2
2026-06-012026-06-02$415.88$423.74-3.81%2
2026-05-282026-05-29$442.10$435.790.16%2
2026-05-262026-05-27$433.59$440.361.26%2
2026-05-212026-05-22$417.85$426.01-0.05%2
2026-05-152026-05-18$422.24$409.99-3.96%2
2025-12-082026-01-05$439.58$451.67-3.06%19
2025-10-242025-11-10$433.72$445.23-1.66%12
2025-10-142025-10-15$429.24$435.15-0.69%2
2025-10-072025-10-13$433.09$435.90-3.63%5
2025-09-262025-10-06$440.40$453.250.59%7
2025-09-122025-09-15$395.94$410.045.72%2
2025-09-082025-09-09$346.40$346.97-1.17%2
2025-09-032025-09-04$334.09$338.530.99%2
2025-08-292025-09-02$333.87$329.36-2.96%2
2025-08-272025-08-28$349.60$345.98-0.63%2
2025-08-252025-08-26$346.60$351.671.39%2
2025-07-312025-08-01$308.27$302.63-2.86%2
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-292025-05-30$358.43$346.460.09%2
2025-05-272025-05-28$362.89$356.905.39%2
2025-05-222025-05-23$341.04$339.341.37%2
2025-05-202025-05-21$343.82$334.620.12%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-10-032024-10-04$240.66$250.08-2.84%2
2023-07-262023-07-27$264.35$255.71-0.44%2
2023-07-172023-07-18$290.38$293.342.40%2
2023-07-132023-07-14$277.90$281.381.58%2
2023-07-112023-07-12$269.79$271.99-0.11%2
2023-07-072023-07-10$274.43$269.61-0.77%2
2023-06-302023-07-03$261.77$279.821.17%2
2023-06-282023-06-29$256.24$257.501.77%2
2023-06-262023-06-27$241.05$250.21-5.00%2
2022-09-202022-09-21$308.73$300.80-0.25%2
2022-08-242022-08-25$297.10$296.070.01%2
2022-08-222022-08-23$289.91$296.45-1.98%2
2022-08-182022-08-19$302.87$296.67-0.46%2
2022-08-162022-08-17$306.56$304.00-0.87%2
2022-08-122022-08-15$300.03$309.323.58%2
2022-08-102022-08-11$294.36$286.632.95%2
2022-08-082022-08-09$290.42$283.330.47%2
2022-04-192022-04-20$342.72$325.731.74%2
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-04-062022-04-07$348.59$352.42-3.49%2
2022-01-122022-01-13$368.74$343.852.98%2
2021-11-232021-11-29$369.68$379.00-5.35%4
2021-10-122021-11-10$268.57$355.9823.06%22
2021-10-082021-10-11$261.83$263.98-0.98%2
2021-10-052021-10-06$260.20$260.92-0.26%2
2021-09-292021-09-30$260.44$258.490.23%2
2021-09-272021-09-28$263.79$259.191.59%2
2021-09-232021-09-24$251.21$258.130.02%2
2021-09-212021-09-22$246.46$250.650.85%2
2021-09-172021-09-20$253.16$243.390.10%2
2021-09-152021-09-16$251.94$252.331.06%2
2021-09-102021-09-13$245.42$247.67-2.13%2
2021-09-082021-09-09$251.29$251.62-0.06%2
2021-08-312021-09-01$245.24$244.700.37%2
2021-08-262021-08-27$233.72$237.31-1.29%2
2021-08-242021-08-25$236.16$237.070.09%2
2021-08-172021-08-18$221.90$229.66-2.54%2
2021-08-132021-08-16$239.06$228.72-0.72%2
2021-08-112021-08-12$235.94$240.75-0.40%2
2021-08-062021-08-09$233.03$237.92-1.90%2
2021-08-042021-08-05$236.97$238.21-0.03%2
2021-08-022021-08-03$236.56$236.582.45%2
2021-02-022021-02-11$290.93$270.55-1.70%8
2021-01-122021-02-01$283.15$279.94-0.85%14
2020-12-102021-01-11$209.02$270.4016.56%21
2020-11-192020-12-08$166.42$216.6311.88%13
2020-10-222020-10-23$141.93$140.210.22%2
2020-10-152020-10-19$149.63$143.61-1.97%3
2020-06-252020-06-30$65.73$71.991.96%4
2019-12-132020-01-22$23.89$37.9721.33%26
2019-12-032019-12-04$22.41$22.200.16%2
2019-10-232019-10-24$16.98$19.98-0.44%2
2019-10-182019-10-21$17.13$16.90-1.69%2
2019-10-162019-10-17$17.32$17.460.42%2
2018-12-042018-12-19$23.98$22.20-4.93%11
2018-03-132018-03-14$22.79$21.78-1.01%2
2018-02-052018-02-06$22.21$22.26-2.63%2
2018-02-012018-02-02$23.28$22.92-1.30%2
2018-01-302018-01-31$23.05$23.62-1.01%2
2018-01-262018-01-29$22.86$23.301.07%2
2018-01-242018-01-25$23.06$22.51-1.72%2
2018-01-222018-01-23$23.44$23.520.19%2
2018-01-182018-01-19$22.97$23.33-0.76%2
2017-09-182017-09-26$25.67$23.02-3.81%7
2017-08-152017-08-18$24.16$23.16-1.39%4
2017-08-042017-08-07$23.79$23.681.05%2
2017-07-032017-07-06$23.51$20.59-3.94%3
2017-06-052017-06-14$23.15$25.384.10%8
2017-05-122017-05-19$21.65$20.72-1.30%6
2017-04-242017-05-10$20.54$21.682.05%13
2017-04-202017-04-21$20.17$20.37-0.47%2