Strategy Zoo / S1233

LongTermTrend_V1233

ARCHIVEDhybrid

parameterchanged macd_hist threshold 0.0 -> 1.3569

Fitness
0.3410
Generation
56
Complexity
27
Created
2026-10-07

Lineage

Parents (1)
LongTermTrend_V1201S1201 · gen 55ARCHIVEDparameter

changed macd_hist threshold 0.0 -> 1.0705; changed dist_sma_50 threshold -0.0774 -> -0.1429

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1233  [hybrid]
if flat and (((((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.1429) or ((macd_hist > 0.0 and close > sma_50) or ((breakout_50 == 1 and rel_volume > 1.5045) or ((macd_hist > 1.0705 and close > sma_50) and sma_50 > sma_200)))) and sma_20 < close and macd_hist > -2.6055):
    position = 1.0
if long and macd_hist < 1.3569:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-4.8%59.7%16.8%11.4%
Total Return-32.4%307.0%79.0%391.8%
Sharpe-0.111.310.630.51
Sortino-0.101.330.620.49
Calmar-0.091.560.470.23
Volatility22.3%42.6%33.3%30.4%
Max DD-50.5%-38.2%-35.6%-50.5%
Win Rate47.0%54.8%46.0%48.3%
Avg Win2.1%5.1%6.6%3.3%
Avg Loss-2.0%-2.9%-3.8%-2.4%
Payoff1.081.721.771.38
Expectancy-0.0%1.5%1.0%0.4%
Profit Factor0.962.091.511.29
Trades45711587660
Avg Holding Days2.03.34.92.6
Turnover114.676.746.589.6
Exposure22.8%35.6%35.6%28.6%

Growth of $100

LongTermTrend_V1233 vs TSLA Buy & Hold
LongTermTrend_V1233 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
20168.0%0.68-12.6%37
2017-2.2%-0.06-12.6%69
2018-5.9%-0.14-17.9%52
20195.0%0.33-20.2%41
2020131.3%1.72-38.2%67
202135.1%1.10-20.3%35
202210.7%0.51-15.8%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 testDOWNTREND278-11.7%-0.4528%
hidden testEXPENSIVE83138.2%3.0153%
hidden testEXTREME48131.4%2.6942%
hidden testHIGH VOLATILITY2548.6%0.2039%
hidden testLOW VOLATILITY43943.8%1.7336%
hidden testMEDIUM VOLATILITY250-6.1%-0.1832%
hidden testNORMAL8122.6%0.0933%
hidden testSIDEWAYS294-8.0%-0.2735%
hidden testUPTREND37168.7%1.7042%
trainDOWNTREND518-10.4%-0.6810%
trainEXPENSIVE31119.7%0.7335%
trainEXTREME10097.8%2.4746%
trainHIGH VOLATILITY699-1.6%-0.0621%
trainLOW VOLATILITY7451.8%0.1126%
trainMEDIUM VOLATILITY568-9.0%-0.4220%
trainNORMAL1,601-13.0%-0.6719%
trainSIDEWAYS592-1.2%-0.0621%
trainUPTREND9021.4%0.0531%
validationDOWNTREND12550.4%1.9420%
validationEXPENSIVE13825.0%0.5334%
validationEXTREME144163.6%2.4754%
validationHIGH VOLATILITY25817.5%0.3130%
validationLOW VOLATILITY18311.1%0.6034%
validationMEDIUM VOLATILITY315113.3%2.8741%
validationNORMAL47432.1%1.0630%
validationSIDEWAYS20611.4%0.4129%
validationUPTREND42579.1%1.5343%

Trades (full period)

latest 100 of 660
EntryExitEntry PxExit PxReturnDays
2026-09-222026-09-28$378.90$357.45-1.05%5
2026-09-182026-09-21$364.27$375.30-0.73%2
2026-08-242026-09-15$348.95$356.58-1.27%16
2026-07-012026-07-09$425.30$406.55-6.50%6
2026-06-012026-06-02$415.88$423.74-4.76%2
2026-05-282026-05-29$442.10$435.790.19%2
2026-05-262026-05-27$433.59$440.361.58%2
2026-05-212026-05-22$417.85$426.01-0.06%2
2026-05-042026-05-20$392.51$417.263.19%13
2026-04-162026-04-30$388.90$381.63-5.08%11
2025-12-042025-12-30$454.53$454.432.68%18
2025-11-062025-11-07$445.91$429.52-3.69%2
2025-11-032025-11-04$468.37$444.262.38%2
2025-10-242025-10-27$433.72$452.42-3.60%2
2025-10-082025-10-09$438.69$435.541.09%2
2025-10-062025-10-07$453.25$433.095.24%2
2025-09-112025-10-03$368.81$429.8325.12%17
2025-09-092025-09-10$346.97$347.79-0.04%2
2025-09-052025-09-08$350.84$346.403.43%2
2025-08-272025-09-02$349.60$329.36-5.25%4
2025-08-252025-08-26$346.60$351.671.74%2
2025-08-212025-08-22$320.11$340.01-1.37%2
2025-08-122025-08-20$340.84$323.90-3.06%7
2025-08-082025-08-11$329.65$339.032.09%2
2025-07-292025-07-30$321.20$319.04-1.55%2
2025-07-212025-07-25$328.49$316.06-7.57%5
2025-06-252025-06-26$327.55$325.78-3.99%2
2025-06-032025-06-04$344.27$332.050.26%2
2025-04-282025-06-02$285.88$342.6921.34%25
2025-04-102025-04-21$252.40$227.50-11.51%7
2024-12-272024-12-30$431.66$417.41-5.14%2
2024-12-242024-12-26$462.28$454.137.15%2
2024-12-092024-12-23$389.79$430.607.96%11
2024-12-052024-12-06$369.49$389.223.03%2
2024-12-032024-12-04$351.42$357.93-1.79%2
2024-11-292024-12-02$345.16$357.093.48%2
2024-11-062024-11-27$288.53$332.8934.27%16
2024-10-252024-11-05$269.19$251.44-6.96%8
2024-10-092024-10-10$241.05$238.77-1.61%2
2024-10-072024-10-08$240.83$244.50-3.90%2
2024-09-202024-10-04$238.25$250.08-1.54%11
2024-09-102024-09-19$226.17$243.924.85%8
2024-09-062024-09-09$210.73$216.27-8.64%2
2024-09-042024-09-05$219.41$230.173.98%2
2024-08-202024-08-27$221.10$209.21-4.46%6
2024-07-242024-07-25$215.99$220.25-12.52%2
2024-07-222024-07-23$251.51$246.384.94%2
2024-06-262024-07-19$196.37$239.2032.77%17
2024-06-242024-06-25$182.58$187.35-0.43%2
2024-06-202024-06-21$181.57$183.01-1.98%2
2024-06-172024-06-18$187.44$184.865.09%2
2024-05-282024-05-29$176.75$176.19-1.59%2
2024-05-222024-05-23$180.11$173.74-3.67%2
2024-05-202024-05-21$174.95$186.60-1.61%2
2024-05-162024-05-17$174.84$177.460.29%2
2024-05-142024-05-15$177.55$173.993.09%2
2024-04-302024-05-10$183.28$168.47-11.56%9
2024-02-272024-03-06$199.73$176.54-9.54%7
2023-12-292024-01-02$248.48$248.42-2.05%2
2023-12-272023-12-28$261.44$253.181.68%2
2023-12-222023-12-26$252.54$256.61-0.97%2
2023-12-192023-12-21$257.22$254.50-2.15%3
2023-12-152023-12-18$253.50$252.080.78%2
2023-12-122023-12-13$237.01$239.29-1.34%2
2023-12-082023-12-11$243.84$239.740.29%2
2023-12-062023-12-07$239.37$242.640.07%2
2023-11-162023-12-05$233.59$238.72-3.19%13
2023-10-122023-10-13$258.87$251.12-1.76%2
2023-10-102023-10-11$263.62$262.991.32%2
2023-10-062023-10-09$260.53$259.67-0.02%2
2023-08-302023-09-21$256.90$255.701.90%16
2023-07-202023-07-21$262.90$260.02-9.93%2
2023-07-182023-07-19$293.34$291.260.82%2
2023-07-142023-07-17$281.38$290.381.05%2
2023-07-122023-07-13$271.99$277.900.61%2
2023-07-102023-07-11$269.61$269.79-1.95%2
2023-07-062023-07-07$276.54$274.43-2.30%2
2023-07-032023-07-05$279.82$282.486.69%2
2023-06-292023-06-30$257.50$261.770.29%2
2023-06-272023-06-28$250.21$256.243.60%2
2023-05-222023-06-26$188.87$241.0542.17%24
2023-04-052023-04-06$185.52$185.06-3.86%2
2023-04-032023-04-04$194.77$192.58-6.31%2
2023-03-302023-03-31$195.28$207.460.52%2
2023-03-282023-03-29$189.19$193.88-1.56%2
2023-03-242023-03-27$190.41$191.81-1.14%2
2023-01-272023-02-22$177.90$200.8622.91%18
2022-09-192022-09-22$309.07$288.59-1.04%4
2022-09-152022-09-16$303.75$303.350.18%2
2022-09-132022-09-14$292.13$302.61-4.23%2
2022-08-242022-08-25$297.10$296.070.02%2
2022-08-192022-08-22$296.67$289.91-2.25%2
2022-08-172022-08-18$304.00$302.87-1.04%2
2022-08-152022-08-16$309.32$306.562.89%2
2022-08-112022-08-12$286.63$300.03-2.82%2
2022-06-242022-08-10$245.71$294.3620.30%33
2022-03-212022-04-11$307.05$325.3113.04%16
2022-01-122022-01-13$368.74$343.853.73%2
2021-12-282022-01-10$362.82$352.71-6.31%10
2021-11-112021-11-12$354.50$344.47-0.62%2