Strategy Zoo / S1026

LongTermTrend_V1026

ARCHIVEDhybrid

structuralrestricted to trend regimes ['SIDEWAYS']

Fitness
0.2917
Generation
47
Complexity
28
Created
2026-10-02

Lineage

Parents (1)
LongTermTrend_V0531S0531 · gen 24ARCHIVEDstructural

added entry filter: sma_20 < close; added entry filter: macd_hist > -2.6055

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1026  [hybrid]
require regime.trend in ['SIDEWAYS']
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.0774) or ((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)))) and sma_20 < close and macd_hist > -2.6055):
    position = 1.0
if long and macd_hist < 0.0:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR2.5%15.7%3.1%5.2%
Total Return22.0%54.7%11.9%111.3%
Sharpe0.240.960.270.40
Sortino0.120.530.180.22
Calmar0.101.250.170.21
Volatility15.4%16.6%16.3%15.9%
Max DD-25.0%-12.5%-17.9%-25.0%
Win Rate45.0%69.2%38.9%47.9%
Avg Win5.9%6.4%6.6%6.2%
Avg Loss-3.6%-2.4%-2.9%-3.2%
Payoff1.652.672.281.90
Expectancy0.7%3.7%0.8%1.3%
Profit Factor1.356.021.451.75
Trades40131871
Avg Holding Days7.06.77.87.1
Turnover10.08.79.79.7
Exposure11.9%9.8%13.1%11.8%

Growth of $100

LongTermTrend_V1026 vs TSLA Buy & Hold
LongTermTrend_V1026 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-8.8%-0.77-11.9%6
20175.7%0.74-5.4%4
201818.4%1.35-6.4%7
2019-9.4%-0.26-23.2%5
20208.4%0.54-12.5%2
20215.8%0.42-10.7%4
202234.9%2.06-2.7%7

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 testDOWNTREND276-3.5%-1.381%
hidden testEXPENSIVE838.9%0.956%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY25411.6%0.745%
hidden testLOW VOLATILITY43614.4%0.8619%
hidden testMEDIUM VOLATILITY250-20.6%-1.2911%
hidden testNORMAL8094.1%0.2415%
hidden testSIDEWAYS29310.9%0.3939%
hidden testUPTREND3715.0%0.622%
trainDOWNTREND518-8.6%-1.251%
trainEXPENSIVE31119.4%1.938%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY69913.9%0.7810%
trainLOW VOLATILITY7457.9%0.7212%
trainMEDIUM VOLATILITY568-14.5%-0.8614%
trainNORMAL1,6010.8%0.0513%
trainSIDEWAYS5923.9%0.1636%
trainUPTREND90210.6%1.002%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13818.3%1.341%
validationEXTREME144-0.5%-0.027%
validationHIGH VOLATILITY258-0.3%-0.024%
validationLOW VOLATILITY1839.4%0.7315%
validationMEDIUM VOLATILITY31532.9%1.6711%
validationNORMAL47420.2%1.2313%
validationSIDEWAYS20631.3%1.0933%
validationUPTREND42513.1%1.371%

Trades (full period)

71 trades
EntryExitEntry PxExit PxReturnDays
2026-06-012026-06-02$415.88$423.74-4.76%2
2026-05-272026-05-29$440.36$435.791.76%3
2026-05-222026-05-26$426.01$433.591.75%2
2026-05-082026-05-21$428.35$417.851.13%10
2026-04-202026-04-21$392.50$386.42-2.22%2
2025-09-052025-09-12$350.84$395.948.73%6
2025-08-252025-09-03$346.60$334.09-3.32%7
2025-08-112025-08-21$339.03$320.11-1.94%9
2025-05-122025-05-22$318.38$341.0411.97%9
2024-09-272024-10-03$260.46$240.66-2.24%5
2024-06-172024-07-02$187.44$231.2617.66%11
2023-12-152024-01-02$253.50$248.42-1.22%11
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-09-062023-09-25$251.92$246.99-4.72%14
2023-05-312023-06-02$203.93$213.972.96%3
2023-03-242023-04-06$190.41$185.06-3.68%10
2023-02-102023-02-23$196.89$202.07-3.31%9
2022-09-142022-09-15$302.61$303.753.38%2
2022-08-242022-08-25$297.10$296.070.02%2
2022-08-222022-08-23$289.91$296.45-2.47%2
2022-08-152022-08-16$309.32$306.562.89%2
2022-08-082022-08-12$290.42$300.03-0.73%5
2022-08-022022-08-05$300.59$288.173.61%4
2022-03-212022-04-05$307.05$363.7526.26%12
2021-08-022021-08-05$236.56$238.213.25%4
2021-07-132021-07-15$222.85$216.87-4.91%3
2021-06-142021-07-12$205.90$228.577.50%20
2021-04-062021-04-29$230.54$225.670.28%18
2020-11-182020-11-19$162.21$166.429.99%2
2020-04-302020-05-14$52.13$53.56-1.39%11
2019-10-222019-10-25$17.04$21.8817.98%4
2019-10-152019-10-21$17.19$16.90-0.20%5
2019-09-112019-09-25$16.47$15.25-5.42%11
2019-07-222019-07-26$17.05$15.20-11.55%5
2019-03-012019-03-04$19.65$19.02-8.04%2
2018-11-202018-11-21$23.17$22.55-1.89%2
2018-10-262018-11-19$22.06$23.5612.31%17
2018-06-122018-06-15$22.85$23.887.50%4
2018-03-132018-03-15$22.79$21.71-5.65%3
2018-03-052018-03-06$22.22$21.88-0.73%2
2018-02-232018-02-26$23.47$23.831.50%2
2018-01-092018-02-01$22.25$23.285.11%17
2017-12-122017-12-26$22.74$21.15-1.32%10
2017-09-122017-09-18$24.18$25.674.22%5
2017-08-252017-08-28$23.20$23.04-1.58%2
2016-12-282017-01-05$14.65$15.123.19%6
2016-07-122016-07-26$14.98$15.302.12%11
2016-06-092016-06-16$15.29$14.53-7.75%6
2016-04-042016-04-05$16.47$17.033.75%2
2016-03-282016-04-01$15.35$15.840.69%5
2016-03-212016-03-24$15.89$15.18-4.55%4
2015-12-292016-01-06$15.81$14.60-2.60%6
2015-12-022015-12-03$15.47$15.51-2.39%2
2015-09-162015-09-30$17.48$16.56-2.92%11
2015-05-012015-05-11$15.07$15.974.46%7
2015-04-282015-04-29$15.37$15.50-0.66%2
2015-04-142015-04-21$13.83$13.96-2.35%6
2014-11-112014-12-01$16.74$15.440.87%14
2014-05-282014-06-23$14.02$15.818.30%19
2014-01-152014-01-24$10.94$11.6412.32%7
2013-12-132014-01-10$9.84$9.71-0.16%19
2012-12-142012-12-17$2.25$2.290.39%2
2012-11-062012-11-23$2.08$2.142.87%13
2012-09-182012-09-21$2.09$2.00-5.23%4
2012-08-242012-08-29$1.97$1.89-6.83%4
2012-07-122012-07-23$2.18$2.040.69%8
2012-07-062012-07-09$2.07$2.10-0.97%2
2012-06-192012-07-03$2.14$2.04-4.71%11
2012-02-222012-02-23$2.28$2.30-1.01%2
2012-01-312012-02-21$1.94$2.3018.02%15