Strategy Zoo / S0991

MACDMomentum_V0991

ARCHIVEDhybrid

llmReplaced price-vs-SMA cross with dist_sma_50 check; lowered rel_volume threshold to 1.2; added explicit regime gates to avoid high-volatility and extreme-bubble environments; tightened exit logic to include negative 50-SMA slope and a drawdown stop (-12%); reduced base position to 0.8 to limit max drawdown risk.

Fitness
0.3115
Generation
45
Complexity
17
Created
2026-10-01

Lineage

Parents (1)
MACDMomentum_V0726S0726 · gen 33ARCHIVEDllm

changed rel_volume threshold 1.5045 -> 1.3475

Children (0)
None

Strategy Logic (pseudocode)

# MACDMomentum_V0991  [hybrid]
require regime.trend in ['UPTREND', 'SIDEWAYS']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL', 'EXPENSIVE']
if flat and ((macd_hist > 0.0 and dist_sma_50 > 0.0) or (breakout_50 == 1 and rel_volume > 1.2) or (macd_hist > 0.0 and sma_50 > sma_200)):
    position = 0.8
if long and (macd_hist < 0.0 or sma_50_slope < 0.0 or drawdown < -0.12):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-0.1%26.5%-7.9%2.9%
Total Return-0.5%102.3%-26.3%51.8%
Sharpe0.071.26-0.500.26
Sortino0.051.20-0.370.21
Calmar-0.001.69-0.290.08
Volatility14.1%20.2%14.4%15.6%
Max DD-33.9%-15.6%-26.8%-38.3%
Win Rate43.0%47.4%42.7%43.8%
Avg Win2.1%4.0%2.0%2.6%
Avg Loss-1.7%-1.6%-1.9%-1.7%
Payoff1.292.581.041.54
Expectancy-0.0%1.1%-0.2%0.2%
Profit Factor0.972.320.771.20
Trades17976110365
Avg Holding Days2.92.92.32.7
Turnover36.040.547.239.7
Exposure13.7%15.4%12.0%13.6%

Growth of $100

MACDMomentum_V0991 vs TSLA Buy & Hold
MACDMomentum_V0991 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-7.0%-0.76-10.0%28
20174.8%0.40-12.3%30
2018-9.4%-1.25-11.6%8
201918.0%1.89-3.0%13
202056.0%2.24-7.1%6
202130.1%1.24-15.4%44
2022-10.1%-0.92-10.8%25

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 testDOWNTREND275-2.6%-1.401%
hidden testEXPENSIVE83-2.7%-0.1415%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-1.9%-0.221%
hidden testLOW VOLATILITY4340.3%0.0217%
hidden testMEDIUM VOLATILITY251-25.4%-1.4014%
hidden testNORMAL808-8.0%-0.5712%
hidden testSIDEWAYS293-24.5%-1.4620%
hidden testUPTREND3713.1%0.1814%
trainDOWNTREND518-5.3%-1.581%
trainEXPENSIVE31135.1%1.7921%
trainEXTREME1009.3%1.551%
trainHIGH VOLATILITY6997.3%0.621%
trainLOW VOLATILITY7455.4%0.4125%
trainMEDIUM VOLATILITY568-12.8%-0.7315%
trainNORMAL1,601-6.3%-0.4813%
trainSIDEWAYS592-5.6%-0.4015%
trainUPTREND9028.8%0.5020%
validationDOWNTREND125-2.3%-2.151%
validationEXPENSIVE13887.6%3.1327%
validationEXTREME14430.7%2.282%
validationHIGH VOLATILITY2581.0%0.071%
validationLOW VOLATILITY1837.7%0.4925%
validationMEDIUM VOLATILITY31555.9%2.1722%
validationNORMAL4745.8%0.3116%
validationSIDEWAYS206-11.2%-0.8116%
validationUPTREND42551.4%2.0620%

Trades (full period)

latest 100 of 365
EntryExitEntry PxExit PxReturnDays
2026-07-012026-07-02$425.30$393.450.73%2
2026-05-282026-06-02$442.10$423.74-4.61%4
2026-05-192026-05-20$404.11$417.26-1.31%2
2026-05-142026-05-18$443.30$409.99-4.29%3
2026-05-122026-05-13$433.45$445.27-2.23%2
2026-05-082026-05-11$428.35$445.003.05%2
2026-04-202026-04-21$392.50$386.42-1.78%2
2026-03-172026-03-18$399.27$392.780.59%2
2026-03-132026-03-16$391.20$395.56-0.93%2
2026-03-112026-03-12$407.82$395.011.56%2
2026-03-062026-03-09$396.73$398.68-1.90%2
2026-03-022026-03-03$403.32$392.430.00%2
2026-02-262026-02-27$408.58$402.51-1.85%2
2026-02-232026-02-24$399.83$409.38-2.49%2
2026-02-192026-02-20$411.71$411.82-0.08%2
2026-02-172026-02-18$410.63$411.32-1.46%2
2026-02-122026-02-13$417.07$417.44-2.25%2
2025-12-012025-12-30$430.14$454.435.37%21
2025-11-042025-11-05$444.26$462.07-4.27%2
2025-09-222025-10-06$434.21$453.250.63%11
2025-09-182025-09-19$416.85$426.07-1.85%2
2025-09-162025-09-17$421.62$425.862.10%2
2025-09-122025-09-15$395.94$410.045.72%2
2025-09-102025-09-11$347.79$368.810.03%2
2025-09-082025-09-09$346.40$346.97-1.17%2
2025-08-292025-09-02$333.87$329.36-2.96%2
2025-08-272025-08-28$349.60$345.98-0.63%2
2025-08-252025-08-26$346.60$351.671.39%2
2025-08-192025-08-20$329.31$323.90-1.56%2
2025-08-152025-08-18$330.56$335.16-1.36%2
2025-08-132025-08-14$339.38$335.58-0.50%2
2025-08-112025-08-12$339.03$340.842.11%2
2025-07-312025-08-01$308.27$302.63-2.86%2
2025-07-292025-07-30$321.20$319.04-1.24%2
2025-07-252025-07-28$316.06$325.592.66%2
2025-07-232025-07-24$332.56$305.30-0.05%2
2025-07-212025-07-22$328.49$332.11-0.44%2
2025-07-172025-07-18$319.41$329.65-0.72%2
2025-05-302025-06-02$346.46$342.69-2.83%2
2025-05-282025-05-29$356.90$358.43-1.48%2
2025-05-232025-05-27$339.34$362.89-0.56%2
2025-05-212025-05-22$334.62$341.04-2.30%2
2025-05-192025-05-20$342.09$343.82-1.96%2
2025-05-122025-05-13$318.38$334.075.23%2
2024-10-032024-10-04$240.66$250.08-2.84%2
2024-10-012024-10-02$258.02$249.02-1.26%2
2024-09-272024-09-30$260.46$261.631.80%2
2024-09-252024-09-26$257.02$254.220.70%2
2024-09-232024-09-24$250.00$254.273.78%2
2024-09-182024-09-19$227.20$243.92-0.40%2
2024-09-162024-09-17$226.78$227.87-1.38%2
2024-09-052024-09-06$230.17$210.733.76%2
2024-09-032024-09-04$210.60$219.41-1.47%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
2024-06-282024-07-01$197.88$209.860.03%2
2024-06-262024-06-27$196.37$197.423.69%2
2024-06-242024-06-25$182.58$187.35-0.35%2
2024-06-202024-06-21$181.57$183.01-1.58%2
2024-06-172024-06-18$187.44$184.864.07%2
2024-05-292024-05-30$176.19$178.79-0.41%2
2023-12-282023-12-29$253.18$248.48-2.69%2
2023-12-262023-12-27$256.61$261.441.13%2
2023-12-212023-12-22$254.50$252.542.22%2
2023-12-192023-12-20$257.22$247.141.47%2
2023-12-152023-12-18$253.50$252.080.62%2
2023-12-122023-12-13$237.01$239.29-1.07%2
2023-12-082023-12-11$243.84$239.740.24%2
2023-12-062023-12-07$239.37$242.640.06%2
2023-12-042023-12-05$235.58$238.72-1.25%2
2023-11-302023-12-01$240.08$238.83-1.49%2
2023-11-282023-11-29$246.72$244.143.44%2
2023-11-242023-11-27$235.45$236.080.26%2
2023-11-212023-11-22$241.20$234.211.74%2
2023-11-172023-11-20$234.30$235.600.08%2
2023-11-152023-11-16$242.84$233.591.67%2
2023-11-132023-11-14$223.71$237.413.21%2
2023-11-092023-11-10$209.98$214.65-4.53%2
2023-11-072023-11-08$222.18$222.110.90%2
2023-10-162023-10-17$253.92$254.850.73%2
2023-10-122023-10-13$258.87$251.12-1.41%2
2023-10-102023-10-11$263.62$262.991.06%2
2023-10-062023-10-09$260.53$259.67-0.01%2
2023-09-222023-09-25$244.88$246.99-3.54%2
2023-09-202023-09-21$262.59$255.70-1.33%2
2023-09-182023-09-19$265.28$266.50-2.81%2
2023-09-142023-09-15$276.04$274.391.24%2
2023-09-122023-09-13$267.48$271.30-1.94%2
2023-09-082023-09-11$248.50$273.58-1.11%2
2023-09-062023-09-07$251.92$251.49-1.58%2
2023-09-012023-09-05$245.01$256.49-4.21%2
2023-08-302023-08-31$256.90$258.08-0.25%2
2023-08-282023-08-29$238.82$257.18-0.08%2
2023-07-062023-07-07$276.54$274.43-1.84%2
2023-06-232023-06-26$256.60$241.05-2.58%2
2023-06-212023-06-22$259.46$264.61-4.53%2
2023-06-162023-06-20$260.54$274.451.29%2
2023-06-142023-06-15$256.79$255.90-0.75%2