Strategy Zoo / S1713

PriceMomentum_V1713

ARCHIVEDhybrid

llmAdded regime gates to restrict trading to uptrends and non-bubble environments; tightened position sizing by lowering base_position and adding scaled sizes for LOW/MEDIUM volatility; added momentum (macd_hist) and volatility-percentile confirmation to the main entry leg; added a breakout+momentum alternate entry; replaced the single weak exit with a composite exit: larger fixed 20-day stop, a SMA50 trend exit, and a drawdown-based exit to curb large losses. These structural changes aim to reduce overfitting and drawdown while keeping rules simple.

Fitness
0.1857
Generation
79
Complexity
27
Created
2026-10-16

Lineage

Parents (1)
PriceMomentum_V1683S1683 · gen 78ELITEllm

entry from PriceMomentum_V1405, exit from PriceMomentum_V1021

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V1713  [hybrid]
require regime.trend in ['UPTREND']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL']
if flat and ((ret_20d > 0.05 and (((close > sma_200 and sma_200_slope > 0.0) or ret_20d > 0.0923) and ret_20d > -0.1275 and cumret_252d > -0.0062 and macd_hist > 0.0 and vol_pctile < 0.8)) or ret_20d > 0.184 or (breakout_20 > 0.0 and macd_hist > 0.0 and ret_5d > 0.02)):
    position = 0.8
if long and (ret_20d < -0.02 or close < sma_50 or drawdown > 0.12):
    position = 0.0  # exit to cash
if regime.volatility == "LOW_VOLATILITY": position *= 1.0
if regime.volatility == "MEDIUM_VOLATILITY": position *= 0.65

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR3.6%1.2%2.9%3.0%
Total Return32.9%3.7%11.5%53.6%
Sharpe0.410.160.280.32
Sortino0.230.070.120.15
Calmar0.280.050.140.12
Volatility9.9%11.2%13.3%11.1%
Max DD-13.1%-25.6%-20.9%-25.6%
Win Rate52.9%20.0%50.0%47.1%
Avg Win5.4%31.5%8.0%8.0%
Avg Loss-2.3%-5.7%-5.5%-4.1%
Payoff2.395.541.461.96
Expectancy1.8%1.8%1.3%1.6%
Profit Factor2.681.391.461.74
Trades1751234
Avg Holding Days14.817.48.412.9
Turnover3.42.34.63.5
Exposure8.8%7.6%6.6%8.0%

Growth of $100

PriceMomentum_V1713 vs TSLA Buy & Hold
PriceMomentum_V1713 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-3.1%-0.49-6.7%3
20179.7%2.04-0.9%2
2018-7.4%-1.63-7.4%2
20195.9%0.73-5.9%1
20200.0%0.000.0%0
202126.8%1.50-8.9%2
2022-18.3%-2.03-18.2%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 testEXPENSIVE8333.9%2.442%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-16.4%-1.481%
hidden testLOW VOLATILITY44510.4%0.8410%
hidden testMEDIUM VOLATILITY25112.6%0.756%
hidden testNORMAL8190.9%0.077%
hidden testSIDEWAYS300-11.2%-1.441%
hidden testUPTREND37118.7%0.9316%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE3117.0%1.381%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY6994.6%0.600%
trainLOW VOLATILITY74511.7%0.8721%
trainMEDIUM VOLATILITY568-6.6%-1.023%
trainNORMAL1,6013.7%0.3411%
trainSIDEWAYS592-3.4%-1.071%
trainUPTREND90211.3%0.7719%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-6.1%-1.000%
validationLOW VOLATILITY18317.1%1.4423%
validationMEDIUM VOLATILITY315-0.5%-0.045%
validationNORMAL4742.9%0.2112%
validationSIDEWAYS206-13.3%-1.611%
validationUPTREND4259.7%0.7013%

Trades (full period)

34 trades
EntryExitEntry PxExit PxReturnDays
2026-07-022026-07-06$393.45$419.77-4.00%2
2026-05-292026-06-01$435.79$415.88-1.30%2
2025-12-082026-01-05$439.58$451.67-3.06%19
2025-09-122025-09-15$395.94$410.045.72%2
2025-06-022025-06-06$342.69$295.14-9.52%5
2025-05-222025-05-28$341.04$356.906.16%4
2024-10-072024-10-14$240.83$219.16-10.54%6
2024-09-242024-09-27$254.27$260.460.78%4
2024-09-162024-09-20$226.78$238.253.00%5
2024-09-062024-09-09$210.73$216.27-4.49%2
2024-07-022024-07-12$231.26$248.2310.53%8
2023-06-022023-08-02$213.97$254.1121.89%42
2022-08-162022-08-22$306.56$289.91-2.86%5
2022-08-052022-08-08$288.17$290.42-3.55%2
2022-04-052022-04-27$363.75$293.84-12.74%16
2021-08-312021-11-10$245.24$355.9831.50%51
2021-08-052021-08-23$238.21$235.43-3.57%13
2019-11-222019-12-17$22.20$25.275.89%17
2018-12-112018-12-19$24.45$22.20-3.44%7
2018-02-012018-02-06$23.28$22.26-4.11%4
2017-01-312017-02-03$16.80$16.760.14%4
2017-01-052017-01-25$15.12$16.969.47%14
2016-07-262016-08-18$15.30$14.90-2.50%18
2016-06-082016-06-09$15.70$15.290.93%2
2016-04-052016-05-03$17.03$15.49-1.58%21
2015-05-112015-07-28$15.97$17.658.82%55
2015-04-292015-05-01$15.50$15.07-1.69%3
2014-08-042014-09-16$15.90$17.387.00%31
2014-06-232014-07-16$15.81$14.48-3.59%17
2013-03-272013-04-02$2.54$2.9612.65%4
2013-02-122013-02-14$2.53$2.55-0.10%3
2012-11-232012-12-14$2.14$2.252.68%16
2012-02-232012-04-10$2.30$2.161.39%33
2012-02-212012-02-22$2.30$2.28-1.23%2