Strategy Zoo / S0987

PriceMomentum_V0987

ARCHIVEDmomentum

llmRestricted regime to UPTREND and non-HIGH volatility / non-EXTREME bubble to improve signal consistency. Replaced single strict ret_20d entry with an AND of moderate 20d momentum (>3%), short-term momentum (>0 on ret_5d), and price above sma_50 (dist_sma_50>0) to generalize and avoid overfitting. Broadened exit to an OR of 20d stop (-3%), short-term stop (-2% on 5d), or negative MACD histogram to cut losses/rotations earlier. Added position scaling: reduce to 0.4 when vol_pctile>0.8 and to 0.3 on large drawdowns (<-15%). Lowered base_position to 0.8 to reduce leverage/turnover and improve walk-forward robustness.

Fitness
0.3119
Generation
45
Complexity
11
Created
2026-10-01

Lineage

Parents (1)
PriceMomentum_V0449S0449 · gen 20ARCHIVEDllm

changed ret_20d threshold -0.1437 -> -0.006

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V0987  [momentum]
require regime.trend in ['UPTREND']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL', 'EXPENSIVE']
if flat and (ret_20d > 0.03 and ret_5d > 0.0 and dist_sma_50 > 0.0):
    position = 0.8
if long and (ret_20d < -0.03 or ret_5d < -0.02 or macd_hist < 0.0):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR2.4%22.7%4.2%6.9%
Total Return20.9%84.7%16.5%166.4%
Sharpe0.261.260.370.55
Sortino0.151.020.160.33
Calmar0.100.720.250.22
Volatility12.1%17.4%13.7%13.8%
Max DD-23.0%-31.3%-16.6%-31.3%
Win Rate36.8%53.6%52.2%43.7%
Avg Win3.8%7.8%4.6%5.5%
Avg Loss-1.9%-3.3%-3.3%-2.4%
Payoff1.992.381.382.27
Expectancy0.2%2.6%0.8%1.0%
Profit Factor1.152.741.511.77
Trades682823119
Avg Holding Days4.35.44.44.7
Turnover13.714.99.912.9
Exposure9.4%12.9%6.6%9.5%

Growth of $100

PriceMomentum_V0987 vs TSLA Buy & Hold
PriceMomentum_V0987 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-0.3%-0.02-7.1%5
201717.1%1.29-8.9%15
2018-9.0%-1.63-8.9%5
20195.1%0.58-7.2%4
202064.4%2.60-6.4%7
202142.8%1.88-10.1%15
2022-23.7%-2.69-23.6%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 testDOWNTREND2750.0%0.000%
hidden testEXPENSIVE831.5%0.0725%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-7.8%-0.691%
hidden testLOW VOLATILITY43419.5%1.638%
hidden testMEDIUM VOLATILITY251-7.0%-0.3910%
hidden testNORMAL8085.7%0.455%
hidden testSIDEWAYS293-1.9%-1.391%
hidden testUPTREND37114.3%0.6616%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE31141.7%2.1322%
trainEXTREME1009.3%1.551%
trainHIGH VOLATILITY6997.9%0.671%
trainLOW VOLATILITY7453.7%0.2720%
trainMEDIUM VOLATILITY568-3.5%-0.336%
trainNORMAL1,601-4.8%-0.468%
trainSIDEWAYS592-3.3%-1.051%
trainUPTREND9029.1%0.5121%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13893.3%3.4430%
validationEXTREME14430.7%2.282%
validationHIGH VOLATILITY258-0.1%-0.990%
validationLOW VOLATILITY18313.0%0.9324%
validationMEDIUM VOLATILITY31545.2%1.8217%
validationNORMAL474-1.5%-0.1011%
validationSIDEWAYS206-14.8%-1.901%
validationUPTREND42546.2%2.0522%

Trades (full period)

latest 100 of 119
EntryExitEntry PxExit PxReturnDays
2026-05-292026-06-01$435.79$415.88-1.30%2
2025-12-152025-12-30$475.31$454.430.02%11
2025-11-062025-11-07$445.91$429.52-2.96%2
2025-11-032025-11-05$468.37$462.07-2.29%3
2025-10-292025-10-30$461.51$440.100.01%2
2025-10-242025-10-27$433.72$452.42-2.88%2
2025-10-222025-10-23$438.97$448.98-0.82%2
2025-10-202025-10-21$447.43$442.601.32%2
2025-10-072025-10-08$433.09$438.69-3.72%2
2025-09-122025-10-06$395.94$453.2513.02%17
2025-05-282025-06-03$356.90$344.27-4.62%5
2024-09-232024-09-27$250.00$260.465.19%5
2024-09-162024-09-20$226.78$238.254.58%5
2024-09-062024-09-09$210.73$216.27-6.91%2
2024-07-022024-07-12$231.26$248.2311.75%8
2023-07-312023-08-01$267.43$261.070.14%2
2023-07-202023-07-21$262.90$260.02-7.94%2
2023-07-182023-07-19$293.34$291.260.65%2
2023-07-142023-07-17$281.38$290.380.84%2
2023-07-102023-07-11$269.61$269.79-1.56%2
2023-07-062023-07-07$276.54$274.43-1.84%2
2023-07-032023-07-05$279.82$282.485.35%2
2023-06-022023-06-27$213.97$250.2112.72%17
2022-09-202022-09-23$308.73$275.33-5.47%4
2022-09-122022-09-14$304.42$302.61-2.16%3
2022-08-162022-08-19$306.56$296.67-1.83%4
2022-08-052022-08-08$288.17$290.42-5.46%2
2022-04-202022-04-21$325.73$336.26-4.12%2
2022-04-052022-04-07$363.75$352.42-7.15%3
2021-11-262021-11-29$360.64$379.00-2.60%2
2021-11-232021-11-24$369.68$372.00-3.47%2
2021-10-122021-11-09$268.57$341.1736.12%21
2021-10-082021-10-11$261.83$263.98-0.98%2
2021-09-272021-10-07$263.79$264.540.71%9
2021-08-302021-09-21$243.64$246.461.92%16
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-052021-08-17$238.21$221.90-2.92%9
2021-02-052021-02-08$284.08$287.810.05%2
2021-01-282021-01-29$278.48$264.51-2.82%2
2021-01-262021-01-27$294.36$288.050.05%2
2021-01-202021-01-25$283.48$293.600.04%4
2021-01-122021-01-19$283.15$281.521.34%5
2021-01-042021-01-11$243.26$270.4019.26%6
2020-12-302020-12-31$231.59$235.223.30%2
2020-12-242020-12-28$220.59$221.231.79%2
2020-12-172020-12-23$218.63$215.332.18%5
2020-12-102020-12-16$209.02$207.593.66%5
2020-11-192020-12-08$166.42$216.6324.77%13
2020-10-132020-10-20$148.88$140.65-2.21%6
2019-12-132020-01-22$23.89$37.9740.01%26
2019-12-052019-12-06$22.02$22.39-0.80%2
2019-12-032019-12-04$22.41$22.200.16%2
2019-11-222019-11-25$22.20$22.42-5.07%2
2019-10-212019-10-22$16.90$17.04-1.23%2
2018-12-112018-12-18$24.45$22.47-3.81%6
2018-12-072018-12-10$23.86$24.34-1.28%2
2018-12-042018-12-06$23.98$24.200.11%2
2018-11-292018-11-30$22.74$23.37-1.70%2
2018-02-012018-02-05$23.28$22.21-2.54%3
2017-10-092017-10-10$22.86$23.71-3.28%2
2017-10-052017-10-06$23.69$23.79-0.09%2
2017-09-182017-09-22$25.67$23.41-2.96%5
2017-08-152017-08-18$24.16$23.16-2.77%4
2017-08-042017-08-07$23.79$23.682.10%2
2017-06-052017-06-14$23.15$25.388.28%8
2017-05-122017-05-16$21.65$21.13-1.94%3
2017-05-022017-05-04$21.26$19.70-3.09%3
2017-04-282017-05-01$20.94$21.521.25%2
2017-04-262017-04-27$20.68$20.58-1.08%2
2017-04-242017-04-25$20.54$20.920.48%2
2017-03-282017-04-04$18.50$20.258.17%6
2017-02-092017-02-22$17.95$18.234.52%9
2017-02-072017-02-08$17.17$17.47-0.25%2
2017-01-052017-02-02$15.12$16.777.62%20
2016-07-262016-08-08$15.30$15.08-0.14%10
2016-06-082016-06-09$15.70$15.290.93%2
2016-04-272016-04-28$16.76$16.51-0.88%2
2016-04-182016-04-19$16.93$16.49-0.36%2
2016-04-052016-04-13$17.03$16.970.15%7
2015-08-062015-08-07$16.41$16.17-7.26%2
2015-07-202015-07-22$18.82$17.86-2.43%3
2015-07-162015-07-17$17.78$18.310.92%2
2015-06-222015-07-09$17.32$17.19-2.40%13
2015-06-182015-06-19$17.46$17.500.29%2
2015-06-122015-06-15$16.71$16.69-0.39%2
2015-06-092015-06-10$17.07$16.71-0.25%2
2015-06-032015-06-04$16.60$16.390.05%2
2015-06-012015-06-02$16.63$16.56-0.59%2
2015-05-282015-05-29$16.76$16.721.14%2
2015-05-112015-05-22$15.97$16.522.88%10
2015-04-292015-05-01$15.50$15.07-1.69%3
2014-09-152014-09-16$16.92$17.38-7.41%2
2014-09-022014-09-12$18.94$18.613.01%9
2014-08-282014-08-29$17.59$17.980.03%2
2014-08-262014-08-27$17.45$17.55-0.41%2
2014-08-052014-08-22$15.90$17.125.14%14
2014-07-152014-07-16$14.64$14.48-2.67%2
2014-06-232014-07-03$15.81$15.28-0.18%9
2014-02-132014-02-26$13.31$16.8721.13%9