Strategy Zoo / S0578

LongTermTrend_V0578

ARCHIVEDhybrid

structuraladded exit filter: breakout_50 == 1; removed entry condition: (((close > sma_200 and sma_200_slope > -0.0024) or ret_20d > 0.085) and ret_20d > 0.05 and cumret_252d > -0.1997 and dist_sma_50 > -0.0774)

Fitness
0.4459
Generation
26
Complexity
17
Created
2026-09-23

Lineage

Parents (1)
LongTermTrend_V0472S0472 · gen 22ARCHIVEDstructural

logic of LongTermTrend_V0452 with risk overlay of Breakout20_V0374

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0578  [hybrid]
if flat 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 = 1.0
if long and (macd_hist < 0.0 or breakout_50 == 1):
    position = 0.0  # exit to cash
if regime.volatility == "HIGH_VOLATILITY": position *= 0.41

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR6.7%43.9%8.0%14.0%
Total Return67.3%198.1%32.8%581.7%
Sharpe0.401.350.440.65
Sortino0.351.520.400.61
Calmar0.172.370.320.35
Volatility22.9%30.3%24.0%24.9%
Max DD-40.1%-18.5%-25.1%-40.1%
Win Rate65.9%66.2%57.6%64.3%
Avg Win2.9%4.3%3.9%3.4%
Avg Loss-4.4%-3.6%-4.1%-4.1%
Payoff0.661.200.960.83
Expectancy0.4%1.6%0.5%0.7%
Profit Factor1.282.351.301.49
Trades1827466322
Avg Holding Days4.54.25.74.7
Turnover38.943.832.138.1
Exposure25.2%26.2%27.3%25.9%

Growth of $100

LongTermTrend_V0578 vs TSLA Buy & Hold
LongTermTrend_V0578 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
201615.7%1.14-8.8%12
2017-2.8%-0.06-21.5%28
2018-0.4%0.06-14.0%25
20191.3%0.19-23.5%19
2020143.2%2.65-13.0%36
2021-6.4%-0.11-18.5%25
202215.0%0.72-12.8%13

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 testDOWNTREND2699.5%0.6018%
hidden testEXPENSIVE8368.9%2.8123%
hidden testEXTREME4859.4%2.6916%
hidden testHIGH VOLATILITY254-3.0%-0.1416%
hidden testLOW VOLATILITY42927.0%1.2032%
hidden testMEDIUM VOLATILITY250-3.9%-0.1430%
hidden testNORMAL8021.6%0.0628%
hidden testSIDEWAYS293-9.8%-0.3639%
hidden testUPTREND37127.3%1.0525%
trainDOWNTREND518-9.4%-0.5615%
trainEXPENSIVE3118.0%0.3329%
trainEXTREME100140.8%4.5229%
trainHIGH VOLATILITY69914.2%0.5614%
trainLOW VOLATILITY74523.4%1.1936%
trainMEDIUM VOLATILITY568-16.2%-0.6925%
trainNORMAL1,6011.0%0.0524%
trainSIDEWAYS5923.2%0.1428%
trainUPTREND90223.5%0.9129%
validationDOWNTREND12529.1%1.359%
validationEXPENSIVE13834.8%0.9830%
validationEXTREME144142.3%3.9330%
validationHIGH VOLATILITY25832.8%1.1212%
validationLOW VOLATILITY1839.8%0.5034%
validationMEDIUM VOLATILITY31565.7%1.8334%
validationNORMAL47411.9%0.4524%
validationSIDEWAYS2060.5%0.0222%
validationUPTREND42564.0%1.7933%

Trades (full period)

latest 100 of 323
EntryExitEntry PxExit PxReturnDays
2026-09-18—$364.27—2.38%3OPEN
2026-09-012026-09-17$356.09$366.20-2.88%12
2026-07-012026-07-15$425.30$394.46-6.19%10
2026-05-282026-06-02$442.10$423.74-5.75%4
2026-05-152026-05-21$422.24$417.85-6.07%5
2026-05-122026-05-14$433.45$443.30-0.14%3
2026-04-162026-05-11$388.90$445.009.07%18
2025-12-172025-12-30$467.26$454.43-6.37%9
2025-12-042025-12-16$454.53$489.886.18%9
2025-11-042025-11-05$444.26$462.07-5.34%2
2025-10-032025-10-06$429.83$453.25-1.61%2
2025-10-012025-10-02$459.46$436.003.11%2
2025-09-262025-09-30$440.40$444.724.48%3
2025-09-232025-09-25$425.85$423.391.77%3
2025-09-192025-09-22$426.07$434.212.01%2
2025-09-172025-09-18$425.86$416.850.80%2
2025-09-152025-09-16$410.04$421.623.36%2
2025-09-082025-09-12$346.40$395.944.91%5
2025-08-282025-09-03$345.98$334.09-5.98%4
2025-08-252025-08-27$346.60$349.603.22%3
2025-08-082025-08-22$329.65$340.01-0.87%11
2025-07-212025-08-01$328.49$302.63-6.67%10
2025-06-252025-06-26$327.55$325.78-1.64%2
2025-05-292025-06-03$358.43$344.27-4.17%4
2025-05-202025-05-28$343.82$356.905.87%6
2025-05-152025-05-19$342.82$342.090.20%3
2025-05-132025-05-14$334.07$347.681.94%2
2025-04-282025-05-12$285.88$318.381.88%11
2024-12-192024-12-24$436.17$462.28-3.64%4
2024-12-172024-12-18$479.86$440.133.43%2
2024-12-132024-12-16$436.23$463.024.13%2
2024-12-112024-12-12$424.77$418.105.72%2
2024-12-092024-12-10$389.79$400.99-0.02%2
2024-11-262024-11-29$338.23$345.16-0.77%3
2024-11-122024-11-25$328.49$338.590.38%10
2024-11-082024-11-11$321.22$350.003.27%2
2024-10-292024-11-07$259.52$296.914.14%8
2024-10-252024-10-28$269.19$262.511.29%2
2024-10-012024-10-04$258.02$250.08-8.20%4
2024-09-272024-09-30$260.46$261.632.25%2
2024-09-062024-09-26$210.73$254.227.02%15
2024-08-202024-08-30$221.10$214.11-3.09%9
2024-07-112024-07-22$241.03$251.51-8.87%8
2024-07-092024-07-10$262.33$263.263.51%2
2024-07-052024-07-08$251.52$252.941.88%2
2024-07-022024-07-03$231.26$246.399.99%2
2024-06-282024-07-01$197.88$209.860.03%2
2024-06-172024-06-27$187.44$197.4210.10%8
2024-04-302024-05-30$183.28$178.79-4.06%22
2023-12-292024-01-02$248.48$248.42-2.05%2
2023-12-152023-12-28$253.50$253.183.93%9
2023-11-162023-12-14$233.59$251.05-1.66%20
2023-10-062023-10-17$260.53$254.85-2.55%8
2023-08-302023-09-25$256.90$246.99-4.97%18
2023-07-062023-07-07$276.54$274.43-2.30%2
2023-06-212023-06-27$259.46$250.21-12.35%5
2023-06-152023-06-20$255.90$274.451.26%3
2023-06-132023-06-14$258.71$256.793.35%2
2023-06-092023-06-12$244.40$249.833.86%2
2023-06-072023-06-08$224.57$234.861.27%2
2023-06-052023-06-06$217.61$221.311.50%2
2023-05-222023-06-02$188.87$213.9714.97%9
2023-03-242023-04-06$190.41$185.06-3.68%10
2023-02-162023-02-23$202.04$202.07-2.60%5
2023-02-132023-02-15$194.64$214.242.51%3
2023-02-092023-02-10$207.32$196.891.15%2
2023-01-272023-02-08$177.90$201.298.97%9
2022-09-132022-09-23$292.13$275.33-5.39%9
2022-08-162022-08-19$306.56$296.67-2.28%4
2022-08-082022-08-12$290.42$300.03-0.73%5
2022-08-042022-08-05$308.63$288.170.20%2
2022-08-022022-08-03$300.59$307.400.91%2
2022-07-292022-08-01$297.15$297.285.58%2
2022-07-252022-07-28$268.43$280.900.74%4
2022-07-112022-07-22$234.34$272.247.28%10
2022-04-062022-04-11$348.59$325.31-6.22%4
2022-03-302022-04-05$364.66$363.753.96%5
2022-03-212022-03-29$307.05$366.5220.35%7
2022-01-132022-01-14$343.85$349.87-2.85%2
2021-12-282022-01-12$362.82$368.744.31%12
2021-11-052021-11-11$407.36$354.50-15.47%5
2021-11-022021-11-04$390.67$409.970.23%3
2021-10-292021-11-01$371.33$402.863.23%2
2021-10-272021-10-28$345.95$359.011.71%2
2021-10-252021-10-26$341.62$339.4812.45%2
2021-10-192021-10-22$288.09$303.232.54%4
2021-10-152021-10-18$281.01$290.042.82%2
2021-10-132021-10-14$270.36$272.770.46%2
2021-10-082021-10-11$261.83$263.98-1.22%2
2021-09-282021-10-07$259.19$264.54-1.29%8
2021-09-172021-09-20$253.16$243.390.13%2
2021-09-132021-09-16$247.67$252.332.45%4
2021-09-092021-09-10$251.62$245.42-0.07%2
2021-09-022021-09-08$244.13$251.292.36%4
2021-08-312021-09-01$245.24$244.700.46%2
2021-08-162021-08-17$228.72$221.90-4.52%2
2021-08-062021-08-13$233.03$239.060.86%6
2021-08-042021-08-05$236.97$238.21-0.03%2
2021-08-022021-08-03$236.56$236.583.07%2
2021-07-132021-07-15$222.85$216.87-4.91%3