Strategy Zoo / S0895

LongTermTrend_V0895

ARCHIVEDhybrid

llmRemoved duplicate ret_20d clause and tightened long-term drawdown gate; added RSI < 70 filter and requirement of recent breakout or not-too-far-from-52w-high to avoid weak momentum entries; added exit condition: close < sma_50 to cut losses earlier; introduced regime gates (only UPTREND, LOW/MED volatility, exclude EXTREME bubbles); added volatility- and RSI-based position sizing to reduce size in high-vol or overbought conditions.

Fitness
0.2715
Generation
41
Complexity
19
Created
2026-09-30

Lineage

Parents (1)
LongTermTrend_V0822S0822 · gen 37ARCHIVEDllm

changed cumret_252d threshold -0.1997 -> -0.4102

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0895  [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_200 and sma_200_slope > 0.0) or ret_20d > 0.1) and ret_20d > 0.05 and cumret_252d > -0.3) and rsi_14 < 70.0 and (breakout_20 > 0.0 or dist_52w_high < 0.5)):
    position = 1.0
if long and (ret_20d < -0.1003 or close < sma_50):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR0.4%28.2%-7.9%3.4%
Total Return2.9%110.7%-26.5%64.1%
Sharpe0.111.07-0.330.27
Sortino0.070.77-0.150.16
Calmar0.010.74-0.210.06
Volatility18.5%26.4%19.4%20.6%
Max DD-46.5%-38.1%-37.6%-55.9%
Win Rate38.5%50.0%33.3%40.4%
Avg Win8.8%26.2%5.5%15.8%
Avg Loss-6.2%-9.3%-7.3%-7.1%
Payoff1.432.830.752.23
Expectancy-0.4%8.5%-3.1%2.2%
Profit Factor0.892.830.371.51
Trades2612947
Avg Holding Days14.416.013.115.1
Turnover6.68.04.86.4
Exposure18.4%23.8%11.6%17.8%

Growth of $100

LongTermTrend_V0895 vs TSLA Buy & Hold
LongTermTrend_V0895 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-14.2%-1.51-15.6%3
2017-9.4%-0.39-18.8%10
2018-15.2%-1.46-16.4%2
201926.1%2.25-3.8%0
202086.7%2.50-12.1%4
202136.7%1.11-24.4%5
2022-20.5%-1.25-23.4%3

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 testDOWNTREND2740.0%0.000%
hidden testEXPENSIVE8377.5%1.9555%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-22.8%-1.381%
hidden testLOW VOLATILITY43411.5%0.8112%
hidden testMEDIUM VOLATILITY250-20.6%-0.7422%
hidden testNORMAL807-15.4%-0.938%
hidden testSIDEWAYS293-13.8%-1.031%
hidden testUPTREND371-5.2%-0.1828%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE31127.2%0.9135%
trainEXTREME10011.6%1.551%
trainHIGH VOLATILITY6995.7%0.352%
trainLOW VOLATILITY74518.8%0.9535%
trainMEDIUM VOLATILITY568-24.4%-1.2517%
trainNORMAL1,601-3.4%-0.2216%
trainSIDEWAYS592-2.9%-0.781%
trainUPTREND9026.5%0.2441%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE138111.3%2.8758%
validationEXTREME14447.3%2.613%
validationHIGH VOLATILITY258-8.2%-0.661%
validationLOW VOLATILITY18320.8%1.0441%
validationMEDIUM VOLATILITY31562.6%1.7333%
validationNORMAL474-1.6%-0.0720%
validationSIDEWAYS206-16.4%-1.201%
validationUPTREND42558.4%1.7342%

Trades (full period)

47 trades
EntryExitEntry PxExit PxReturnDays
2026-05-292026-06-01$435.79$415.88-1.63%2
2025-12-152026-01-05$475.31$451.67-4.74%14
2025-09-122025-11-14$395.94$404.358.79%46
2025-09-042025-09-05$338.53$350.841.13%2
2025-05-222025-06-06$341.04$295.14-15.09%11
2024-10-032024-10-14$240.66$219.16-12.71%8
2024-09-232024-09-27$250.00$260.466.49%5
2024-09-062024-09-09$210.73$216.27-8.64%2
2023-06-262023-08-03$241.05$259.32-1.17%28
2022-08-162022-08-22$306.56$289.91-4.28%5
2022-04-062022-04-27$348.59$293.84-19.85%15
2022-01-122022-01-13$368.74$343.853.73%2
2021-11-232021-12-03$369.68$338.32-6.44%8
2021-08-242021-11-10$236.16$355.9844.62%56
2021-08-052021-08-23$238.21$235.43-4.50%13
2021-01-122021-02-23$283.15$232.95-12.09%29
2020-12-102021-01-11$209.02$270.4045.30%21
2020-11-192020-12-08$166.42$216.6331.62%13
2020-10-132020-10-29$148.88$136.94-8.39%13
2020-06-252020-06-30$65.73$71.994.84%4
2019-11-292020-01-22$22.00$37.9764.84%36
2018-11-292018-12-21$22.74$21.32-9.52%16
2018-02-012018-02-06$23.28$22.26-6.17%4
2017-09-182017-09-26$25.67$23.02-9.35%7
2017-08-152017-08-18$24.16$23.16-3.46%4
2017-08-042017-08-07$23.79$23.682.63%2
2017-06-302017-07-06$24.11$20.59-9.51%4
2017-06-052017-06-14$23.15$25.3810.40%8
2017-05-122017-05-19$21.65$20.72-3.30%6
2017-04-242017-05-10$20.54$21.684.92%13
2017-04-202017-04-21$20.17$20.37-1.18%2
2017-03-282017-04-04$18.50$20.2510.26%6
2017-02-172017-02-28$18.15$16.67-8.63%7
2016-07-262016-08-29$15.30$14.35-4.55%25
2016-06-082016-06-09$15.70$15.291.17%2
2016-04-112016-05-05$16.66$14.10-11.18%19
2015-08-062015-08-07$16.41$16.17-9.08%2
2015-05-212015-07-28$16.37$17.653.34%47
2014-06-232014-09-23$15.81$16.698.69%65
2014-03-202014-03-26$15.66$14.20-6.72%5
2014-02-132014-02-26$13.31$16.8726.72%9
2013-09-092013-10-24$10.71$11.54-1.68%34
2013-03-262013-04-02$2.52$2.9616.82%5
2013-01-312013-02-22$2.50$2.41-6.48%16
2012-12-182013-01-14$2.31$2.22-4.52%18
2012-11-232012-12-14$2.14$2.253.30%16
2012-02-232012-04-10$2.30$2.16-3.32%33