Strategy Zoo / S1541

PriceMomentum_V1541

ARCHIVEDhybrid

llm1) Simplified and consolidated entry into two clear legs: momentum breakout (ret_20d + breakout_20) OR trend-follow (above sma_200, positive sma_200_slope, positive macd_hist, above sma_50). 2) Added an explicit ema_20 filter to ensure short-term confirmation. 3) Reworked exit to a composite OR: macd_hist < 0 OR significant drawdown (< -12%) OR price falling below sma_50 for faster loss cutting. 4) Introduced regime gates: allow only UPTREND/SIDEWAYS, avoid HIGH_VOLATILITY and EXTREME bubble regimes to reduce blow-ups. 5) Reduced base position to 0.6 and added volatility-based sizing (full size in low vol_pctile, trimmed in high vol_pctile) to lower drawdown and turnover risk.

Fitness
0.3293
Generation
71
Complexity
19
Created
2026-10-14

Lineage

Parents (1)
PriceMomentum_V1420S1420 · gen 65ELITEllm

changed cumret_252d threshold -0.1997 -> 0.0957

Children (0)
None

Strategy Logic (pseudocode)

# PriceMomentum_V1541  [hybrid]
require regime.trend in ['UPTREND', 'SIDEWAYS']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL', 'EXPENSIVE']
if flat and (((ret_20d > 0.184 and breakout_20 == 1) or (close > sma_200 and sma_200_slope > -0.0024 and macd_hist > 0.0 and close > sma_50 and sma_50 > sma_200)) and close > ema_20):
    position = 0.6
if long and (macd_hist < 0.0 or drawdown < -0.12 or close < sma_50):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR0.5%21.3%-3.1%3.6%
Total Return3.8%78.6%-11.2%67.5%
Sharpe0.101.51-0.350.39
Sortino0.051.17-0.170.24
Calmar0.021.40-0.150.14
Volatility9.7%13.4%8.1%10.2%
Max DD-20.3%-15.3%-20.8%-26.1%
Win Rate37.1%53.7%47.3%44.6%
Avg Win2.8%3.9%1.3%2.8%
Avg Loss-1.7%-1.1%-1.5%-1.5%
Payoff1.653.490.841.82
Expectancy-0.0%1.6%-0.2%0.4%
Profit Factor0.984.040.751.47
Trades704155166
Avg Holding Days4.33.82.53.6
Turnover10.616.417.513.5
Exposure7.2%9.0%5.3%7.1%

Growth of $100

PriceMomentum_V1541 vs TSLA Buy & Hold
PriceMomentum_V1541 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
20161.1%0.27-4.4%9
20174.4%0.47-6.9%19
2018-2.9%-0.75-4.6%1
20190.7%0.12-8.3%1
202040.2%2.24-5.3%6
202130.1%1.72-11.6%26
2022-4.2%-0.73-7.1%9

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 testDOWNTREND2790.0%0.000%
hidden testEXPENSIVE83-14.9%-1.1711%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-5.3%-1.030%
hidden testLOW VOLATILITY4433.2%0.368%
hidden testMEDIUM VOLATILITY251-11.1%-1.256%
hidden testNORMAL817-1.8%-0.235%
hidden testSIDEWAYS298-10.3%-1.386%
hidden testUPTREND3711.0%0.098%
trainDOWNTREND518-0.0%-0.700%
trainEXPENSIVE31128.4%1.9217%
trainEXTREME1007.0%1.551%
trainHIGH VOLATILITY6993.7%0.381%
trainLOW VOLATILITY7454.6%0.4814%
trainMEDIUM VOLATILITY568-7.3%-0.747%
trainNORMAL1,601-4.8%-0.566%
trainSIDEWAYS592-7.2%-0.835%
trainUPTREND9026.8%0.5413%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13869.5%3.2921%
validationEXTREME14423.1%2.281%
validationHIGH VOLATILITY258-7.1%-1.000%
validationLOW VOLATILITY18321.4%2.6511%
validationMEDIUM VOLATILITY31541.9%2.2415%
validationNORMAL4745.0%0.458%
validationSIDEWAYS206-1.8%-0.355%
validationUPTREND42536.9%2.1113%

Trades (full period)

latest 100 of 166
EntryExitEntry PxExit PxReturnDays
2026-05-122026-05-18$433.45$409.99-3.17%5
2026-05-082026-05-11$428.35$445.002.29%2
2025-12-042025-12-30$454.53$454.431.72%18
2025-11-042025-11-05$444.26$462.07-3.21%2
2025-09-222025-10-06$434.21$453.250.53%11
2025-09-182025-09-19$416.85$426.07-1.39%2
2025-09-162025-09-17$421.62$425.861.57%2
2025-07-292025-07-30$321.20$319.04-0.93%2
2025-07-232025-07-24$332.56$305.30-0.04%2
2025-07-212025-07-22$328.49$332.11-0.33%2
2025-05-282025-05-29$356.90$358.43-1.11%2
2025-05-192025-05-20$342.09$343.82-1.47%2
2024-10-032024-10-04$240.66$250.08-2.13%2
2024-10-012024-10-02$258.02$249.02-0.95%2
2024-09-272024-09-30$260.46$261.631.35%2
2024-09-252024-09-26$257.02$254.220.53%2
2024-09-232024-09-24$250.00$254.272.84%2
2024-09-182024-09-19$227.20$243.92-0.30%2
2024-09-162024-09-17$226.78$227.87-1.03%2
2024-09-062024-09-09$210.73$216.27-5.18%2
2024-07-102024-07-11$263.26$241.030.09%2
2024-07-082024-07-09$252.94$262.330.22%2
2024-07-032024-07-05$246.39$251.523.80%2
2023-12-282023-12-29$253.18$248.48-2.01%2
2023-12-262023-12-27$256.61$261.440.85%2
2023-12-212023-12-22$254.50$252.541.67%2
2023-12-192023-12-20$257.22$247.141.10%2
2023-12-152023-12-18$253.50$252.080.47%2
2023-12-132023-12-14$239.29$251.050.46%2
2023-12-112023-12-12$239.74$237.01-1.13%2
2023-12-072023-12-08$242.64$243.840.70%2
2023-12-052023-12-06$238.72$239.370.68%2
2023-12-012023-12-04$238.83$235.58-0.43%2
2023-11-292023-11-30$244.14$240.08-0.75%2
2023-11-222023-11-24$234.21$235.45-1.86%2
2023-11-162023-11-17$233.59$234.30-2.40%2
2023-10-122023-10-13$258.87$251.12-1.06%2
2023-10-102023-10-11$263.62$262.990.79%2
2023-10-062023-10-09$260.53$259.67-0.01%2
2023-09-202023-09-21$262.59$255.70-1.00%2
2023-09-182023-09-19$265.28$266.50-2.11%2
2023-09-142023-09-15$276.04$274.390.93%2
2023-09-122023-09-13$267.48$271.30-1.46%2
2023-09-062023-09-07$251.92$251.49-1.19%2
2023-09-012023-09-05$245.01$256.49-3.16%2
2023-08-302023-08-31$256.90$258.08-0.19%2
2023-07-052023-07-06$282.48$276.540.45%2
2023-06-262023-06-27$241.05$250.21-3.75%2
2023-06-202023-06-21$274.45$259.463.08%2
2023-06-142023-06-15$256.79$255.90-0.56%2
2023-06-122023-06-13$249.83$258.711.21%2
2023-06-082023-06-09$234.86$244.402.63%2
2023-06-062023-06-07$221.31$224.570.90%2
2023-06-022023-06-05$213.97$217.611.74%2
2023-05-312023-06-01$203.93$207.520.71%2
2022-08-162022-08-17$306.56$304.00-0.65%2
2022-08-042022-08-05$308.63$288.170.12%2
2022-08-022022-08-03$300.59$307.400.55%2
2022-04-082022-04-11$341.83$325.31-1.92%2
2022-04-042022-04-07$381.82$352.42-2.20%4
2022-03-292022-04-01$366.52$361.53-0.90%4
2022-03-252022-03-28$336.88$363.95-0.31%2
2022-03-232022-03-24$333.04$337.970.19%2
2022-03-212022-03-22$307.05$331.330.92%2
2021-12-282021-12-31$362.82$352.26-1.42%4
2021-10-132021-11-10$270.36$355.9815.97%21
2021-10-082021-10-11$261.83$263.98-0.73%2
2021-10-042021-10-07$260.51$264.540.46%4
2021-09-282021-10-01$259.19$258.41-1.32%4
2021-09-172021-09-20$253.16$243.390.08%2
2021-09-152021-09-16$251.94$252.330.79%2
2021-09-132021-09-14$247.67$248.160.43%2
2021-09-092021-09-10$251.62$245.42-0.04%2
2021-09-072021-09-08$250.97$251.291.46%2
2021-09-022021-09-03$244.13$244.52-0.26%2
2021-08-312021-09-01$245.24$244.700.27%2
2021-07-092021-07-12$218.98$228.570.26%2
2021-07-072021-07-08$214.88$217.60-1.48%2
2021-07-022021-07-06$226.30$219.86-0.03%2
2021-06-302021-07-01$226.57$225.97-0.21%2
2021-06-282021-06-29$229.57$226.921.38%2
2021-06-242021-06-25$226.61$223.962.00%2
2021-04-262021-04-27$246.07$234.910.60%2
2021-04-222021-04-23$239.90$243.13-2.09%2
2021-04-202021-04-21$239.66$248.040.25%2
2021-04-162021-04-19$246.59$238.21-0.04%2
2021-04-142021-04-15$244.08$246.28-2.49%2
2021-01-262021-01-27$294.36$288.050.04%2
2021-01-122021-01-25$283.15$293.602.52%9
2021-01-042021-01-11$243.26$270.4014.21%6
2020-12-182020-12-23$231.67$215.33-1.45%4
2020-12-102020-12-17$209.02$218.631.74%6
2020-11-182020-12-08$162.21$216.6325.43%14
2020-11-092020-11-10$140.42$136.79-1.33%2
2020-10-142020-10-20$153.77$140.65-2.23%5
2019-12-162020-01-22$25.43$37.9729.23%25
2019-07-252019-07-26$15.25$15.20-8.28%2
2018-12-112018-12-18$24.45$22.47-2.84%6
2017-12-122017-12-15$22.74$22.901.53%4
2017-10-182017-10-20$23.98$23.01-0.78%3