Strategy Zoo / S0717

PriceMomentum_V0717

ARCHIVEDhybrid

llmRestricted entries to clear uptrends and trending 200-day slope; added a volatility filter to avoid extreme vol; simplified entry logic (cross OR 20d momentum) and kept 1yr cumreturn floor. Improved exits: keep original 20d deterioration exit, add hard drawdown stop (-8%) and a short-term MACD+5d-loss exit to cut weakening trades. Reduced base position to 0.60 to lower drawdown/risk.

Fitness
0.0504
Generation
33
Complexity
16
Created
2026-09-25

Lineage

Parents (1)
PriceMomentum_V0624S0624 · gen 29ARCHIVEDllm

entry = PriceMomentum_V0602 OR LongTermTrend_V0519

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V0717  [hybrid]
require regime.trend in ['UPTREND']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL']
if flat and ((close > sma_200 or ret_20d > 0.09) and sma_200_slope > 0.0 and cumret_252d > -0.2 and vol_pctile < 0.85):
    position = 0.6
if long and (ret_20d < -0.006 or drawdown < -0.08 or (macd_hist < 0.0 and ret_5d < -0.02)):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-3.2%-2.7%-7.2%-4.1%
Total Return-22.7%-7.8%-24.3%-46.0%
Sharpe-0.34-0.13-1.01-0.40
Sortino-0.19-0.08-0.46-0.22
Calmar-0.12-0.10-0.29-0.09
Volatility8.4%13.7%7.2%9.4%
Max DD-26.1%-25.8%-24.7%-46.3%
Win Rate39.3%39.7%32.0%37.9%
Avg Win1.4%2.3%1.4%1.6%
Avg Loss-1.2%-1.7%-1.4%-1.3%
Payoff1.181.390.951.20
Expectancy-0.2%-0.1%-0.5%-0.2%
Profit Factor0.760.910.450.73
Trades1355850243
Avg Holding Days2.62.32.22.5
Turnover20.323.216.219.8
Exposure6.4%6.0%4.0%5.7%

Growth of $100

PriceMomentum_V0717 vs TSLA Buy & Hold
PriceMomentum_V0717 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.4%-2.13-2.5%6
20179.7%1.83-1.8%18
2018-10.8%-1.55-10.8%7
2019-1.6%-0.26-6.0%8
20200.0%0.000.0%0
20215.7%0.37-18.8%45
2022-12.8%-1.21-14.7%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 testDOWNTREND2710.0%0.000%
hidden testEXPENSIVE8325.3%2.441%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-0.1%-1.410%
hidden testLOW VOLATILITY431-10.1%-1.216%
hidden testMEDIUM VOLATILITY250-9.6%-1.124%
hidden testNORMAL804-11.0%-1.594%
hidden testSIDEWAYS293-5.7%-1.581%
hidden testUPTREND371-13.7%-1.269%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE3115.9%1.491%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY6991.8%0.241%
trainLOW VOLATILITY745-3.7%-0.4511%
trainMEDIUM VOLATILITY568-7.5%-0.807%
trainNORMAL1,601-4.8%-0.528%
trainSIDEWAYS592-4.8%-0.971%
trainUPTREND902-3.2%-0.2714%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY2586.4%0.461%
validationLOW VOLATILITY1831.4%0.1910%
validationMEDIUM VOLATILITY315-10.3%-0.648%
validationNORMAL474-2.8%-0.1610%
validationSIDEWAYS206-14.2%-1.541%
validationUPTREND4253.7%0.2210%

Trades (full period)

latest 100 of 243
EntryExitEntry PxExit PxReturnDays
2026-07-012026-07-02$425.30$393.450.55%2
2026-05-292026-06-01$435.79$415.88-0.98%2
2026-02-172026-02-18$410.63$411.32-1.10%2
2026-02-122026-02-13$417.07$417.44-1.69%2
2026-02-102026-02-11$425.21$428.271.01%2
2026-02-062026-02-09$411.11$417.321.98%2
2026-02-042026-02-05$406.01$397.21-2.39%2
2026-02-022026-02-03$421.81$421.96-1.32%2
2026-01-092026-01-12$445.01$448.961.15%2
2026-01-072026-01-08$431.41$435.80-0.33%2
2026-01-052026-01-06$451.67$432.961.74%2
2025-12-312026-01-02$449.72$438.07-0.74%2
2025-12-102025-12-30$451.45$454.431.92%14
2025-12-082025-12-09$439.58$445.17-2.15%2
2025-12-042025-12-05$454.53$455.000.93%2
2025-12-022025-12-03$429.24$446.74-0.25%2
2025-11-282025-12-01$430.17$430.140.38%2
2025-11-252025-11-26$419.40$426.580.11%2
2025-11-212025-11-24$391.09$417.78-0.75%2
2025-11-192025-11-20$403.99$395.230.29%2
2025-11-172025-11-18$408.92$401.250.56%2
2025-11-132025-11-14$401.99$404.35-4.10%2
2025-09-122025-09-15$395.94$410.044.29%2
2025-09-042025-09-05$338.53$350.840.68%2
2025-07-292025-07-30$321.20$319.04-0.93%2
2025-07-232025-07-24$332.56$305.30-0.04%2
2025-07-212025-07-22$328.49$332.11-0.33%2
2025-07-172025-07-18$319.41$329.65-0.54%2
2025-07-152025-07-16$310.78$321.67-1.28%2
2025-06-042025-06-05$332.05$284.70-2.25%2
2025-06-022025-06-03$342.69$344.27-0.77%2
2025-05-272025-05-28$362.89$356.904.04%2
2025-05-222025-05-23$341.04$339.341.03%2
2024-10-112024-10-14$217.80$219.16-5.39%2
2024-10-092024-10-10$241.05$238.77-0.97%2
2024-10-072024-10-08$240.83$244.50-2.34%2
2024-01-112024-01-12$227.22$218.89-1.84%2
2024-01-092024-01-10$234.96$233.94-1.49%2
2024-01-052024-01-08$237.49$240.45-0.23%2
2024-01-032024-01-04$238.45$237.93-2.53%2
2023-09-012023-09-05$245.01$256.49-3.16%2
2023-08-302023-08-31$256.90$258.08-0.19%2
2023-08-282023-08-29$238.82$257.18-0.06%2
2023-08-242023-08-25$230.04$238.59-1.85%2
2023-08-152023-08-16$232.96$225.60-1.82%2
2023-08-112023-08-14$242.65$239.76-0.78%2
2023-08-092023-08-10$242.19$245.34-1.92%2
2023-08-072023-08-08$251.45$249.70-0.69%2
2023-08-032023-08-04$259.32$253.861.11%2
2023-08-012023-08-02$261.07$254.11-1.55%2
2022-08-162022-08-17$306.56$304.00-0.65%2
2022-08-052022-08-08$288.17$290.42-4.10%2
2022-05-042022-05-05$317.54$291.092.74%2
2022-04-262022-04-27$292.14$293.84-7.43%2
2022-04-222022-04-25$335.02$332.67-0.34%2
2022-04-202022-04-21$325.73$336.26-3.09%2
2022-04-182022-04-19$334.76$342.721.05%2
2022-04-132022-04-14$340.79$328.332.03%2
2022-04-112022-04-12$325.31$328.98-3.02%2
2022-04-072022-04-08$352.42$341.830.54%2
2022-04-052022-04-06$363.75$348.59-2.96%2
2022-01-122022-01-13$368.74$343.852.24%2
2021-12-312022-01-03$352.26$399.93-0.88%2
2021-12-292021-12-30$362.06$356.78-0.25%2
2021-12-272021-12-28$364.65$362.821.39%2
2021-12-222021-12-23$336.29$355.674.37%2
2021-12-202021-12-21$299.98$312.84-2.22%2
2021-12-162021-12-17$308.97$310.86-3.13%2
2021-12-142021-12-15$319.50$325.33-0.61%2
2021-12-102021-12-13$339.01$322.140.67%2
2021-12-082021-12-09$356.32$334.600.86%2
2021-12-062021-12-07$336.34$350.58-0.47%2
2021-12-022021-12-03$361.53$338.32-0.69%2
2021-11-302021-12-01$381.59$365.000.29%2
2021-11-262021-11-29$360.64$379.00-1.95%2
2021-11-232021-11-24$369.68$372.00-2.60%2
2021-10-142021-11-10$272.77$355.9815.51%20
2021-10-122021-10-13$268.57$270.360.92%2
2021-10-082021-10-11$261.83$263.98-0.73%2
2021-10-062021-10-07$260.92$264.540.05%2
2021-10-042021-10-05$260.51$260.200.37%2
2021-09-302021-10-01$258.49$258.41-0.57%2
2021-09-282021-09-29$259.19$260.44-1.17%2
2021-09-242021-09-27$258.13$263.791.53%2
2021-09-222021-09-23$250.65$251.210.90%2
2021-09-202021-09-21$243.39$246.46-2.43%2
2021-09-162021-09-17$252.33$253.16-0.03%2
2021-09-142021-09-15$248.16$251.940.00%2
2021-09-102021-09-13$245.42$247.67-1.60%2
2021-09-082021-09-09$251.29$251.62-0.04%2
2021-09-032021-09-07$244.52$250.97-0.02%2
2021-09-012021-09-02$244.70$244.13-0.25%2
2021-08-302021-08-31$243.64$245.241.48%2
2021-08-262021-08-27$233.72$237.31-0.97%2
2021-08-242021-08-25$236.16$237.070.07%2
2021-08-192021-08-20$224.49$226.75-1.47%2
2021-08-172021-08-18$221.90$229.66-1.91%2
2021-08-132021-08-16$239.06$228.72-0.54%2
2021-08-112021-08-12$235.94$240.75-0.30%2
2021-08-092021-08-10$237.92$236.661.14%2