Strategy Zoo / S0369

MACDMomentum_V0369

ARCHIVEDhybrid

llmAdded momentum (ret_20d>0) and RSI filter to reduce low-quality entries; tightened exits by adding a hard loss cut (drawdown<-8%) and a trend-break exit (sma_50<sma_200); introduced regime gates to avoid trading in downtrend/high-volatility/extreme-bubble regimes; added volatility-based position sizing (scale up in low vol, reduce in high vol); lowered base position to reduce drawdown risk.

Fitness
0.3371
Generation
17
Complexity
23
Created
2026-09-18

Lineage

Parents (1)
MACDMomentum_V0272S0272 · gen 13ARCHIVEDllm

entry = MACDMomentum_V0005 OR VolumeBreakout_V0185

Children (0)
None

Strategy Logic (pseudocode)

# MACDMomentum_V0369  [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.0 and rsi_14 > 45.0 and ((macd_hist > 0.0 and close > sma_50) or ((breakout_50 == 1 and rel_volume > 1.5045) or ((macd_hist > 0.0 and close > sma_50) and sma_50 > sma_200)))):
    position = 0.6
if long and (macd_hist < 0.0 or drawdown < -0.08 or sma_50 < sma_200):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR0.4%21.1%-3.0%3.5%
Total Return3.1%77.7%-10.8%66.3%
Sharpe0.091.48-0.260.38
Sortino0.061.21-0.170.27
Calmar0.021.96-0.150.17
Volatility9.7%13.6%10.0%10.7%
Max DD-19.3%-10.8%-20.0%-20.8%
Win Rate43.5%54.4%44.0%45.9%
Avg Win1.7%2.9%1.6%2.1%
Avg Loss-1.4%-1.0%-1.4%-1.3%
Payoff1.272.851.091.56
Expectancy-0.0%1.1%-0.1%0.2%
Profit Factor0.983.400.851.32
Trades1385784279
Avg Holding Days2.83.02.22.7
Turnover20.822.827.322.8
Exposure7.9%9.0%6.5%7.8%

Growth of $100

MACDMomentum_V0369 vs TSLA Buy & Hold
MACDMomentum_V0369 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-1.5%-0.26-3.7%16
201711.3%1.10-6.3%24
2018-3.4%-0.60-6.6%10
20197.7%0.94-5.5%12
202042.8%2.40-4.8%5
202124.4%1.40-10.7%36
2022-0.1%0.01-4.2%16

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.3%-1.060%
hidden testEXPENSIVE83-4.0%-0.299%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-6.5%-0.791%
hidden testLOW VOLATILITY4296.9%0.6610%
hidden testMEDIUM VOLATILITY248-15.0%-1.427%
hidden testNORMAL800-2.6%-0.277%
hidden testSIDEWAYS293-2.4%-0.249%
hidden testUPTREND371-3.7%-0.289%
trainDOWNTREND518-5.0%-1.221%
trainEXPENSIVE31126.1%1.7816%
trainEXTREME1007.0%1.551%
trainHIGH VOLATILITY6995.6%0.661%
trainLOW VOLATILITY7454.6%0.4815%
trainMEDIUM VOLATILITY568-10.0%-0.898%
trainNORMAL1,601-4.4%-0.517%
trainSIDEWAYS592-4.7%-0.558%
trainUPTREND9027.8%0.6312%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13869.0%3.3519%
validationEXTREME14423.1%2.281%
validationHIGH VOLATILITY258-7.1%-1.000%
validationLOW VOLATILITY18312.3%1.2314%
validationMEDIUM VOLATILITY31546.8%2.5514%
validationNORMAL4744.9%0.429%
validationSIDEWAYS206-2.6%-0.367%
validationUPTREND42536.9%2.1313%

Trades (full period)

latest 100 of 279
EntryExitEntry PxExit PxReturnDays
2026-07-012026-07-02$425.30$393.450.55%2
2026-06-012026-06-02$415.88$423.74-2.86%2
2026-05-282026-05-29$442.10$435.790.12%2
2026-05-202026-05-21$417.26$417.851.83%2
2026-05-182026-05-19$409.99$404.11-1.86%2
2026-05-142026-05-15$443.30$422.24-0.39%2
2026-05-122026-05-13$433.45$445.27-1.68%2
2026-05-082026-05-11$428.35$445.002.29%2
2026-04-202026-04-21$392.50$386.42-1.34%2
2025-12-112025-12-30$446.89$454.431.06%13
2025-12-042025-12-09$454.53$445.17-1.07%4
2025-11-042025-11-05$444.26$462.07-3.21%2
2025-09-292025-10-03$443.21$429.83-0.67%5
2025-09-242025-09-26$442.79$440.40-0.42%3
2025-09-222025-09-23$434.21$425.851.03%2
2025-09-182025-09-19$416.85$426.07-1.39%2
2025-09-162025-09-17$421.62$425.861.57%2
2025-09-122025-09-15$395.94$410.044.29%2
2025-09-102025-09-11$347.79$368.810.02%2
2025-09-082025-09-09$346.40$346.97-0.88%2
2025-08-292025-09-02$333.87$329.36-2.22%2
2025-08-272025-08-28$349.60$345.98-0.47%2
2025-08-252025-08-26$346.60$351.671.04%2
2025-08-192025-08-20$329.31$323.90-1.17%2
2025-08-152025-08-18$330.56$335.16-1.02%2
2025-08-132025-08-14$339.38$335.58-0.38%2
2025-08-112025-08-12$339.03$340.841.59%2
2025-07-292025-07-30$321.20$319.04-0.93%2
2025-07-212025-07-22$328.49$332.11-0.33%2
2025-05-302025-06-02$346.46$342.69-2.12%2
2025-05-282025-05-29$356.90$358.43-1.11%2
2025-05-232025-05-27$339.34$362.89-0.42%2
2025-05-212025-05-22$334.62$341.04-1.72%2
2025-05-192025-05-20$342.09$343.82-1.47%2
2025-05-122025-05-13$318.38$334.073.93%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-112024-07-12$241.03$248.23-5.18%2
2024-07-092024-07-10$262.33$263.262.11%2
2024-07-052024-07-08$251.52$252.941.13%2
2024-07-022024-07-03$231.26$246.395.99%2
2024-06-282024-07-01$197.88$209.860.02%2
2024-06-262024-06-27$196.37$197.422.77%2
2024-06-242024-06-25$182.58$187.35-0.26%2
2024-06-202024-06-21$181.57$183.01-1.19%2
2024-06-172024-06-18$187.44$184.863.06%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-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-08-312023-09-01$258.08$245.010.16%2
2023-07-062023-07-07$276.54$274.43-1.38%2
2023-06-232023-06-26$256.60$241.05-1.94%2
2023-06-212023-06-22$259.46$264.61-3.40%2
2023-06-162023-06-20$260.54$274.450.97%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
2023-04-042023-04-05$192.58$185.52-0.79%2
2023-03-312023-04-03$207.46$194.773.62%2
2022-09-212022-09-22$300.80$288.59-1.66%2
2022-09-192022-09-20$309.07$308.731.01%2
2022-09-132022-09-14$292.13$302.61-2.54%2
2022-08-182022-08-19$302.87$296.67-0.34%2
2022-08-162022-08-17$306.56$304.00-0.65%2
2022-08-102022-08-11$294.36$286.632.21%2
2022-08-082022-08-09$290.42$283.330.35%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-072022-04-08$352.42$341.830.54%2
2022-04-042022-04-06$381.82$348.590.31%3
2022-03-312022-04-01$359.20$361.53-1.02%2
2022-03-292022-03-30$366.52$364.660.30%2
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