Strategy Zoo / S1217

PriceMomentum_V1217

ARCHIVEDmomentum

llmNarrowed to UPTREND only; added composite entry (20d momentum + positive 50-day slope + price above SMA50) to focus on clean momentum in trend. Lowered momentum threshold to 8% to increase signals. Improved exits: 20d reversal OR 1d stop-loss to limit drawdowns. Added volatility-based scaling (lower exposure in medium/high vol) and reduced base position to 0.9 to control risk.

Fitness
0.3507
Generation
56
Complexity
12
Created
2026-10-07

Lineage

Parents (1)
PriceMomentum_V0267S0267 · gen 12ARCHIVEDllm

changed ret_20d threshold 0.05 -> 0.1146

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V1217  [momentum]
require regime.trend in ['UPTREND']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
if flat and (ret_20d > 0.08 and sma_50_slope > 0.0 and dist_sma_50 > 0.02):
    position = 0.9
if long and (ret_20d < -0.08 or ret_1d < -0.06):
    position = 0.0  # exit to cash
if regime.volatility == "LOW_VOLATILITY": position *= 1.0
if regime.volatility == "MEDIUM_VOLATILITY": position *= 0.7
if regime.volatility == "HIGH_VOLATILITY": position *= 0.4

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR4.2%30.0%2.2%8.6%
Total Return38.7%119.7%8.4%239.1%
Sharpe0.331.300.210.55
Sortino0.231.090.110.37
Calmar0.130.910.090.26
Volatility16.3%22.0%18.0%18.0%
Max DD-33.4%-32.9%-25.1%-33.4%
Win Rate50.0%53.3%46.2%50.0%
Avg Win6.9%18.3%7.8%11.0%
Avg Loss-4.5%-6.8%-5.0%-5.3%
Payoff1.522.671.562.10
Expectancy1.2%6.6%0.9%2.9%
Profit Factor1.523.051.332.10
Trades26151354
Avg Holding Days17.714.511.515.5
Turnover6.07.66.76.4
Exposure18.2%19.8%11.3%16.8%

Growth of $100

PriceMomentum_V1217 vs TSLA Buy & Hold
PriceMomentum_V1217 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-11.0%-1.35-14.9%2
20173.3%0.27-20.5%8
2018-12.8%-2.10-12.8%2
20192.4%0.32-6.3%1
2020132.0%3.40-6.2%7
202117.8%0.78-23.4%5
2022-21.7%-2.02-21.6%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 testDOWNTREND2780.0%0.000%
hidden testEXPENSIVE8360.3%1.9840%
hidden testEXTREME4822.8%0.8911%
hidden testHIGH VOLATILITY254-22.0%-1.861%
hidden testLOW VOLATILITY43927.3%1.7015%
hidden testMEDIUM VOLATILITY250-11.3%-0.4516%
hidden testNORMAL812-3.1%-0.208%
hidden testSIDEWAYS294-7.5%-0.881%
hidden testUPTREND37115.6%0.5628%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE31115.8%0.6632%
trainEXTREME10042.2%1.9721%
trainHIGH VOLATILITY6990.7%0.051%
trainLOW VOLATILITY74521.3%1.1438%
trainMEDIUM VOLATILITY568-9.6%-0.5914%
trainNORMAL1,6011.1%0.0815%
trainSIDEWAYS592-4.7%-1.271%
trainUPTREND90215.1%0.6340%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13852.4%1.8437%
validationEXTREME144111.0%4.2916%
validationHIGH VOLATILITY25815.1%1.081%
validationLOW VOLATILITY18327.6%1.3939%
validationMEDIUM VOLATILITY31540.4%1.4524%
validationNORMAL474-3.3%-0.1816%
validationSIDEWAYS206-16.0%-1.611%
validationUPTREND42558.7%2.0635%

Trades (full period)

54 trades
EntryExitEntry PxExit PxReturnDays
2026-05-292026-06-01$435.79$415.88-1.46%2
2025-12-152026-01-13$475.31$447.20-2.09%20
2025-09-122025-11-14$395.94$404.357.76%46
2025-09-042025-09-05$338.53$350.841.02%2
2025-05-222025-06-06$341.04$295.14-8.78%11
2024-12-202024-12-23$421.06$430.60-2.31%2
2024-12-112024-12-19$424.77$436.176.24%7
2024-10-032024-10-14$240.66$219.16-11.55%8
2024-09-062024-09-09$210.73$216.27-5.44%2
2024-07-022024-07-12$231.26$248.2312.05%8
2023-07-262023-08-03$264.35$259.32-3.47%7
2023-06-282023-07-21$256.24$260.025.44%17
2023-06-022023-06-27$213.97$250.2114.32%17
2022-08-162022-08-22$306.56$289.91-3.31%5
2022-08-052022-08-08$288.17$290.42-4.30%2
2022-04-052022-04-27$363.75$293.84-15.31%16
2021-11-232021-12-03$369.68$338.32-4.02%8
2021-08-252021-11-10$237.07$355.9839.70%55
2021-08-052021-08-23$238.21$235.43-4.04%13
2021-01-132021-02-23$284.80$232.95-14.40%28
2020-12-232021-01-12$215.33$283.1516.23%13
2020-12-112020-12-22$203.33$213.452.31%8
2020-11-192020-12-10$166.42$209.0214.83%15
2020-10-222020-10-30$141.93$129.35-2.56%7
2020-08-312020-09-01$166.11$158.357.79%2
2020-08-262020-08-27$143.54$149.253.91%2
2020-06-022020-07-06$58.77$91.4425.81%24
2019-12-172020-01-31$25.27$43.3751.31%31
2019-11-222019-11-25$22.20$22.42-5.70%2
2018-12-132018-12-21$25.12$21.32-8.45%7
2018-02-012018-02-06$23.28$22.26-4.75%4
2017-09-192017-10-17$25.01$23.72-6.47%21
2017-08-152017-08-18$24.16$23.16-2.18%4
2017-06-052017-07-06$23.15$20.59-3.55%23
2017-05-122017-05-19$21.65$20.72-2.06%6
2017-04-242017-05-10$20.54$21.680.99%13
2017-04-202017-04-21$20.17$20.37-0.75%2
2017-03-282017-04-04$18.50$20.257.11%6
2017-01-052017-02-24$15.12$17.1311.29%35
2016-07-262016-08-30$15.30$14.09-5.97%26
2016-04-052016-05-04$17.03$14.84-5.33%22
2015-05-112015-08-07$15.97$16.177.62%63
2015-04-292015-05-01$15.50$15.07-1.90%3
2014-06-232014-09-16$15.81$17.389.43%60
2014-03-202014-03-26$15.66$14.20-4.26%5
2014-02-132014-02-26$13.31$16.8715.65%9
2013-10-072013-10-24$12.20$11.54-7.36%14
2013-09-092013-10-03$10.71$11.557.38%19
2013-07-012013-07-17$7.81$8.022.32%12
2013-04-302013-05-08$3.60$3.722.96%7
2013-03-262013-04-02$2.52$2.9615.13%5
2012-12-182013-02-22$2.31$2.411.91%45
2012-11-232012-12-14$2.14$2.252.99%16
2012-02-232012-04-05$2.30$2.304.33%31