Strategy Zoo / S0439

MACDMomentum_V0439

ARCHIVEDhybrid

llmAdded regime gating to allow trades only in uptrends, non-bubble market and exclude high volatility (set to MEDIUM_VOLATILITY). Simplified/solidified entries: keep MACD+price-above-50 and a stronger breakout arm requiring rel_volume>1.4 plus 50>200. Expanded exits to include trend reversal (50<200) and price falling below sma_50 in addition to macd_hist<0. Reduced base_position to 0.8 to lower risk and turnover.

Fitness
0.5820
Generation
20
Complexity
12
Created
2026-09-19

Lineage

Parents (1)
MACDMomentum_V0272S0272 · gen 13ARCHIVEDllm

entry = MACDMomentum_V0005 OR VolumeBreakout_V0185

Children (0)
None

Strategy Logic (pseudocode)

# MACDMomentum_V0439  [hybrid]
if flat and ((macd_hist > 0.0 and close > sma_50) or (breakout_50 == 1 and rel_volume > 1.4 and sma_50 > sma_200)):
    position = 0.8
if long and (macd_hist < 0.0 or sma_50 < sma_200 or close < sma_50):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR13.6%64.1%-2.4%18.1%
Total Return177.6%341.7%-8.5%1048.6%
Sharpe0.681.64-0.000.79
Sortino0.671.67-0.000.77
Calmar0.422.51-0.060.43
Volatility22.3%33.5%21.9%24.9%
Max DD-32.6%-25.6%-42.1%-42.1%
Win Rate46.6%48.8%48.6%47.5%
Avg Win3.6%11.2%2.8%4.4%
Avg Loss-1.9%-2.5%-2.7%-2.2%
Payoff1.894.401.052.01
Expectancy0.7%4.2%-0.0%0.9%
Profit Factor1.654.200.991.81
Trades20443111358
Avg Holding Days3.77.03.14.0
Turnover41.022.948.339.1
Exposure22.7%27.2%19.8%22.9%

Growth of $100

MACDMomentum_V0439 vs TSLA Buy & Hold
MACDMomentum_V0439 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
201617.1%1.63-5.1%26
20179.6%0.65-10.4%27
2018-8.5%-0.38-17.3%36
201918.8%1.01-18.3%28
2020253.7%2.85-17.1%9
202119.1%0.83-16.0%14
20224.5%0.32-14.3%19

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 testDOWNTREND2679.2%0.6110%
hidden testEXPENSIVE8379.9%2.2736%
hidden testEXTREME48101.4%2.8928%
hidden testHIGH VOLATILITY25410.0%0.3421%
hidden testLOW VOLATILITY4299.9%0.5920%
hidden testMEDIUM VOLATILITY248-27.4%-1.3318%
hidden testNORMAL800-14.4%-0.7718%
hidden testSIDEWAYS293-32.7%-1.7122%
hidden testUPTREND37119.1%0.7025%
trainDOWNTREND518-9.1%-0.747%
trainEXPENSIVE31132.3%1.2338%
trainEXTREME100230.5%4.1956%
trainHIGH VOLATILITY69926.8%0.8823%
trainLOW VOLATILITY74512.5%0.8227%
trainMEDIUM VOLATILITY5684.6%0.2618%
trainNORMAL1,601-1.5%-0.0918%
trainSIDEWAYS5929.3%0.5720%
trainUPTREND90233.0%1.1433%
validationDOWNTREND12523.8%1.434%
validationEXPENSIVE13860.1%1.9529%
validationEXTREME144207.2%3.5353%
validationHIGH VOLATILITY25853.3%1.2223%
validationLOW VOLATILITY18315.0%0.9128%
validationMEDIUM VOLATILITY31579.8%2.5730%
validationNORMAL4747.4%0.3519%
validationSIDEWAYS20614.2%0.6919%
validationUPTREND42584.1%2.0438%

Trades (full period)

latest 100 of 359
EntryExitEntry PxExit PxReturnDays
2026-09-18———-0.08%1OPEN
2026-09-152026-09-16$356.58$358.08-0.69%2
2026-09-112026-09-14$365.44$358.970.25%2
2026-09-092026-09-10$367.81$363.56-0.24%2
2026-09-042026-09-08$354.08$368.16-4.89%2
2026-09-012026-09-02$356.09$357.01-2.74%2
2026-07-072026-07-08$402.90$394.06-3.37%2
2026-07-012026-07-02$425.30$393.450.73%2
2026-06-012026-06-02$415.88$423.74-3.81%2
2026-05-282026-05-29$442.10$435.790.16%2
2026-05-202026-05-21$417.26$417.852.44%2
2026-05-182026-05-19$409.99$404.11-2.48%2
2026-05-142026-05-15$443.30$422.24-0.51%2
2026-05-122026-05-13$433.45$445.27-2.23%2
2026-05-082026-05-11$428.35$445.003.05%2
2026-05-062026-05-07$398.73$411.791.76%2
2026-05-042026-05-05$392.51$389.370.19%2
2026-04-202026-04-21$392.50$386.42-1.78%2
2026-04-162026-04-17$388.90$400.62-0.78%2
2025-12-042025-12-30$454.53$454.432.22%18
2025-11-042025-11-05$444.26$462.07-4.27%2
2025-09-162025-10-06$421.62$453.253.78%15
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-202025-08-21$323.90$320.11-1.47%2
2025-08-182025-08-19$335.16$329.310.95%2
2025-08-142025-08-15$335.58$330.56-1.05%2
2025-08-122025-08-13$340.84$339.380.27%2
2025-08-082025-08-11$329.65$339.031.67%2
2025-07-292025-07-30$321.20$319.04-1.24%2
2025-07-212025-07-25$328.49$316.06-6.05%5
2025-06-252025-06-26$327.55$325.78-3.19%2
2025-06-022025-06-03$342.69$344.27-1.03%2
2025-05-292025-05-30$358.43$346.460.18%2
2025-05-272025-05-28$362.89$356.905.39%2
2025-05-222025-05-23$341.04$339.341.37%2
2025-05-202025-05-21$343.82$334.620.24%2
2025-05-162025-05-19$349.98$342.091.51%2
2025-05-142025-05-15$347.68$342.823.10%2
2025-05-122025-05-13$318.38$334.075.23%2
2025-05-082025-05-09$284.82$298.262.33%2
2025-05-062025-05-07$275.35$276.22-1.56%2
2025-05-022025-05-05$287.21$280.261.75%2
2025-04-302025-05-01$282.16$280.52-2.86%2
2025-04-282025-04-29$285.88$292.030.10%2
2024-12-092024-12-24$389.79$462.288.42%12
2024-10-252024-11-29$269.19$345.1622.00%25
2024-09-112024-10-04$228.13$250.085.03%18
2024-09-062024-09-09$210.73$216.27-6.91%2
2024-08-262024-08-27$213.21$209.21-2.74%2
2024-08-202024-08-23$221.10$220.32-4.48%4
2024-07-192024-07-22$239.20$251.51-3.38%2
2024-07-172024-07-18$248.50$249.23-2.67%2
2024-07-152024-07-16$252.64$256.561.26%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
2024-05-242024-05-28$179.24$176.752.37%2
2024-05-222024-05-23$180.11$173.74-2.94%2
2024-05-202024-05-21$174.95$186.60-1.29%2
2024-05-162024-05-17$174.84$177.460.23%2
2024-05-142024-05-15$177.55$173.992.47%2
2024-05-082024-05-09$174.72$171.97-1.55%2
2024-05-062024-05-07$184.76$177.811.42%2
2024-05-022024-05-03$180.01$181.19-0.15%2
2024-04-302024-05-01$183.28$179.99-4.60%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-222023-11-24$234.21$235.45-2.48%2
2023-11-162023-11-17$233.59$234.30-3.20%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-062023-09-07$251.92$251.49-1.58%2
2023-08-302023-09-05$256.90$256.49-3.94%4
2023-07-062023-07-07$276.54$274.43-1.84%2
2023-06-232023-06-27$256.60$250.21-7.30%3
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
2023-06-122023-06-13$249.83$258.711.62%2
2023-06-082023-06-09$234.86$244.403.50%2
2023-06-062023-06-07$221.31$224.571.20%2
2023-06-022023-06-05$213.97$217.612.32%2
2023-05-312023-06-01$203.93$207.520.94%2
2023-05-262023-05-30$193.17$201.163.61%2
2023-05-242023-05-25$182.90$184.47-1.39%2
2023-05-222023-05-23$188.87$185.773.71%2
2023-04-052023-04-06$185.52$185.06-3.09%2
2023-04-032023-04-04$194.77$192.58-5.05%2