Strategy Zoo / S0856

MACDMomentum_V0856

ARCHIVEDhybrid

llmConsolidated entry rules to remove redundancy; added volatility-aware and breakout sizing rules (reduce exposure when vol_pctile>0.7; full size on high-volume 50-day breakouts; slight increase when sma_50>sma_200). Tightened exits to include price breach of sma_50 and a 5-day stop loss (ret_5d < -6%). Added regime gates to avoid DOWNTREND/HIGH_VOLATILITY/EXPENSIVE bubble environments. Lowered base position to 0.8 to reduce overall risk.

Fitness
0.1187
Generation
39
Complexity
17
Created
2026-09-29

Lineage

Parents (1)
MACDMomentum_V0726S0726 · gen 33ARCHIVEDllm

changed rel_volume threshold 1.5045 -> 1.3475

Children (0)
None

Strategy Logic (pseudocode)

# MACDMomentum_V0856  [hybrid]
require regime.trend in ['UPTREND', 'SIDEWAYS']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL']
if flat and ((macd_hist > 0.0 and close > sma_50) or (breakout_50 == 1 and rel_volume > 1.35) or (macd_hist > 0.0 and sma_50 > sma_200)):
    position = 0.8
if long and (macd_hist < 0.0 or close < sma_50 or ret_5d < -0.06):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-1.7%0.7%1.4%-0.4%
Total Return-12.9%2.0%5.4%-6.3%
Sharpe-0.040.120.170.05
Sortino-0.030.080.120.03
Calmar-0.050.030.05-0.01
Volatility14.7%16.0%17.2%15.6%
Max DD-35.0%-21.4%-29.4%-35.0%
Win Rate38.7%34.4%33.3%36.4%
Avg Win3.4%4.4%5.1%4.0%
Avg Loss-2.2%-2.0%-2.2%-2.2%
Payoff1.502.152.321.83
Expectancy-0.1%0.2%0.2%0.1%
Profit Factor0.951.131.161.04
Trades933251176
Avg Holding Days4.75.24.74.8
Turnover18.617.121.919.2
Exposure13.6%14.3%16.0%14.3%

Growth of $100

MACDMomentum_V0856 vs TSLA Buy & Hold
MACDMomentum_V0856 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
20163.5%0.39-5.7%18
20178.3%0.93-5.2%10
2018-5.5%-0.68-9.7%3
2019-3.1%-0.04-19.5%6
20200.0%0.000.0%0
20215.2%0.34-16.0%19
2022-3.0%-0.11-16.6%12

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 testDOWNTREND273-3.7%-1.681%
hidden testEXPENSIVE8334.2%2.442%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-8.6%-0.622%
hidden testLOW VOLATILITY43310.0%0.5624%
hidden testMEDIUM VOLATILITY2502.2%0.1217%
hidden testNORMAL806-0.2%-0.0118%
hidden testSIDEWAYS293-31.4%-1.5530%
hidden testUPTREND37134.8%1.7216%
trainDOWNTREND518-8.2%-1.511%
trainEXPENSIVE31110.3%1.832%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY6992.9%0.211%
trainLOW VOLATILITY74511.0%0.8325%
trainMEDIUM VOLATILITY568-20.3%-1.1715%
trainNORMAL1,601-2.8%-0.1717%
trainSIDEWAYS592-14.9%-0.8222%
trainUPTREND90213.1%0.8315%
validationDOWNTREND125-2.3%-2.151%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-9.5%-1.000%
validationLOW VOLATILITY183-2.9%-0.1832%
validationMEDIUM VOLATILITY31514.1%0.7115%
validationNORMAL4743.1%0.1523%
validationSIDEWAYS206-3.8%-0.1924%
validationUPTREND4255.9%0.3713%

Trades (full period)

latest 100 of 176
EntryExitEntry PxExit PxReturnDays
2026-07-012026-07-06$425.30$419.77-5.30%3
2026-05-282026-06-02$442.10$423.74-4.61%4
2026-05-202026-05-21$417.26$417.852.44%2
2026-05-082026-05-19$428.35$404.11-0.45%8
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-032025-12-30$446.74$454.435.56%19
2025-12-012025-12-02$430.14$429.24-0.17%2
2025-09-082025-09-15$346.40$410.0410.06%6
2025-08-252025-09-03$346.60$334.09-2.65%7
2025-08-112025-08-21$339.03$320.11-1.54%9
2025-07-312025-08-01$308.27$302.63-2.86%2
2025-07-282025-07-30$325.59$319.041.15%3
2025-07-212025-07-25$328.49$316.06-6.05%5
2025-07-172025-07-18$319.41$329.65-0.72%2
2025-06-022025-06-03$342.69$344.27-1.03%2
2025-05-222025-05-28$341.04$356.906.58%4
2025-05-122025-05-13$318.38$334.075.23%2
2024-09-232024-10-04$250.00$250.080.70%10
2024-09-162024-09-20$226.78$238.254.58%5
2024-09-052024-09-09$230.17$216.27-3.25%3
2024-09-032024-09-04$210.60$219.41-1.47%2
2024-06-172024-07-12$187.44$248.2327.57%18
2024-05-292024-05-30$176.19$178.79-0.41%2
2023-12-152024-01-02$253.50$248.42-0.94%11
2023-11-292023-12-14$244.14$251.05-2.56%12
2023-11-272023-11-28$236.08$246.720.05%2
2023-11-222023-11-24$234.21$235.45-2.48%2
2023-11-202023-11-21$235.60$241.200.28%2
2023-11-152023-11-17$242.84$234.30-1.43%3
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-062023-10-17$260.53$254.85-2.03%8
2023-09-122023-09-22$267.48$244.88-5.39%9
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-08-302023-09-05$256.90$256.49-3.94%4
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-05-312023-06-27$203.93$250.2115.56%19
2023-03-242023-04-06$190.41$185.06-2.88%10
2022-09-132022-09-23$292.13$275.33-4.29%9
2022-08-162022-08-19$306.56$296.67-1.83%4
2022-08-022022-08-12$300.59$300.03-2.97%9
2022-03-212022-04-11$307.05$325.3110.49%16
2022-03-172022-03-18$290.53$301.802.82%2
2022-03-102022-03-11$279.43$265.12-2.08%2
2022-03-042022-03-07$279.43$268.19-0.26%2
2022-03-022022-03-03$293.30$279.761.28%2
2022-02-182022-02-22$285.66$273.84-1.93%2
2022-02-162022-02-17$307.80$292.12-0.08%2
2022-02-112022-02-14$286.67$291.92-4.10%2
2022-02-092022-02-10$310.67$301.520.71%2
2021-12-282022-01-03$362.82$399.93-2.88%5
2021-10-132021-11-10$270.36$355.9821.37%21
2021-10-082021-10-11$261.83$263.98-0.98%2
2021-09-282021-10-07$259.19$264.54-1.03%8
2021-08-312021-09-21$245.24$246.46-0.21%15
2021-08-022021-08-17$236.56$221.90-0.24%12
2021-07-132021-07-15$222.85$216.87-3.94%3
2021-06-232021-07-12$218.86$228.574.13%13
2021-06-212021-06-22$206.94$207.90-0.48%2
2021-06-172021-06-18$205.53$207.771.39%2
2021-06-152021-06-16$199.79$201.62-2.53%2
2021-06-112021-06-14$203.30$205.90-0.19%2
2021-06-092021-06-10$199.59$203.37-0.80%2
2021-06-072021-06-08$201.71$201.200.65%2
2021-06-032021-06-04$190.95$199.68-4.42%2
2021-06-012021-06-02$207.97$201.71-0.33%2
2021-05-272021-05-28$210.28$208.411.35%2
2021-04-142021-04-29$244.08$225.67-7.29%12
2021-04-122021-04-13$233.99$254.112.79%2
2021-04-082021-04-09$227.93$225.671.37%2
2019-12-162019-12-17$25.43$25.274.99%2
2019-10-152019-10-25$17.19$21.8813.15%9
2019-09-112019-09-25$16.47$15.25-4.29%11
2019-07-222019-07-26$17.05$15.20-9.19%5
2019-02-282019-03-04$21.33$19.02-5.20%3
2019-02-202019-02-21$20.17$19.42-0.97%2
2018-12-112018-12-18$24.45$22.47-3.81%6
2018-03-142018-03-15$21.78$21.71-3.72%2
2018-01-112018-02-05$22.53$22.212.00%17
2017-12-122017-12-26$22.74$21.15-1.04%10
2017-12-072017-12-08$20.75$21.01-0.68%2
2017-12-052017-12-06$20.25$20.88-0.55%2
2017-12-012017-12-04$20.44$20.35-0.76%2
2017-10-182017-10-20$23.98$23.01-1.04%3
2017-10-122017-10-17$23.71$23.72-1.06%4
2017-03-242017-03-28$17.54$18.504.67%3
2017-03-202017-03-22$17.46$17.00-3.46%3