Strategy Zoo / S1073

MACDMomentum_V1073

ARCHIVEDhybrid

llmAdded regime gates to avoid trading in bubbles and extreme volatility; tightened and simplified entries into two robust cases (breakout with volume OR confirmed momentum + golden cross + slope); improved exits to include MACD sign, stop on cross under SMA50, and a drawdown stop; added volatility-based position sizing (scale down in high vol) and lowered base position to reduce risk.

Fitness
0.1465
Generation
49
Complexity
16
Created
2026-10-02

Lineage

Parents (1)
MACDMomentum_V0726S0726 · gen 33ARCHIVEDllm

changed rel_volume threshold 1.5045 -> 1.3475

Children (0)
None

Strategy Logic (pseudocode)

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

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR0.0%1.7%3.7%1.3%
Total Return0.3%5.1%14.5%20.8%
Sharpe0.060.200.360.17
Sortino0.030.080.140.07
Calmar0.000.070.200.06
Volatility11.7%12.5%12.3%12.0%
Max DD-22.7%-23.3%-18.2%-23.3%
Win Rate38.2%25.0%45.5%37.7%
Avg Win5.5%11.0%8.1%6.7%
Avg Loss-3.1%-2.5%-4.0%-3.2%
Payoff1.754.472.022.11
Expectancy0.2%0.9%1.5%0.5%
Profit Factor1.081.491.681.28
Trades3481153
Avg Holding Days6.810.36.67.3
Turnover6.84.34.75.8
Exposure7.8%7.8%5.3%7.2%

Growth of $100

MACDMomentum_V1073 vs TSLA Buy & Hold
MACDMomentum_V1073 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.4%-0.17-6.9%2
201711.2%1.39-4.5%6
2018-5.8%-0.85-7.3%4
20195.7%0.39-12.1%3
20200.0%0.000.0%0
202114.1%0.79-16.0%5
2022-7.8%-0.74-12.0%2

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 testDOWNTREND2760.0%0.000%
hidden testEXPENSIVE8317.4%1.721%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-7.8%-0.691%
hidden testLOW VOLATILITY43611.3%0.908%
hidden testMEDIUM VOLATILITY2504.7%0.374%
hidden testNORMAL8093.3%0.266%
hidden testSIDEWAYS293-9.6%-1.163%
hidden testUPTREND37118.7%1.0411%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE3119.4%1.691%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY6994.4%0.330%
trainLOW VOLATILITY7459.4%0.8816%
trainMEDIUM VOLATILITY568-15.2%-1.436%
trainNORMAL1,601-0.9%-0.0710%
trainSIDEWAYS592-13.3%-1.295%
trainUPTREND90210.3%0.6714%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-9.5%-1.000%
validationLOW VOLATILITY1839.2%0.9418%
validationMEDIUM VOLATILITY3158.3%0.538%
validationNORMAL4743.9%0.2512%
validationSIDEWAYS206-4.6%-0.575%
validationUPTREND4256.6%0.4212%

Trades (full period)

53 trades
EntryExitEntry PxExit PxReturnDays
2026-05-122026-05-21$433.45$417.85-5.13%8
2025-12-042025-12-30$454.53$454.432.22%18
2025-09-122025-09-15$395.94$410.045.72%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
2024-10-032024-10-04$240.66$250.08-2.84%2
2024-09-162024-09-20$226.78$238.254.58%5
2024-09-062024-09-09$210.73$216.27-6.91%2
2024-06-272024-07-12$197.42$248.2317.87%11
2023-07-062023-07-07$276.54$274.43-1.84%2
2023-06-052023-06-27$217.61$250.219.98%16
2022-08-022022-08-12$300.59$300.03-2.97%9
2022-03-292022-04-11$366.52$325.31-4.98%10
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-272021-10-07$263.79$264.540.71%9
2021-08-312021-09-21$245.24$246.46-0.21%15
2021-08-032021-08-17$236.58$221.90-2.79%11
2019-12-162019-12-17$25.43$25.274.99%2
2019-10-152019-10-25$17.19$21.8813.15%9
2019-07-252019-07-26$15.25$15.20-11.04%2
2018-12-112018-12-18$24.45$22.47-3.81%6
2018-12-072018-12-10$23.86$24.34-1.28%2
2018-12-042018-12-06$23.98$24.200.11%2
2018-01-182018-02-05$22.97$22.21-0.92%13
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
2017-02-012017-02-02$16.62$16.77-1.01%2
2016-12-282017-01-25$14.65$16.9612.46%19
2016-07-262016-08-09$15.30$15.27-1.49%11
2016-04-052016-04-14$17.03$16.792.32%8
2015-12-312016-01-05$16.00$14.90-5.08%3
2015-07-212015-07-22$17.78$17.86-4.55%2
2015-06-222015-07-09$17.32$17.19-2.40%13
2015-06-182015-06-19$17.46$17.500.29%2
2015-06-092015-06-10$17.07$16.71-0.25%2
2015-04-282015-05-22$15.37$16.524.69%19
2014-10-082014-10-10$17.29$15.79-0.95%3
2014-09-022014-09-12$18.94$18.613.01%9
2014-07-312014-08-25$14.89$17.509.51%18
2014-06-182014-07-07$15.14$14.84-0.96%13
2013-03-272013-04-02$2.54$2.9612.65%4
2013-03-082013-03-18$2.56$2.34-6.31%7
2013-02-122013-02-14$2.53$2.55-0.10%3
2013-01-232013-01-24$2.40$2.471.68%2
2012-11-202012-12-14$2.20$2.251.56%18
2012-07-172012-07-23$2.22$2.04-9.49%5
2012-03-272012-04-05$2.53$2.30-5.25%8
2012-03-132012-03-16$2.41$2.35-2.40%4
2012-02-212012-02-29$2.30$2.23-2.81%7