Strategy Zoo / S1646

LongTermTrend_V1646

ARCHIVEDhybrid

llmRemoved redundant ret_20d checks, tightened regime gating to only UPTREND and non-HIGH volatility, added momentum/volume filters (macd_hist, sma_50, rel_volume, rsi) and a more conservative cumulative return floor, replaced single stop with multi-exit (stop-loss OR SMA50 breakdown OR drawdown threshold), and added volatility-based position scaling (reduce size when vol_pctile high). These changes aim to improve robustness and reduce drawdowns in validation.

Fitness
0.2382
Generation
76
Complexity
20
Created
2026-10-15

Lineage

Parents (1)
LongTermTrend_V1343S1343 · gen 61ELITEllm

changed cumret_252d threshold -0.1997 -> -0.4102

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1646  [hybrid]
require regime.trend in ['UPTREND']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL', 'EXPENSIVE']
if flat and (((close > sma_200 and sma_200_slope > 0.0) or ret_20d > 0.08 or (macd_hist > 0.0 and close > sma_50)) and ret_20d > 0.03 and cumret_252d > -0.2 and rsi_14 < 70.0 and rel_volume > 0.8):
    position = 1.0
if long and (ret_20d < -0.1003 or close < sma_50 or drawdown < -0.06):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR0.5%15.3%-2.0%2.7%
Total Return4.2%53.3%-7.4%47.9%
Sharpe0.110.99-0.130.25
Sortino0.060.65-0.050.13
Calmar0.020.82-0.140.09
Volatility15.7%15.7%11.0%14.6%
Max DD-29.8%-18.6%-14.1%-31.1%
Win Rate43.3%50.0%46.4%45.9%
Avg Win4.4%4.6%3.1%4.1%
Avg Loss-2.9%-1.6%-3.1%-2.6%
Payoff1.482.801.011.57
Expectancy0.2%1.5%-0.2%0.5%
Profit Factor1.132.800.871.33
Trades603428122
Avg Holding Days4.22.92.43.4
Turnover15.022.714.916.5
Exposure9.5%8.6%4.1%7.9%

Growth of $100

LongTermTrend_V1646 vs TSLA Buy & Hold
LongTermTrend_V1646 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-0.6%-0.14-4.0%7
20175.0%0.37-9.0%10
2018-16.6%-1.60-16.5%6
2019-1.2%-0.90-1.8%3
202032.8%1.61-6.6%6
202113.9%0.82-15.3%22
2022-2.1%-0.25-7.5%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 testEXPENSIVE832.1%0.0817%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-0.2%-1.410%
hidden testLOW VOLATILITY4450.2%0.025%
hidden testMEDIUM VOLATILITY250-5.6%-0.367%
hidden testNORMAL818-1.9%-0.223%
hidden testSIDEWAYS3000.8%0.690%
hidden testUPTREND371-4.3%-0.2510%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE31132.5%1.2826%
trainEXTREME10011.6%1.551%
trainHIGH VOLATILITY69910.1%0.641%
trainLOW VOLATILITY7457.4%0.4918%
trainMEDIUM VOLATILITY568-16.0%-0.989%
trainNORMAL1,601-4.9%-0.367%
trainSIDEWAYS592-3.3%-0.570%
trainUPTREND9026.0%0.2621%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13875.6%2.5328%
validationEXTREME14425.9%1.851%
validationHIGH VOLATILITY2583.6%0.960%
validationLOW VOLATILITY183-17.0%-1.5712%
validationMEDIUM VOLATILITY31544.0%1.9613%
validationNORMAL474-5.2%-0.645%
validationSIDEWAYS206-0.1%-1.110%
validationUPTREND42527.5%1.3215%

Trades (full period)

latest 100 of 122
EntryExitEntry PxExit PxReturnDays
2025-12-152025-12-30$475.31$454.43-0.05%11
2025-11-102025-11-11$445.23$439.623.45%2
2025-11-062025-11-07$445.91$429.52-3.69%2
2025-11-032025-11-05$468.37$462.07-2.89%3
2025-10-292025-10-31$461.51$456.56-4.63%3
2025-10-242025-10-27$433.72$452.42-3.60%2
2025-10-202025-10-21$447.43$442.601.65%2
2025-10-132025-10-14$435.90$429.245.21%2
2025-10-072025-10-08$433.09$438.69-4.64%2
2025-10-032025-10-06$429.83$453.25-1.61%2
2025-09-262025-09-29$440.40$443.213.81%2
2025-09-122025-09-15$395.94$410.047.15%2
2025-09-042025-09-05$338.53$350.841.13%2
2025-06-042025-06-05$332.05$284.70-3.75%2
2025-06-022025-06-03$342.69$344.27-1.29%2
2025-05-292025-05-30$358.43$346.460.23%2
2025-05-222025-05-23$341.04$339.341.72%2
2024-10-102024-10-11$238.77$217.80-1.14%2
2024-10-072024-10-08$240.83$244.50-3.90%2
2024-10-032024-10-04$240.66$250.08-3.55%2
2024-09-252024-09-26$257.02$254.220.88%2
2024-09-232024-09-24$250.00$254.274.73%2
2024-09-052024-09-06$230.17$210.734.70%2
2024-01-032024-01-04$238.45$237.93-4.21%2
2023-07-262023-07-27$264.35$255.71-0.55%2
2023-07-172023-07-18$290.38$293.343.00%2
2023-06-282023-06-29$256.24$257.502.21%2
2023-06-262023-06-27$241.05$250.21-6.25%2
2022-09-202022-09-21$308.73$300.80-0.31%2
2022-08-162022-08-17$306.56$304.00-1.09%2
2022-04-132022-04-14$340.79$328.333.39%2
2022-04-082022-04-11$341.83$325.31-3.20%2
2022-04-062022-04-07$348.59$352.42-4.37%2
2022-01-122022-01-13$368.74$343.853.73%2
2021-11-232021-11-24$369.68$372.00-4.33%2
2021-10-132021-10-14$270.36$272.770.46%2
2021-10-082021-10-11$261.83$263.98-1.22%2
2021-10-052021-10-06$260.20$260.92-0.32%2
2021-10-012021-10-04$258.41$260.51-0.23%2
2021-09-292021-09-30$260.44$258.490.28%2
2021-09-272021-09-28$263.79$259.191.99%2
2021-09-222021-09-23$250.65$251.211.50%2
2021-09-202021-09-21$243.39$246.46-4.06%2
2021-09-162021-09-17$252.33$253.16-0.05%2
2021-09-142021-09-15$248.16$251.940.00%2
2021-09-092021-09-10$251.62$245.42-0.07%2
2021-09-072021-09-08$250.97$251.292.44%2
2021-09-012021-09-02$244.70$244.13-0.42%2
2021-08-302021-08-31$243.64$245.242.46%2
2021-08-242021-08-25$236.16$237.070.11%2
2021-08-192021-08-20$224.49$226.75-2.45%2
2021-08-172021-08-18$221.90$229.66-3.18%2
2021-08-132021-08-16$239.06$228.72-0.90%2
2021-02-012021-02-11$279.94$270.551.23%9
2021-01-122021-01-19$283.15$281.521.65%5
2021-01-042021-01-11$243.26$270.4024.46%6
2020-12-232020-12-24$215.33$220.590.68%2
2020-12-152020-12-22$211.08$213.451.36%6
2020-12-102020-12-14$209.02$213.280.71%3
2020-11-192020-12-08$166.42$216.6331.62%13
2020-10-232020-10-26$140.21$140.09-1.41%2
2020-06-252020-06-29$65.73$67.29-0.31%3
2019-12-132019-12-16$23.89$25.43-0.56%2
2019-12-042019-12-05$22.20$22.02-1.14%2
2019-11-272019-11-29$22.09$22.000.52%2
2018-12-112018-12-18$24.45$22.47-4.77%6
2018-12-072018-12-10$23.86$24.34-1.60%2
2018-12-042018-12-06$23.98$24.200.14%2
2018-11-272018-11-28$22.93$23.19-0.80%2
2018-02-082018-02-09$21.02$20.69-8.82%2
2018-02-012018-02-02$23.28$22.92-1.63%2
2017-10-052017-10-06$23.69$23.79-0.11%2
2017-09-182017-09-25$25.67$23.00-7.75%6
2017-08-042017-08-07$23.79$23.682.63%2
2017-06-302017-07-05$24.11$21.81-2.45%3
2017-06-052017-06-14$23.15$25.3810.40%8
2017-05-162017-05-19$21.13$20.72-1.09%4
2017-05-082017-05-10$20.48$21.683.98%3
2017-04-252017-05-05$20.92$20.56-4.27%9
2017-03-282017-04-04$18.50$20.2510.26%6
2017-02-172017-02-24$18.15$17.13-5.01%5
2016-08-052016-08-08$15.34$15.08-0.45%2
2016-08-032016-08-04$15.05$15.37-0.82%2
2016-08-012016-08-02$15.33$15.15-2.23%2
2016-07-262016-07-27$15.30$15.23-0.42%2
2016-06-082016-06-09$15.70$15.291.17%2
2016-04-132016-04-14$16.97$16.792.50%2
2016-04-112016-04-12$16.66$16.52-0.26%2
2015-08-062015-08-07$16.41$16.17-9.08%2
2015-07-202015-07-22$18.82$17.86-3.06%3
2015-07-012015-07-08$17.94$17.00-0.34%5
2015-06-292015-06-30$17.47$17.88-2.10%2
2015-06-252015-06-26$17.92$17.811.16%2
2015-06-232015-06-24$17.84$17.682.83%2
2015-06-082015-06-09$17.09$17.072.67%2
2014-08-112014-09-16$17.29$17.382.11%26
2014-08-052014-08-06$15.90$16.60-0.21%2
2014-07-152014-07-16$14.64$14.48-3.34%2
2014-07-092014-07-10$14.87$14.631.62%2
2014-07-072014-07-08$14.84$14.60-3.07%2