Strategy Zoo / S1712

LongTermTrend_V1712

ARCHIVEDhybrid

llmSimplified and de-duplicated entry rules; require either price > sma_50 with positive sma_50_slope OR strong 20d return. Added filters: less negative 252d cumulative drawdown, not far below 20SMA, and avoid very high volatility (vol_pctile). Tightened exit: earlier 20d drawdown cut (-8%) and exit on close < sma_50. Added regime gates: only trade in UPTREND and normal/low-medium volatility (avoid bubble/very high vol). Reduced base position to 0.8 to lower risk.

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

Lineage

Parents (1)
LongTermTrend_V1322S1322 · gen 61ELITEllm

entry = LongTermTrend_V1319 AND PriceMomentum_V1300

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1712  [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 sma_50_slope > 0.0) or ret_20d > 0.06) and cumret_252d > -0.15 and dist_sma_20 > -0.03 and vol_pctile < 0.85):
    position = 0.8
if long and (ret_20d < -0.08 or close < sma_50):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-1.3%-8.7%-4.2%-3.6%
Total Return-10.3%-24.0%-14.8%-41.9%
Sharpe-0.05-0.48-0.19-0.19
Sortino-0.03-0.23-0.08-0.09
Calmar-0.04-0.18-0.12-0.06
Volatility12.6%16.3%15.8%14.3%
Max DD-36.1%-49.5%-33.9%-57.0%
Win Rate33.3%16.7%38.9%31.7%
Avg Win5.6%19.0%6.1%7.2%
Avg Loss-3.2%-5.7%-4.9%-4.3%
Payoff1.773.311.231.68
Expectancy-0.2%-1.6%-0.7%-0.6%
Profit Factor0.890.660.780.78
Trades30121860
Avg Holding Days12.010.46.810.1
Turnover6.06.47.66.5
Exposure13.1%12.0%8.8%11.8%

Growth of $100

LongTermTrend_V1712 vs TSLA Buy & Hold
LongTermTrend_V1712 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
20177.3%1.03-4.5%7
2018-18.1%-1.73-18.0%3
20194.6%0.58-7.1%2
20200.0%0.000.0%0
202114.3%0.71-24.1%4
2022-33.5%-2.26-35.4%7

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.0%2.442%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-25.2%-1.492%
hidden testLOW VOLATILITY4456.3%0.4712%
hidden testMEDIUM VOLATILITY2513.1%0.1710%
hidden testNORMAL819-6.9%-0.4210%
hidden testSIDEWAYS300-23.8%-1.762%
hidden testUPTREND37111.6%0.5321%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE31110.1%1.792%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY699-3.4%-0.331%
trainLOW VOLATILITY74512.9%0.8727%
trainMEDIUM VOLATILITY568-14.7%-1.2310%
trainNORMAL1,601-2.7%-0.1916%
trainSIDEWAYS592-7.3%-1.281%
trainUPTREND9023.5%0.1929%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-13.3%-1.111%
validationLOW VOLATILITY18312.6%0.9128%
validationMEDIUM VOLATILITY315-15.1%-0.7511%
validationNORMAL474-12.4%-0.6019%
validationSIDEWAYS206-36.2%-2.373%
validationUPTREND4253.7%0.1920%

Trades (full period)

60 trades
EntryExitEntry PxExit PxReturnDays
2026-07-012026-07-06$425.30$419.77-5.30%3
2026-05-292026-06-01$435.79$415.88-1.30%2
2026-01-062026-01-07$432.96$431.41-3.47%2
2025-12-042026-01-05$454.53$451.67-1.63%21
2025-09-122025-09-15$395.94$410.045.72%2
2025-09-042025-09-05$338.53$350.840.90%2
2025-07-312025-08-01$308.27$302.63-2.86%2
2025-07-292025-07-30$321.20$319.04-1.24%2
2025-07-212025-07-25$328.49$316.06-6.05%5
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-192024-09-20$243.92$238.255.72%2
2024-09-052024-09-09$230.17$216.27-3.25%3
2024-07-032024-07-12$246.39$248.233.32%7
2024-01-032024-01-10$238.45$233.94-4.50%6
2023-06-052023-08-03$217.61$259.3214.96%42
2022-09-152022-09-23$303.75$275.33-3.86%7
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-05-052022-05-06$291.09$288.55-6.82%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-272022-01-03$364.65$399.93-0.92%6
2021-12-082021-12-14$356.32$319.50-6.64%5
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-10-182017-10-20$23.98$23.01-1.04%3
2017-10-112017-10-17$23.64$23.72-1.28%5
2017-03-242017-03-28$17.54$18.504.67%3
2017-03-202017-03-22$17.46$17.00-3.46%3
2017-03-152017-03-16$17.05$17.47-0.86%2
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-052015-08-07$18.01$16.17-6.18%3
2015-07-292015-08-04$17.59$17.75-1.61%5
2015-05-112015-07-28$15.97$17.655.51%55
2015-04-292015-05-01$15.50$15.07-1.69%3
2014-10-072014-10-10$17.30$15.79-1.27%4
2014-06-232014-09-23$15.81$16.697.19%65
2013-03-262013-04-02$2.52$2.9613.44%5
2013-03-062013-03-18$2.51$2.34-3.08%9
2013-02-152013-02-22$2.47$2.41-6.61%5
2013-02-122013-02-14$2.53$2.55-0.10%3
2013-01-152013-01-24$2.26$2.476.38%7
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