Strategy Zoo / S0545

PriceMomentum_V0545

ARCHIVEDmomentum

llmRestricted to UPTREND and normal/low-medium volatility to avoid sideways/noisy regimes; replaced single ret_20d threshold with an AND of ret_20d momentum, 20-day breakout, and positive sma_50_slope for more robust trend confirmation; added defensive exits (short-term 5d loss OR equity drawdown) to cut losses early; reduced base_position to 0.8 and added volatility-based scaling (reduce exposure in high vol) to lower max drawdown and improve generalization.

Fitness
0.1513
Generation
25
Complexity
10
Created
2026-09-22

Lineage

Parents (1)
PriceMomentum_V0449S0449 · gen 20ARCHIVEDllm

changed ret_20d threshold -0.1437 -> -0.006

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V0545  [momentum]
require regime.trend in ['UPTREND']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL']
if flat and (ret_20d > 0.03 and breakout_20 > 0.5 and sma_50_slope > 0.0):
    position = 0.8
if long and (ret_5d < -0.03 or drawdown < -0.08):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-2.4%4.1%4.1%0.5%
Total Return-17.4%12.8%16.0%8.1%
Sharpe-0.320.460.500.11
Sortino-0.100.200.140.04
Calmar-0.110.290.280.02
Volatility6.7%9.7%8.9%8.0%
Max DD-21.5%-14.2%-14.6%-22.6%
Win Rate36.7%26.7%75.0%44.3%
Avg Win2.0%8.7%2.7%3.3%
Avg Loss-2.1%-1.6%-4.0%-2.2%
Payoff0.945.310.671.51
Expectancy-0.6%1.1%1.0%0.2%
Profit Factor0.551.932.011.20
Trades30151661
Avg Holding Days4.03.12.63.4
Turnover6.08.06.96.6
Exposure3.6%3.3%2.1%3.2%

Growth of $100

PriceMomentum_V0545 vs TSLA Buy & Hold
PriceMomentum_V0545 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.8%0.23-3.0%4
20172.4%0.97-1.0%5
2018-3.7%-0.64-6.1%2
20194.7%0.91-0.4%1
20200.0%0.000.0%0
202125.6%1.56-6.5%11
2022-10.2%-1.58-10.2%4

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 testDOWNTREND2680.0%0.000%
hidden testEXPENSIVE8317.4%1.721%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-13.7%-1.431%
hidden testLOW VOLATILITY42910.9%1.303%
hidden testMEDIUM VOLATILITY24911.7%1.312%
hidden testNORMAL8013.3%0.372%
hidden testSIDEWAYS2930.0%0.000%
hidden testUPTREND37111.1%0.795%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE3114.1%0.870%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY6990.0%0.000%
trainLOW VOLATILITY745-2.2%-0.248%
trainMEDIUM VOLATILITY568-4.7%-0.672%
trainNORMAL1,601-3.5%-0.484%
trainSIDEWAYS592-2.6%-0.920%
trainUPTREND902-3.1%-0.328%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-0.1%-0.990%
validationLOW VOLATILITY1834.1%0.557%
validationMEDIUM VOLATILITY3158.4%0.604%
validationNORMAL4747.1%0.585%
validationSIDEWAYS206-6.7%-1.120%
validationUPTREND42511.2%0.916%

Trades (full period)

61 trades
EntryExitEntry PxExit PxReturnDays
2025-12-152025-12-30$475.31$454.430.02%11
2025-09-122025-09-15$395.94$410.045.72%2
2024-09-162024-09-17$226.78$227.87-1.38%2
2024-09-062024-09-09$210.73$216.27-6.91%2
2024-07-112024-07-12$241.03$248.23-6.91%2
2024-07-092024-07-10$262.33$263.262.81%2
2024-07-052024-07-08$251.52$252.941.50%2
2024-07-022024-07-03$231.26$246.397.99%2
2023-07-182023-07-19$293.34$291.260.65%2
2023-07-052023-07-06$282.48$276.540.60%2
2023-06-202023-06-21$274.45$259.464.11%2
2023-06-142023-06-15$256.79$255.90-0.75%2
2023-06-122023-06-13$249.83$258.711.62%2
2023-06-082023-06-09$234.86$244.403.50%2
2023-06-062023-06-07$221.31$224.571.20%2
2023-06-022023-06-05$213.97$217.612.32%2
2022-09-202022-09-21$308.73$300.80-0.25%2
2022-08-162022-08-17$306.56$304.00-0.87%2
2022-08-052022-08-08$288.17$290.42-5.46%2
2022-04-052022-04-06$363.75$348.59-3.94%2
2021-10-152021-11-09$281.01$341.1732.59%18
2021-10-132021-10-14$270.36$272.770.37%2
2021-10-082021-10-11$261.83$263.98-0.98%2
2021-09-272021-09-28$263.79$259.191.59%2
2021-09-202021-09-21$243.39$246.46-3.25%2
2021-09-162021-09-17$252.33$253.16-0.04%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-09-012021-09-02$244.70$244.13-0.34%2
2021-08-132021-08-16$239.06$228.72-0.72%2
2021-08-052021-08-06$238.21$233.030.26%2
2019-12-132019-12-17$23.89$25.274.69%3
2018-12-042018-12-18$23.98$22.47-2.37%10
2018-02-012018-02-02$23.28$22.92-1.30%2
2017-01-232017-01-24$16.59$16.971.21%2
2017-01-192017-01-20$16.25$16.321.65%2
2017-01-172017-01-18$15.71$15.89-0.89%2
2017-01-092017-01-10$15.42$15.320.63%2
2017-01-052017-01-06$15.12$15.27-0.24%2
2016-07-292016-08-01$15.65$15.331.29%2
2016-07-262016-07-27$15.30$15.23-0.33%2
2016-04-072016-04-08$17.15$16.67-2.64%2
2016-04-052016-04-06$17.03$17.692.58%2
2015-07-212015-07-27$17.78$16.87-4.94%5
2015-07-022015-07-09$18.67$17.19-4.35%5
2015-06-242015-06-30$17.68$17.88-1.84%5
2015-06-222015-06-23$17.32$17.84-0.99%2
2015-06-182015-06-19$17.46$17.500.29%2
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-05-182015-05-19$16.58$16.48-0.19%2
2015-05-122015-05-13$16.32$16.211.59%2
2015-04-302015-05-01$15.07$15.07-2.36%2
2014-08-052014-09-16$15.90$17.385.11%30
2014-06-302014-07-03$16.00$15.28-3.38%4
2014-06-242014-06-25$15.50$15.79-1.75%2
2012-12-122012-12-14$2.35$2.25-3.94%3
2012-12-032012-12-04$2.31$2.261.73%2
2012-11-292012-11-30$2.25$2.250.95%2
2012-03-272012-04-05$2.53$2.30-5.25%8
2012-03-132012-03-21$2.41$2.34-2.49%7