Strategy Zoo / S1479

LongTermTrend_V1479

ARCHIVEDhybrid

llmAdded trend and volatility regime gates (only UPTREND and LOW/MEDIUM volatility, bubble NORMAL); simplified and diversified entry to require price above SMAs or rising 200SMA + modest 20d momentum (>3%); added a volatility cap (vol_pctile < 0.8) to avoid high-vol regimes; strengthened exits to include a tighter stop (-8% 20d), a drawdown-based stop (12%), and SMA50 breakdown; introduced position scaling rules to increase size on low-vol breakout momentum and otherwise reduce base position to 0.8 to lower risk.

Fitness
0.0790
Generation
68
Complexity
18
Created
2026-10-13

Lineage

Parents (1)
LongTermTrend_V1159S1159 · gen 53ELITEllm

restricted to bubble regimes ['EXPENSIVE', 'EXTREME']

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1479  [hybrid]
require regime.trend in ['UPTREND']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL']
if flat and (((close > sma_50 and close > sma_200) or (close > sma_200 and sma_200_slope > 0.0)) and ret_20d > 0.03 and cumret_252d > -0.1997 and vol_pctile < 0.8):
    position = 0.8
if long and (ret_20d < -0.08 or drawdown > 0.12 or close < sma_50):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-1.2%-7.2%2.3%-1.6%
Total Return-9.5%-20.1%9.1%-21.1%
Sharpe-0.04-0.390.23-0.05
Sortino-0.02-0.180.10-0.02
Calmar-0.04-0.150.11-0.03
Volatility12.2%15.8%15.4%13.8%
Max DD-34.4%-46.9%-21.9%-46.9%
Win Rate38.1%20.0%53.8%38.6%
Avg Win5.7%19.0%7.5%8.0%
Avg Loss-4.0%-6.5%-6.5%-5.3%
Payoff1.422.901.151.50
Expectancy-0.3%-1.4%1.0%-0.2%
Profit Factor0.870.731.340.95
Trades21101344
Avg Holding Days15.111.38.212.2
Turnover4.25.35.54.8
Exposure11.8%10.9%7.9%10.6%

Growth of $100

LongTermTrend_V1479 vs TSLA Buy & Hold
LongTermTrend_V1479 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-7.5%-0.83-12.6%3
20179.7%2.04-0.9%2
2018-18.1%-1.73-18.0%3
20194.6%0.58-7.1%2
20200.0%0.000.0%0
202113.7%0.69-24.5%4
2022-29.8%-2.13-31.8%6

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 testEXPENSIVE8334.0%2.442%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-19.2%-1.201%
hidden testLOW VOLATILITY4439.1%0.7011%
hidden testMEDIUM VOLATILITY25016.7%0.9010%
hidden testNORMAL8160.6%0.049%
hidden testSIDEWAYS298-10.9%-1.021%
hidden testUPTREND37117.7%0.7819%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE3117.0%1.381%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY699-2.2%-0.210%
trainLOW VOLATILITY74511.1%0.7626%
trainMEDIUM VOLATILITY568-13.8%-1.267%
trainNORMAL1,601-2.0%-0.1515%
trainSIDEWAYS592-7.3%-1.281%
trainUPTREND9023.7%0.2126%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-6.5%-0.661%
validationLOW VOLATILITY18310.3%0.7527%
validationMEDIUM VOLATILITY315-15.5%-0.7710%
validationNORMAL474-9.9%-0.5017%
validationSIDEWAYS206-27.8%-2.082%
validationUPTREND4252.4%0.1318%

Trades (full period)

44 trades
EntryExitEntry PxExit PxReturnDays
2026-05-292026-06-01$435.79$415.88-1.30%2
2025-12-122026-01-05$458.96$451.67-1.67%15
2025-09-122025-09-15$395.94$410.045.72%2
2025-09-042025-09-05$338.53$350.840.90%2
2025-06-022025-06-06$342.69$295.14-14.50%5
2025-05-222025-05-28$341.04$356.906.58%4
2024-10-032024-10-14$240.66$219.16-10.21%8
2024-09-232024-09-27$250.00$260.465.19%5
2024-09-162024-09-20$226.78$238.254.58%5
2024-09-062024-09-09$210.73$216.27-6.91%2
2024-07-022024-07-12$231.26$248.2311.75%8
2024-01-032024-01-10$238.45$233.94-4.50%6
2023-06-022023-08-03$213.97$259.3217.82%43
2022-09-202022-09-23$308.73$275.33-5.47%4
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-052022-04-27$363.75$293.84-19.20%16
2022-01-122022-01-13$368.74$343.852.98%2
2021-12-092021-12-14$334.60$319.50-7.85%4
2021-11-232021-12-03$369.68$338.32-5.13%8
2021-08-242021-11-10$236.16$355.9834.93%56
2021-08-052021-08-23$238.21$235.43-3.57%13
2019-11-222019-12-17$22.20$25.275.89%17
2019-10-212019-10-22$16.90$17.04-1.23%2
2018-11-272018-12-21$22.93$21.32-7.21%18
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-01-312017-02-03$16.80$16.760.14%4
2017-01-052017-01-25$15.12$16.969.47%14
2016-07-262016-08-29$15.30$14.35-3.63%25
2016-06-082016-06-09$15.70$15.290.93%2
2016-04-052016-05-04$17.03$14.84-4.86%22
2015-08-062015-08-07$16.41$16.17-7.26%2
2015-05-112015-07-28$15.97$17.655.51%55
2015-04-292015-05-01$15.50$15.07-1.69%3
2014-06-232014-09-23$15.81$16.697.19%65
2013-03-262013-04-02$2.52$2.9613.44%5
2013-02-152013-02-22$2.47$2.41-6.61%5
2013-02-122013-02-14$2.53$2.55-0.10%3
2012-12-182013-01-14$2.31$2.22-3.60%18
2012-11-232012-12-14$2.14$2.252.68%16
2012-02-232012-04-10$2.30$2.16-2.46%33
2012-02-212012-02-22$2.30$2.28-1.23%2