Strategy Zoo / S0880

LongTermTrend_V0880

ARCHIVEDhybrid

llmSimplified and diversified entry: require trend/short-term momentum (close>50SMA with positive slope or strong 20d return) plus MACD or RSI confirmation and avoid entries extremely close to 52-week high. Added defensive regime gates to allow entries only in UPTREND and non-high volatility, and to avoid EXTREME bubble. Improved exits: faster 5d stop and a tighter 20d stop to limit drawdowns. Position sizing scaled by vol_pctile with an additional rule to cut size on large drawdowns; reduced base position to 0.8 to lower turnover and overfitting risk.

Fitness
0.2442
Generation
40
Complexity
16
Created
2026-09-29

Lineage

Parents (1)
LongTermTrend_V0822S0822 · gen 37ARCHIVEDllm

changed cumret_252d threshold -0.1997 -> -0.4102

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0880  [hybrid]
require regime.trend in ['UPTREND']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL', 'EXPENSIVE']
if flat and (((close > sma_50 and sma_50_slope > 0.0) or ret_20d > 0.06) and (macd_hist > 0.0 or rsi_14 > 50.0) and dist_52w_high < 0.9):
    position = 0.8
if long and (ret_5d < -0.03 or ret_20d < -0.08):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-0.4%18.2%-2.8%2.7%
Total Return-3.0%64.9%-9.9%47.7%
Sharpe0.050.89-0.070.24
Sortino0.030.76-0.040.16
Calmar-0.010.53-0.090.07
Volatility15.2%21.4%17.4%17.2%
Max DD-32.2%-34.2%-30.1%-40.7%
Win Rate32.8%33.3%35.7%33.6%
Avg Win5.6%14.5%6.1%8.7%
Avg Loss-3.1%-3.8%-3.7%-3.4%
Payoff1.843.831.652.57
Expectancy-0.2%2.3%-0.2%0.7%
Profit Factor0.901.920.911.30
Trades583028116
Avg Holding Days7.97.05.87.3
Turnover11.716.012.012.6
Exposure16.7%19.2%11.4%15.9%

Growth of $100

LongTermTrend_V0880 vs TSLA Buy & Hold
LongTermTrend_V0880 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-5.8%-0.67-11.0%4
20174.4%0.34-15.5%15
2018-11.3%-1.15-12.7%3
20199.3%0.94-9.5%4
202051.4%2.04-15.2%10
202137.3%1.48-16.0%10
2022-30.6%-2.32-32.5%9

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 testDOWNTREND2730.0%0.000%
hidden testEXPENSIVE8312.7%0.4440%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-25.2%-1.482%
hidden testLOW VOLATILITY43317.0%1.2413%
hidden testMEDIUM VOLATILITY250-8.5%-0.3719%
hidden testNORMAL806-2.8%-0.179%
hidden testSIDEWAYS293-24.4%-1.782%
hidden testUPTREND37116.1%0.6527%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE31118.3%0.7331%
trainEXTREME1009.3%1.551%
trainHIGH VOLATILITY6990.7%0.051%
trainLOW VOLATILITY74511.0%0.6933%
trainMEDIUM VOLATILITY568-12.4%-0.8115%
trainNORMAL1,601-3.2%-0.2515%
trainSIDEWAYS592-8.1%-1.391%
trainUPTREND9027.1%0.3237%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13864.6%2.0744%
validationEXTREME14435.3%2.532%
validationHIGH VOLATILITY25813.3%1.191%
validationLOW VOLATILITY1837.8%0.4634%
validationMEDIUM VOLATILITY31530.0%1.0426%
validationNORMAL4740.7%0.0317%
validationSIDEWAYS206-28.9%-2.172%
validationUPTREND42547.7%1.7833%

Trades (full period)

latest 100 of 116
EntryExitEntry PxExit PxReturnDays
2026-07-012026-07-06$425.30$419.77-5.30%3
2026-05-292026-06-01$435.79$415.88-1.30%2
2025-12-042025-12-30$454.53$454.432.22%18
2025-11-112025-11-13$439.62$401.99-2.79%3
2025-11-062025-11-10$445.91$445.23-5.81%3
2025-10-142025-11-05$429.24$462.071.47%17
2025-10-102025-10-13$413.49$435.90-4.21%2
2025-09-122025-10-09$395.94$435.5414.92%20
2025-09-042025-09-05$338.53$350.840.90%2
2025-07-312025-08-01$308.27$302.63-2.86%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
2025-06-052025-06-06$284.70$295.14-11.56%2
2025-05-282025-06-04$356.90$332.05-4.27%6
2025-05-222025-05-27$341.04$362.890.97%3
2024-10-092024-10-10$241.05$238.77-1.29%2
2024-10-072024-10-08$240.83$244.50-3.12%2
2024-10-032024-10-04$240.66$250.08-2.84%2
2024-09-232024-09-27$250.00$260.465.19%5
2024-09-162024-09-20$226.78$238.254.58%5
2024-09-052024-09-09$230.17$216.27-3.25%3
2024-07-022024-07-12$231.26$248.2311.75%8
2024-01-032024-01-04$238.45$237.93-3.37%2
2023-07-272023-08-03$255.71$259.32-3.24%6
2023-07-252023-07-26$265.28$264.35-1.28%2
2023-07-132023-07-21$277.90$260.02-2.74%7
2023-06-282023-07-12$256.24$271.996.10%10
2023-06-022023-06-27$213.97$250.2112.72%17
2022-09-152022-09-23$303.75$275.33-3.86%7
2022-09-122022-09-14$304.42$302.61-2.16%3
2022-08-162022-08-22$306.56$289.91-3.44%5
2022-08-052022-08-08$288.17$290.42-5.46%2
2022-04-192022-04-27$342.72$293.84-10.31%7
2022-04-142022-04-18$328.33$334.76-3.08%2
2022-04-082022-04-11$341.83$325.31-2.56%2
2022-04-052022-04-07$363.75$352.42-7.15%3
2022-01-122022-01-13$368.74$343.852.98%2
2021-12-272022-01-04$364.65$383.209.81%7
2021-12-092021-12-10$334.60$339.01-5.03%2
2021-11-232021-12-03$369.68$338.32-5.13%8
2021-08-242021-11-09$236.16$341.1749.25%55
2021-08-192021-08-20$224.49$226.75-1.96%2
2021-08-052021-08-17$238.21$221.90-2.92%9
2021-02-122021-02-16$272.04$265.410.28%2
2021-02-022021-02-11$290.93$270.55-3.46%8
2021-01-202021-02-01$283.48$279.94-4.97%9
2021-01-122021-01-19$283.15$281.521.34%5
2020-12-302021-01-11$231.59$270.4024.93%8
2020-12-102020-12-29$209.02$222.007.73%13
2020-11-192020-12-08$166.42$216.6324.77%13
2020-11-042020-11-11$140.33$139.04-2.70%6
2020-10-282020-10-29$135.34$136.94-3.67%2
2020-10-232020-10-26$140.21$140.09-1.13%2
2020-10-132020-10-21$148.88$140.88-3.83%7
2020-08-112020-08-12$91.63$103.65-2.65%2
2020-06-252020-06-29$65.73$67.29-0.24%3
2020-05-292020-06-01$55.67$59.872.74%2
2019-12-032020-01-22$22.41$37.9748.27%34
2019-11-292019-12-02$22.00$22.32-0.49%2
2019-11-262019-11-27$21.93$22.09-1.92%2
2019-11-222019-11-25$22.20$22.42-5.07%2
2019-10-212019-10-22$16.90$17.04-1.23%2
2018-11-272018-12-18$22.93$22.470.45%15
2018-02-082018-02-09$21.02$20.69-7.06%2
2018-02-012018-02-06$23.28$22.26-4.95%4
2017-10-182017-10-24$23.98$22.49-4.38%5
2017-10-052017-10-17$23.69$23.72-1.13%9
2017-09-182017-09-25$25.67$23.00-6.22%6
2017-08-152017-08-18$24.16$23.16-2.77%4
2017-08-042017-08-07$23.79$23.682.10%2
2017-06-302017-07-03$24.11$23.510.03%2
2017-06-052017-06-14$23.15$25.388.28%8
2017-05-122017-05-18$21.65$20.87-4.37%5
2017-05-082017-05-09$20.48$21.42-0.46%2
2017-04-242017-05-05$20.54$20.56-2.78%10
2017-04-202017-04-21$20.17$20.37-0.95%2
2017-03-242017-04-04$17.54$20.2513.40%8
2017-03-202017-03-22$17.46$17.00-3.46%3
2017-03-152017-03-16$17.05$17.47-0.86%2
2017-01-052017-02-24$15.12$17.1310.04%35
2016-07-262016-08-30$15.30$14.09-5.31%26
2016-06-082016-06-09$15.70$15.290.93%2
2016-04-152016-05-02$16.97$16.12-3.67%12
2016-04-052016-04-14$17.03$16.792.32%8
2015-07-292015-08-07$17.59$16.17-5.76%8
2015-07-142015-07-27$17.71$16.870.87%10
2015-05-112015-07-09$15.97$17.196.09%42
2015-04-292015-05-01$15.50$15.07-1.69%3
2014-10-072014-10-10$17.30$15.79-1.27%4
2014-07-152014-09-16$14.64$17.389.51%45
2014-07-102014-07-11$14.63$14.54-1.45%2
2014-07-072014-07-08$14.84$14.60-2.46%2
2014-06-232014-07-03$15.81$15.28-0.18%9
2014-04-032014-04-04$15.03$14.15-1.86%2
2014-03-202014-03-25$15.66$14.70-5.49%4
2014-02-132014-02-26$13.31$16.8721.13%9
2013-11-052013-11-07$11.79$9.32-11.10%3
2013-10-142013-10-22$11.98$11.44-2.86%7
2013-10-092013-10-10$11.25$11.53-2.88%2
2013-10-072013-10-08$12.20$11.650.76%2