Strategy Zoo / S1711

LongTermTrend_V1711

ARCHIVEDhybrid

llmSimplified and strengthened trend entry (require price above sma_50 or 20-day breakout with positive sma_50 slope), loosened long-term drawdown limit, retained long-term 200slope guard. Added regime gating: only trade in UPTREND and non-HIGH volatility to improve robustness across validation. Improved exit rules: multi-condition exit (short-term drawdown, price crossing below sma_50, or negative 50slope) for earlier risk control. Reduced base position to 0.7 to lower drawdown risk.

Fitness
0.3056
Generation
79
Complexity
15
Created
2026-10-16

Lineage

Parents (1)
LongTermTrend_V1513S1513 · gen 69ELITEllm

added entry filter: sma_50_slope > -0.005

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1711  [hybrid]
require regime.trend in ['UPTREND']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
if flat and (((close > sma_50 and sma_50_slope > 0.0) or breakout_20 > 0.0) and ret_20d > 0.03 and cumret_252d > -0.25 and sma_200_slope > -0.001):
    position = 0.7
if long and (ret_20d < -0.08 or close < sma_50 or sma_50_slope < -0.003):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR1.0%28.3%-6.3%4.2%
Total Return8.5%111.2%-21.6%83.4%
Sharpe0.141.22-0.380.33
Sortino0.101.04-0.190.22
Calmar0.030.71-0.230.08
Volatility14.8%22.5%14.2%16.5%
Max DD-35.4%-39.9%-27.6%-55.0%
Win Rate38.7%46.2%41.7%41.1%
Avg Win5.3%23.2%3.2%10.4%
Avg Loss-3.3%-6.4%-5.5%-4.4%
Payoff1.613.600.582.34
Expectancy0.0%7.2%-1.9%1.6%
Profit Factor1.023.090.421.63
Trades31131256
Avg Holding Days15.017.811.015.3
Turnover5.56.14.55.3
Exposure16.0%20.3%8.8%15.1%

Growth of $100

LongTermTrend_V1711 vs TSLA Buy & Hold
LongTermTrend_V1711 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-6.5%-0.83-11.1%3
20170.2%0.10-19.0%10
2018-16.0%-1.73-15.9%3
201912.3%1.36-5.2%0
2020141.3%3.42-8.6%5
202111.0%0.55-21.7%5
2022-23.4%-1.98-23.3%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 testDOWNTREND2790.0%0.000%
hidden testEXPENSIVE8354.3%1.9539%
hidden testEXTREME4820.7%0.9312%
hidden testHIGH VOLATILITY254-13.3%-1.031%
hidden testLOW VOLATILITY44511.4%1.109%
hidden testMEDIUM VOLATILITY251-27.3%-1.3717%
hidden testNORMAL819-13.0%-1.166%
hidden testSIDEWAYS300-9.4%-1.021%
hidden testUPTREND371-6.3%-0.3022%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE31117.5%0.7530%
trainEXTREME10036.8%1.8320%
trainHIGH VOLATILITY699-3.6%-0.262%
trainLOW VOLATILITY74517.9%1.2030%
trainMEDIUM VOLATILITY568-11.6%-0.7415%
trainNORMAL1,601-3.0%-0.2613%
trainSIDEWAYS592-6.0%-1.201%
trainUPTREND9028.6%0.4035%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13851.9%1.7643%
validationEXTREME144128.9%4.7017%
validationHIGH VOLATILITY25816.8%1.081%
validationLOW VOLATILITY18319.3%1.2531%
validationMEDIUM VOLATILITY31540.9%1.3830%
validationNORMAL474-10.5%-0.6015%
validationSIDEWAYS206-17.3%-1.591%
validationUPTREND42557.2%1.9835%

Trades (full period)

56 trades
EntryExitEntry PxExit PxReturnDays
2026-05-292026-06-01$435.79$415.88-1.14%2
2025-12-122026-01-05$458.96$451.67-1.43%15
2025-09-122025-11-14$395.94$404.356.65%46
2025-09-042025-09-05$338.53$350.840.79%2
2025-05-222025-06-06$341.04$295.14-10.52%11
2024-12-112024-12-23$424.77$430.603.54%9
2024-10-032024-10-14$240.66$219.16-8.95%8
2024-09-242024-09-27$254.27$260.461.04%4
2024-09-162024-09-20$226.78$238.254.02%5
2024-09-062024-09-09$210.73$216.27-6.05%2
2024-01-032024-01-10$238.45$233.94-3.94%6
2023-07-052023-08-03$282.48$259.32-6.47%22
2022-08-162022-08-22$306.56$289.91-3.01%5
2022-08-052022-08-08$288.17$290.42-4.78%2
2022-04-052022-04-27$363.75$293.84-16.93%16
2021-12-092021-12-14$334.60$319.50-6.88%4
2021-11-232021-12-03$369.68$338.32-4.48%8
2021-08-242021-11-10$236.16$355.9830.22%56
2021-08-052021-08-23$238.21$235.43-3.11%13
2020-11-192021-02-23$166.42$232.9531.91%64
2020-10-132020-10-29$148.88$136.94-5.89%13
2020-08-312020-09-01$166.11$158.358.65%2
2020-08-262020-08-27$143.54$149.254.35%2
2020-05-282020-07-06$53.72$91.4431.62%27
2019-11-222020-01-31$22.20$43.3751.82%47
2018-11-272018-12-21$22.93$21.32-6.31%18
2018-02-082018-02-09$21.02$20.69-6.18%2
2018-02-012018-02-06$23.28$22.26-4.34%4
2017-10-052017-10-10$23.69$23.71-2.51%4
2017-09-182017-09-26$25.67$23.02-6.61%7
2017-08-152017-08-18$24.16$23.16-2.42%4
2017-08-042017-08-07$23.79$23.681.84%2
2017-06-052017-07-06$23.15$20.59-2.62%23
2017-05-122017-05-19$21.65$20.72-2.30%6
2017-04-242017-05-10$20.54$21.683.51%13
2017-04-202017-04-21$20.17$20.37-0.83%2
2017-03-282017-04-04$18.50$20.257.13%6
2017-01-052017-02-28$15.12$16.675.88%37
2016-07-262016-08-29$15.30$14.35-3.18%25
2016-06-082016-06-09$15.70$15.290.82%2
2016-04-052016-05-04$17.03$14.84-4.23%22
2015-08-062015-08-07$16.41$16.17-6.35%2
2015-05-112015-07-28$15.97$17.654.88%55
2015-04-292015-05-01$15.50$15.07-1.48%3
2014-06-232014-09-23$15.81$16.696.39%65
2014-03-202014-03-26$15.66$14.20-4.73%5
2014-02-132014-02-26$13.31$16.8718.38%9
2013-09-092013-10-24$10.71$11.54-0.88%34
2013-06-282013-07-17$7.16$8.020.12%13
2013-04-302013-05-08$3.60$3.720.72%7
2013-03-262013-04-02$2.52$2.9611.75%5
2013-01-242013-02-22$2.47$2.41-1.59%21
2012-12-182013-01-14$2.31$2.22-3.14%18
2012-11-232012-12-14$2.14$2.252.36%16
2012-02-232012-04-10$2.30$2.16-2.06%33
2012-02-212012-02-22$2.30$2.28-1.08%2