Strategy Zoo / S0721

PriceMomentum_V0721

ARCHIVEDmomentum

llmRequire underlying uptrend (sma_50_slope>0) and keep momentum+volume signal; tightened rel_volume slightly. Restrict trading to UPTREND and LOW/MEDIUM volatility and NORMAL bubble. Add explicit volatility and bubble scaling (cuts exposure in high vol or expensive regimes). Improve exits by adding short-term momentum (ret_5d) and trend slope flip for quicker exits while keeping the original 20d loss stop.

Fitness
0.1050
Generation
33
Complexity
18
Created
2026-09-25

Lineage

Parents (1)
PriceMomentum_V0429S0429 · gen 20ARCHIVEDllm

entry = PriceMomentum_V0186 OR PriceMomentum_V0267

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V0721  [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.05 and (rel_volume > 1.25 or ret_20d > 0.1146) and sma_50_slope > 0.0):
    position = 1.0
if long and (ret_20d < -0.1003 or ret_5d < -0.03 or sma_50_slope < 0.0):
    position = 0.0  # exit to cash
if regime.volatility == "LOW_VOLATILITY": position *= 1.0
if regime.volatility == "MEDIUM_VOLATILITY": position *= 0.68
if regime.volatility == "HIGH_VOLATILITY": position *= 0.25
if regime.bubble == "EXPENSIVE": position *= 0.5
if regime.bubble == "EXTREME": position *= 0.0

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-2.2%1.6%2.3%-0.3%
Total Return-16.1%4.9%8.6%-4.4%
Sharpe-0.130.190.230.04
Sortino-0.060.090.080.02
Calmar-0.090.050.09-0.01
Volatility11.5%12.7%14.5%12.6%
Max DD-25.1%-31.6%-24.8%-31.6%
Win Rate34.8%22.2%38.5%33.3%
Avg Win5.5%24.2%9.2%9.2%
Avg Loss-3.8%-4.8%-4.2%-4.2%
Payoff1.435.022.182.21
Expectancy-0.6%1.6%0.9%0.3%
Profit Factor0.761.431.361.11
Trades2391345
Avg Holding Days10.07.75.28.1
Turnover5.54.56.15.5
Exposure9.8%6.6%5.3%8.0%

Growth of $100

PriceMomentum_V0721 vs TSLA Buy & Hold
PriceMomentum_V0721 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-8.3%-1.00-12.6%3
201712.2%2.04-1.1%2
2018-1.4%-0.26-5.2%1
2019-6.3%-1.02-6.3%1
20200.0%0.000.0%0
202141.3%1.97-8.1%2
2022-25.8%-2.46-25.7%7

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 testEXPENSIVE8321.5%1.701%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-21.4%-1.691%
hidden testLOW VOLATILITY43112.8%0.918%
hidden testMEDIUM VOLATILITY25012.0%0.715%
hidden testNORMAL8041.6%0.116%
hidden testSIDEWAYS293-9.9%-1.081%
hidden testUPTREND37116.1%0.7513%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE3113.6%1.411%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY6993.5%0.340%
trainLOW VOLATILITY745-1.7%-0.1223%
trainMEDIUM VOLATILITY568-7.5%-0.804%
trainNORMAL1,601-2.6%-0.2012%
trainSIDEWAYS592-4.2%-1.111%
trainUPTREND902-0.7%-0.0421%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-0.1%-0.990%
validationLOW VOLATILITY18322.6%2.1316%
validationMEDIUM VOLATILITY315-7.3%-0.417%
validationNORMAL4743.8%0.2411%
validationSIDEWAYS206-18.6%-1.741%
validationUPTREND42513.3%0.8711%

Trades (full period)

45 trades
EntryExitEntry PxExit PxReturnDays
2026-05-292026-06-01$435.79$415.88-1.63%2
2025-12-152025-12-30$475.31$454.43-0.05%11
2025-09-122025-09-15$395.94$410.047.15%2
2025-06-052025-06-06$284.70$295.14-9.83%2
2025-06-022025-06-04$342.69$332.05-0.56%3
2025-05-222025-05-27$341.04$362.890.82%3
2024-10-072024-10-08$240.83$244.50-3.90%2
2024-10-032024-10-04$240.66$250.08-2.42%2
2024-09-062024-09-09$210.73$216.27-5.88%2
2024-07-022024-07-12$231.26$248.2313.30%8
2023-07-182023-07-21$293.34$260.02-9.64%4
2023-06-282023-07-12$256.24$271.998.89%10
2023-06-022023-06-27$213.97$250.2115.93%17
2022-08-162022-08-22$306.56$289.91-3.63%5
2022-08-052022-08-08$288.17$290.42-4.64%2
2022-04-202022-04-27$325.73$293.84-10.21%6
2022-04-142022-04-18$328.33$334.76-2.62%2
2022-04-122022-04-13$328.98$340.790.63%2
2022-04-082022-04-11$341.83$325.31-2.18%2
2022-04-052022-04-07$363.75$352.42-6.09%3
2021-11-232021-12-03$369.68$338.32-4.35%8
2021-09-162021-11-09$252.33$341.1747.70%39
2019-11-222019-11-25$22.20$22.42-6.33%2
2018-12-062018-12-18$24.20$22.47-1.44%9
2017-01-312017-02-03$16.80$16.760.17%4
2017-01-052017-01-25$15.12$16.9611.94%14
2016-07-262016-08-30$15.30$14.09-6.63%26
2016-04-152016-05-02$16.97$16.12-3.65%12
2016-04-052016-04-14$17.03$16.791.99%8
2015-08-062015-08-07$16.41$16.17-6.17%2
2015-07-212015-07-27$17.78$16.87-4.20%5
2015-05-112015-07-09$15.97$17.197.54%42
2015-04-292015-05-01$15.50$15.07-2.12%3
2014-08-072014-09-16$16.83$17.381.78%28
2014-06-232014-07-03$15.81$15.28-0.27%9
2013-03-262013-04-02$2.52$2.9616.82%5
2013-02-202013-02-22$2.57$2.41-10.67%3
2013-02-152013-02-19$2.47$2.62-3.41%2
2013-02-122013-02-14$2.53$2.55-0.12%3
2012-12-192012-12-31$2.31$2.26-4.15%8
2012-11-232012-12-14$2.14$2.253.30%16
2012-03-272012-04-05$2.53$2.30-4.03%8
2012-03-122012-03-21$2.40$2.340.44%8
2012-02-292012-03-09$2.23$2.32-2.39%8
2012-02-232012-02-28$2.30$2.25-1.95%4