Strategy Zoo / S0416

PriceMomentum_V0416

ARCHIVEDmomentum

llmBroadened entry (lowered ret_20d threshold, allow recent breakout or 5d momentum and added rsi cap), tightened slope gate slightly to avoid deep downtrends, added exit conditions to cut on high volatility and strong overbought (rsi), added regime gates to avoid high-volatility and bubble periods, introduced volatility-based position scaling (reduce size when vol_pctile>0.8), lowered base position to reduce risk and improve out-of-sample robustness.

Fitness
0.1279
Generation
19
Complexity
14
Created
2026-09-18

Lineage

Parents (1)
PriceMomentum_V0340S0340 · gen 16ARCHIVEDllm

changed ret_20d threshold 0.05 -> 0.1224

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V0416  [momentum]
require regime.trend in ['UPTREND', 'SIDEWAYS']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL']
if flat and (ret_20d > 0.06 and (breakout_20 > 0.0 or ret_5d > 0.0) and sma_50_slope > -0.002 and rsi_14 < 80.0):
    position = 0.8
if long and (ret_20d < -0.03 or rsi_14 > 85.0 or vol_pctile > 0.95):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-2.0%1.1%-1.0%-1.1%
Total Return-14.8%3.3%-3.8%-15.3%
Sharpe-0.050.150.030.01
Sortino-0.030.080.020.01
Calmar-0.040.04-0.03-0.02
Volatility15.5%14.8%17.5%15.9%
Max DD-47.1%-28.2%-30.7%-47.1%
Win Rate46.4%33.3%42.9%43.8%
Avg Win5.4%19.3%9.5%7.9%
Avg Loss-5.3%-7.1%-6.8%-6.0%
Payoff1.012.711.401.31
Expectancy-0.3%1.7%0.2%0.1%
Profit Factor0.881.351.051.02
Trades2861448
Avg Holding Days15.223.013.515.7
Turnover5.63.26.15.2
Exposure15.8%14.0%15.0%15.2%

Growth of $100

PriceMomentum_V0416 vs TSLA Buy & Hold
PriceMomentum_V0416 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-18.0%-1.24-24.7%5
20179.8%1.45-4.3%3
2018-17.8%-1.68-18.2%3
20196.6%0.40-17.6%4
20200.0%0.000.0%0
202138.7%1.90-10.1%3
2022-25.6%-1.55-28.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 testDOWNTREND267-1.2%-0.970%
hidden testEXPENSIVE8317.6%1.721%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-12.3%-0.851%
hidden testLOW VOLATILITY42916.1%0.9523%
hidden testMEDIUM VOLATILITY248-13.4%-0.6415%
hidden testNORMAL800-1.3%-0.0717%
hidden testSIDEWAYS293-23.5%-1.2325%
hidden testUPTREND37120.7%0.9518%
trainDOWNTREND518-3.6%-0.671%
trainEXPENSIVE3117.0%1.381%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY699-1.2%-0.081%
trainLOW VOLATILITY74515.0%0.9133%
trainMEDIUM VOLATILITY568-21.1%-1.4212%
trainNORMAL1,601-2.4%-0.1420%
trainSIDEWAYS592-17.6%-1.0716%
trainUPTREND90211.9%0.6424%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY2580.0%0.000%
validationLOW VOLATILITY18316.1%0.8942%
validationMEDIUM VOLATILITY315-4.1%-0.229%
validationNORMAL4743.5%0.1922%
validationSIDEWAYS206-18.9%-1.0319%
validationUPTREND42513.0%0.8716%

Trades (full period)

48 trades
EntryExitEntry PxExit PxReturnDays
2026-05-082026-06-08$428.35$408.95-4.08%21
2025-12-152026-01-07$475.31$431.41-4.62%16
2025-08-252025-09-15$346.60$410.0412.89%15
2025-08-122025-08-21$340.84$320.11-3.73%8
2025-06-022025-06-06$342.69$295.14-14.50%5
2024-09-232024-10-14$250.00$219.16-6.94%16
2024-09-162024-09-20$226.78$238.254.58%5
2024-09-052024-09-09$230.17$216.27-3.25%3
2024-06-272024-07-08$197.42$252.9421.87%7
2023-11-172024-01-10$234.30$233.940.43%36
2023-09-122023-09-28$267.48$246.38-9.90%13
2023-06-222023-08-02$264.61$254.110.58%29
2023-05-312023-06-12$203.93$249.8316.72%9
2023-03-012023-03-08$202.77$182.00-7.16%6
2022-09-212022-09-26$300.80$276.01-8.87%4
2022-08-022022-08-29$300.59$284.82-2.53%20
2022-03-312022-04-27$359.20$293.84-16.15%19
2021-11-232021-12-01$369.68$365.00-0.96%6
2021-08-042021-10-26$236.97$339.4834.30%59
2021-06-142021-07-26$205.90$219.214.30%30
2019-11-222019-12-17$22.20$25.275.89%17
2019-10-172019-10-25$17.46$21.8812.18%7
2019-09-132019-09-27$16.35$16.14-1.15%11
2019-07-222019-07-26$17.05$15.20-9.19%5
2018-12-072018-12-19$23.86$22.20-5.89%9
2018-03-132018-03-15$22.79$21.71-4.53%3
2018-01-232018-02-09$23.52$20.69-8.41%14
2017-12-142017-12-26$22.53$21.15-3.42%8
2017-01-312017-02-03$16.80$16.760.14%4
2016-12-282017-01-25$14.65$16.9612.46%19
2016-10-042016-10-06$14.09$13.40-2.12%3
2016-07-252016-08-23$15.33$14.990.11%22
2016-06-082016-06-23$15.70$13.09-12.51%12
2016-03-282016-05-04$15.35$14.841.54%28
2016-03-212016-03-24$15.89$15.18-3.63%4
2015-09-212015-10-02$17.61$16.50-6.54%10
2015-04-282015-07-28$15.37$17.657.37%64
2015-04-142015-04-21$13.83$13.96-1.88%6
2014-11-122014-12-02$16.61$15.43-6.34%14
2014-08-052014-09-16$15.90$17.385.11%30
2014-06-102014-07-17$13.49$14.364.57%27
2013-03-262013-04-02$2.52$2.9613.44%5
2013-02-202013-02-26$2.57$2.30-10.17%5
2013-02-122013-02-14$2.53$2.55-0.10%3
2012-11-062013-01-11$2.08$2.195.08%46
2012-09-182012-09-21$2.09$2.00-4.20%4
2012-07-112012-07-20$2.10$2.122.49%8
2012-02-152012-04-10$2.24$2.160.02%38