Strategy Zoo / S1710

LongTermTrend_V1710

ARCHIVEDhybrid

llmStronger trend requirement and relaxed momentum thresholds: require sma_200_slope > 0 for trend leg; lower ret_20d entry threshold to 0.03 and reduce 1y cumret barrier to 0.02 to increase trade frequency. Added volatility and shorter-term momentum filters (vol_pctile < 0.8, sma_50_slope > 0) to avoid entry into high-volatility or weakening setups. Improved exits: multi-condition exit (20d loss < -3%, negative sma_50_slope, or price crossing below sma_50) to cut losses earlier. Added regime gates to prevent trading in high-volatility or bubble states and reduced base position to 0.8 for risk control.

Fitness
0.1508
Generation
79
Complexity
17
Created
2026-10-16

Lineage

Parents (1)
LongTermTrend_V1443S1443 · gen 66ELITEllm

changed sma_200_slope threshold -0.0024 -> -0.0041

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1710  [hybrid]
require regime.trend in ['UPTREND', 'SIDEWAYS']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL']
if flat and (((close > sma_200 and sma_200_slope > 0.0) or ret_20d > 0.085) and ret_20d > 0.03 and cumret_252d > 0.02 and vol_pctile < 0.8 and sma_50_slope > 0.0):
    position = 0.8
if long and (ret_20d < -0.03 or sma_50_slope < -0.0005 or close < sma_50):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-0.4%0.9%-2.7%-0.7%
Total Return-3.1%2.6%-9.7%-10.3%
Sharpe0.030.13-0.140.01
Sortino0.020.06-0.060.01
Calmar-0.010.02-0.12-0.02
Volatility12.3%15.8%13.1%13.3%
Max DD-27.2%-35.0%-22.7%-42.0%
Win Rate42.1%33.3%42.9%40.6%
Avg Win5.8%18.7%7.7%8.3%
Avg Loss-4.2%-6.9%-7.6%-5.5%
Payoff1.382.701.011.50
Expectancy0.0%1.6%-1.1%0.1%
Profit Factor1.001.350.761.02
Trades196732
Avg Holding Days15.719.513.916.0
Turnover3.83.23.03.5
Exposure11.1%11.7%7.6%10.3%

Growth of $100

LongTermTrend_V1710 vs TSLA Buy & Hold
LongTermTrend_V1710 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
20161.5%0.21-10.1%1
20179.8%2.07-0.9%2
2018-14.2%-1.23-14.9%3
20195.9%0.73-5.9%1
20200.0%0.000.0%0
202126.5%1.20-18.7%3
2022-19.0%-1.16-22.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 testEXPENSIVE8334.2%2.442%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-11.4%-1.000%
hidden testLOW VOLATILITY4453.4%0.2513%
hidden testMEDIUM VOLATILITY251-1.5%-0.115%
hidden testNORMAL819-5.6%-0.429%
hidden testSIDEWAYS300-17.7%-1.277%
hidden testUPTREND3719.6%0.5814%
trainDOWNTREND518-0.3%-0.790%
trainEXPENSIVE3117.0%1.381%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY699-1.9%-0.190%
trainLOW VOLATILITY74515.5%1.0823%
trainMEDIUM VOLATILITY568-16.8%-1.428%
trainNORMAL1,601-0.9%-0.0714%
trainSIDEWAYS592-8.1%-1.024%
trainUPTREND9026.3%0.3722%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-6.5%-0.661%
validationLOW VOLATILITY18322.3%1.6728%
validationMEDIUM VOLATILITY315-2.5%-0.1211%
validationNORMAL4743.4%0.1719%
validationSIDEWAYS206-15.1%-1.037%
validationUPTREND42511.1%0.6018%

Trades (full period)

32 trades
EntryExitEntry PxExit PxReturnDays
2026-05-142026-06-08$443.30$408.95-9.93%17
2025-12-122026-01-05$458.96$451.67-1.67%15
2025-08-252025-09-15$346.60$410.0412.89%15
2025-06-022025-06-06$342.69$295.14-14.50%5
2025-05-222025-05-28$341.04$356.906.58%4
2024-01-032024-01-10$238.45$233.94-4.50%6
2023-06-132023-08-02$258.71$254.113.73%35
2022-08-022022-08-29$300.59$284.82-2.53%20
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-10$334.60$339.01-5.03%2
2021-11-232021-12-01$369.68$365.00-0.96%6
2021-08-032021-11-10$236.58$355.9834.50%71
2019-11-222019-12-17$22.20$25.275.89%17
2018-11-272018-12-19$22.93$22.20-2.18%16
2018-03-132018-03-15$22.79$21.71-4.53%3
2018-01-222018-02-09$23.44$20.69-8.08%15
2017-01-312017-02-03$16.80$16.760.14%4
2017-01-062017-01-25$15.27$16.969.57%13
2016-03-282016-05-04$15.35$14.841.54%28
2015-12-302016-01-05$15.87$14.90-4.79%4
2015-08-062015-08-07$16.41$16.17-7.26%2
2015-04-292015-07-28$15.50$17.657.77%63
2015-04-142015-04-21$13.83$13.96-1.88%6
2014-09-192014-09-23$17.29$16.69-4.35%3
2014-08-052014-09-16$15.90$17.385.11%30
2014-06-232014-07-17$15.81$14.36-4.44%18
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-11-282013-01-11$2.22$2.193.33%31
2012-02-232012-04-10$2.30$2.16-2.46%33