Strategy Zoo / S1526

LongTermTrend_V1526

ARCHIVEDhybrid

llmAdded regime gates to restrict to UPTREND and non-high volatility; relaxed and generalized entry filters (lowered ret_20d and cumret thresholds, added breakout+volume OR SMA200 trend combo, RSI and vol_pctile filters) to reduce overfitting; improved exit to use SMA50 cross and a larger short-rate stop (ret_20d<-3%); introduced position scaling (higher size on breakouts/strong recent returns) and reduced base position to 0.6 to lower risk/turnover.

Fitness
0.1022
Generation
70
Complexity
18
Created
2026-10-13

Lineage

Parents (1)
LongTermTrend_V1249S1249 · gen 57ELITEllm

removed entry condition: ((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)))

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1526  [hybrid]
require regime.trend in ['UPTREND']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL']
if flat and (((close > sma_200 and sma_200_slope > -0.0015) or (breakout_20 > 0.5 and rel_volume > 1.2)) and ret_20d > 0.02 and cumret_252d > 0.02 and rsi_14 < 70.0 and vol_pctile < 0.9):
    position = 0.6
if long and (close < sma_50 or ret_20d < -0.03):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-1.6%-1.2%-1.9%-1.6%
Total Return-12.1%-3.5%-6.9%-21.0%
Sharpe-0.14-0.05-0.18-0.13
Sortino-0.07-0.02-0.06-0.05
Calmar-0.06-0.04-0.12-0.04
Volatility8.6%11.2%8.4%9.2%
Max DD-25.2%-29.2%-16.0%-35.5%
Win Rate38.1%22.2%50.0%37.5%
Avg Win3.8%13.9%2.3%4.6%
Avg Loss-3.2%-3.9%-3.5%-3.5%
Payoff1.193.540.651.34
Expectancy-0.5%0.0%-0.6%-0.4%
Profit Factor0.731.010.650.80
Trades2191040
Avg Holding Days11.511.87.310.5
Turnover3.23.63.23.3
Exposure6.6%7.7%4.0%6.1%

Growth of $100

LongTermTrend_V1526 vs TSLA Buy & Hold
LongTermTrend_V1526 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-4.4%-1.02-5.3%1
20171.5%0.96-0.1%1
2018-10.3%-1.37-10.3%3
20197.8%1.54-1.4%1
20200.0%0.000.0%0
202116.9%1.05-14.3%4
2022-17.5%-1.70-19.3%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 testDOWNTREND2780.0%0.000%
hidden testEXPENSIVE8325.5%2.441%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-8.5%-1.000%
hidden testLOW VOLATILITY4430.2%0.036%
hidden testMEDIUM VOLATILITY2502.5%0.264%
hidden testNORMAL816-4.4%-0.524%
hidden testSIDEWAYS298-8.1%-1.021%
hidden testUPTREND3712.6%0.2310%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE3116.0%1.511%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY699-0.5%-0.060%
trainLOW VOLATILITY7457.6%0.7614%
trainMEDIUM VOLATILITY568-13.8%-1.705%
trainNORMAL1,601-2.7%-0.298%
trainSIDEWAYS592-4.3%-1.060%
trainUPTREND9020.1%0.0114%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-4.9%-0.660%
validationLOW VOLATILITY1837.7%0.7520%
validationMEDIUM VOLATILITY315-1.8%-0.136%
validationNORMAL474-0.9%-0.0612%
validationSIDEWAYS206-15.9%-1.761%
validationUPTREND4256.7%0.4913%

Trades (full period)

40 trades
EntryExitEntry PxExit PxReturnDays
2026-05-292026-06-01$435.79$415.88-0.98%2
2025-12-082026-01-05$439.58$451.67-2.24%19
2025-09-122025-09-15$395.94$410.044.29%2
2025-09-042025-09-05$338.53$350.840.68%2
2025-07-212025-07-23$328.49$332.560.33%3
2025-06-022025-06-06$342.69$295.14-10.95%5
2025-05-222025-05-28$341.04$356.904.92%4
2024-09-252024-09-27$257.02$260.46-0.13%3
2024-01-032024-01-10$238.45$233.94-3.38%6
2023-06-262023-08-02$241.05$254.111.27%27
2022-09-202022-09-23$308.73$275.33-4.12%4
2022-09-122022-09-14$304.42$302.61-1.61%3
2022-08-162022-08-22$306.56$289.91-2.59%5
2022-04-062022-04-27$348.59$293.84-12.12%15
2022-01-122022-01-13$368.74$343.852.24%2
2021-12-092021-12-10$334.60$339.01-3.78%2
2021-11-232021-12-01$369.68$365.00-0.69%6
2021-08-242021-11-10$236.16$355.9825.61%56
2021-08-052021-08-23$238.21$235.43-2.66%13
2019-11-262019-12-17$21.93$25.277.81%15
2018-11-272018-12-19$22.93$22.20-1.59%16
2018-02-082018-02-09$21.02$20.69-5.29%2
2018-02-012018-02-06$23.28$22.26-3.73%4
2017-03-272017-03-28$18.01$18.501.49%2
2016-04-112016-05-04$16.66$14.84-4.38%18
2015-08-062015-08-07$16.41$16.17-5.45%2
2015-05-212015-07-28$16.37$17.652.22%47
2014-09-192014-09-23$17.29$16.69-3.27%3
2014-08-052014-09-16$15.90$17.383.93%30
2014-06-232014-07-17$15.81$14.36-3.30%18
2014-05-062014-05-07$13.82$13.42-2.70%2
2013-03-262013-04-02$2.52$2.9610.06%5
2013-03-222013-03-25$2.44$2.500.90%2
2013-03-142013-03-15$2.46$2.35-3.40%2
2013-02-152013-02-22$2.47$2.41-4.92%5
2013-02-122013-02-14$2.53$2.55-0.07%3
2013-01-232013-01-24$2.40$2.471.26%2
2012-12-182013-01-11$2.31$2.19-1.60%17
2012-11-282012-12-14$2.22$2.252.64%13
2012-02-232012-04-10$2.30$2.16-1.69%33