Strategy Zoo / S1166

LongTermTrend_V1166

ARCHIVEDhybrid

llmSimplified entry into two robust patterns (momentum above SMA50 + MACD + 20d return and mild 200-day slope filter; OR high-volume 50-day breakout with modest distance to SMA50). Added regime gates to restrict trading to uptrends and low volatility to reduce drawdown. Made exit a conservative OR of 20d loss, peak drawdown, or MACD histogram turning negative. Reduced base position to 0.6 to lower risk/exposure.

Fitness
0.5132
Generation
53
Complexity
14
Created
2026-10-06

Lineage

Parents (1)
LongTermTrend_V0956S0956 · gen 44ARCHIVEDllm

entry from LongTermTrend_V0733, exit from PriceMomentum_V0690

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1166  [hybrid]
if flat and ((close > sma_50 and macd_hist > 0.0 and ret_20d > 0.02 and sma_200_slope > -0.001) or (breakout_50 == 1 and rel_volume > 1.5 and dist_sma_50 > -0.2)):
    position = 0.6
if long and (ret_20d < -0.03 or drawdown > 0.08 or macd_hist < 0.0):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR8.1%45.0%10.0%15.4%
Total Return86.7%205.1%42.6%726.8%
Sharpe0.541.600.700.86
Sortino0.481.590.620.78
Calmar0.242.510.740.45
Volatility17.3%25.3%15.1%18.7%
Max DD-34.6%-17.9%-13.5%-34.6%
Win Rate41.4%45.5%40.9%42.2%
Avg Win8.2%15.9%7.1%10.2%
Avg Loss-3.5%-2.5%-1.9%-2.9%
Payoff2.386.293.723.47
Expectancy1.4%5.8%1.8%2.6%
Profit Factor1.685.242.582.53
Trades582222102
Avg Holding Days11.913.211.012.1
Turnover8.88.87.18.3
Exposure19.3%21.3%14.0%18.4%

Growth of $100

LongTermTrend_V1166 vs TSLA Buy & Hold
LongTermTrend_V1166 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
20165.9%0.67-7.5%4
201713.9%1.14-10.8%9
2018-11.3%-0.73-16.5%9
2019-0.1%0.07-17.4%4
2020156.3%2.78-13.6%8
202115.1%0.86-13.7%9
20223.1%0.27-10.8%5

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-5.9%-1.026%
hidden testEXPENSIVE8358.8%2.1730%
hidden testEXTREME4876.1%2.8921%
hidden testHIGH VOLATILITY25419.6%1.0313%
hidden testLOW VOLATILITY43813.3%1.1914%
hidden testMEDIUM VOLATILITY250-3.1%-0.1916%
hidden testNORMAL8111.8%0.1512%
hidden testSIDEWAYS2934.8%0.3717%
hidden testUPTREND37127.6%1.3518%
trainDOWNTREND518-12.0%-1.487%
trainEXPENSIVE31125.4%1.2829%
trainEXTREME100172.9%4.1942%
trainHIGH VOLATILITY69917.7%0.7618%
trainLOW VOLATILITY74515.2%1.2923%
trainMEDIUM VOLATILITY568-8.9%-0.6315%
trainNORMAL1,601-4.1%-0.3016%
trainSIDEWAYS5920.3%0.0220%
trainUPTREND90227.4%1.2526%
validationDOWNTREND12521.8%1.667%
validationEXPENSIVE13843.9%1.9121%
validationEXTREME144151.5%3.4540%
validationHIGH VOLATILITY25839.4%1.2018%
validationLOW VOLATILITY18315.7%1.3522%
validationMEDIUM VOLATILITY31555.5%2.3424%
validationNORMAL4745.5%0.3416%
validationSIDEWAYS2063.4%0.2116%
validationUPTREND42563.7%2.0628%

Trades (full period)

latest 100 of 102
EntryExitEntry PxExit PxReturnDays
2026-09-182026-09-29$364.27$352.84-1.52%8
2026-09-112026-09-17$365.44$366.20-1.02%5
2026-05-282026-06-02$442.10$423.74-3.46%4
2026-05-042026-05-21$392.51$417.854.01%14
2026-04-202026-04-24$392.50$376.30-4.18%5
2025-12-082025-12-30$439.58$454.430.61%16
2025-11-042025-11-05$444.26$462.07-3.21%2
2025-09-082025-10-06$346.40$453.2513.11%21
2025-08-252025-09-03$346.60$334.09-1.98%7
2025-08-082025-08-22$329.65$340.01-0.49%11
2025-07-212025-07-23$328.49$332.560.33%3
2025-04-282025-06-03$285.88$344.2711.88%26
2024-12-092024-12-24$389.79$462.286.38%12
2024-10-252024-11-29$269.19$345.1616.46%25
2024-09-062024-10-04$210.73$250.082.86%21
2024-08-222024-08-23$210.66$220.32-3.51%2
2024-07-022024-07-22$231.26$251.518.39%14
2023-12-152024-01-02$253.50$248.42-0.67%11
2023-11-222023-12-14$234.21$251.05-0.54%16
2023-10-062023-10-10$260.53$263.62-0.21%3
2023-09-062023-09-25$251.92$246.99-2.69%14
2023-07-062023-07-07$276.54$274.43-1.38%2
2022-08-162022-08-19$306.56$296.67-1.37%4
2022-07-112022-08-12$234.34$300.038.62%25
2022-03-212022-04-11$307.05$325.317.90%16
2022-01-132022-01-14$343.85$349.87-4.17%2
2022-01-042022-01-12$383.20$368.74-6.96%7
2021-10-132021-11-11$270.36$354.5018.99%22
2021-10-082021-10-11$261.83$263.98-0.73%2
2021-09-282021-10-07$259.19$264.54-0.77%8
2021-08-312021-09-21$245.24$246.46-0.14%15
2021-08-032021-08-17$236.58$221.90-2.08%11
2021-07-132021-07-15$222.85$216.87-2.96%3
2021-06-242021-07-12$226.61$228.57-0.04%12
2021-04-142021-04-29$244.08$225.67-5.47%12
2021-01-052021-01-25$245.04$293.609.48%14
2020-12-182020-12-23$231.67$215.33-1.45%4
2020-11-182020-12-17$162.21$218.6323.34%21
2020-10-152020-10-20$149.63$140.65-4.12%4
2020-08-182020-09-08$125.81$110.078.55%15
2020-07-022020-07-27$80.58$102.6415.78%17
2020-06-032020-06-25$58.86$65.735.47%17
2020-04-142020-05-14$47.33$53.5613.04%23
2019-12-162020-02-26$25.43$51.9264.62%49
2019-10-252019-11-21$21.88$23.6610.23%20
2019-07-192019-07-26$17.21$15.20-5.83%6
2019-03-012019-03-04$19.65$19.02-4.82%2
2019-01-182019-01-22$20.15$19.93-7.90%2
2018-12-112018-12-18$24.45$22.47-2.84%6
2018-10-262018-11-21$22.06$22.556.09%19
2018-08-032018-08-20$23.21$20.56-7.60%12
2018-06-072018-06-26$21.07$22.802.54%14
2018-06-042018-06-06$19.78$21.30-0.25%3
2018-05-112018-05-17$20.07$18.97-3.79%5
2018-03-142018-03-15$21.78$21.71-2.79%2
2018-02-262018-03-02$23.83$22.34-3.73%5
2018-01-092018-02-05$22.25$22.211.23%19
2017-12-122017-12-27$22.74$20.78-2.21%11
2017-09-152017-09-25$25.32$23.00-4.36%7
2017-08-042017-08-22$23.79$22.76-1.67%13
2017-05-312017-06-27$22.73$24.167.37%20
2017-05-152017-05-16$21.06$21.13-1.77%2
2017-05-022017-05-04$21.26$19.70-2.32%3
2017-03-272017-04-21$18.01$20.378.74%19
2017-02-102017-02-22$17.95$18.231.74%8
2016-12-142017-02-02$13.25$16.7714.74%34
2016-07-122016-08-09$14.98$15.270.31%21
2016-06-082016-06-16$15.70$14.53-3.90%7
2016-04-042016-04-14$16.47$16.794.18%9
2016-03-182016-04-01$15.52$15.840.84%10
2015-12-182016-01-05$15.36$14.90-2.62%11
2015-11-272015-12-14$15.44$14.57-3.40%12
2015-09-182015-09-30$17.37$16.56-3.66%9
2015-07-212015-07-22$17.78$17.86-3.41%2
2015-06-222015-07-09$17.32$17.19-1.76%13
2015-06-182015-06-19$17.46$17.500.22%2
2015-04-072015-05-22$13.55$16.5212.09%34
2015-02-232015-02-25$13.82$13.58-3.73%3
2015-02-042015-02-18$14.57$13.63-3.98%10
2014-11-122014-12-01$16.61$15.44-1.65%13
2014-09-022014-09-12$18.94$18.612.28%9
2014-08-052014-08-25$15.90$17.504.46%15
2014-06-062014-07-07$13.88$14.846.39%21
2014-05-282014-06-04$14.02$13.60-2.00%6
2014-02-112014-03-11$13.11$15.6312.71%20
2014-01-152014-02-06$10.94$11.894.84%16
2013-12-182014-01-10$9.87$9.71-1.96%16
2013-09-232013-10-04$12.07$12.07-3.37%10
2013-08-232013-09-10$10.79$11.091.29%12
2013-07-302013-08-15$8.78$9.312.32%13
2013-07-022013-07-17$7.85$8.02-4.00%11
2013-03-272013-06-04$2.54$6.3274.48%48
2013-03-142013-03-15$2.46$2.35-3.40%2
2013-01-232013-02-14$2.40$2.555.39%17
2012-11-062012-12-14$2.08$2.253.97%28
2012-09-182012-09-26$2.09$1.84-9.25%7
2012-08-242012-08-29$1.97$1.89-4.11%4
2012-07-132012-07-20$2.28$2.12-0.77%6
2012-06-192012-07-03$2.14$2.04-2.72%11
2012-03-272012-04-05$2.53$2.30-3.91%8