Strategy Zoo / S1644

LongTermTrend_V1644

ARCHIVEDhybrid

llmReduced base position to 0.6 to lower risk; tightened long filters to require short-term trend (close>50SMA and positive 50SMA slope) plus either price above 200SMA or strong 20d return; raised long-term drawdown floor (cumret_252d>-0.2) and require recent day not deeply negative and above-average volume; improved exits: combined daily stop, 20d momentum stop, peak drawdown stop, and exit when price falls below 50SMA; added regime gates to only trade in UPTREND / MEDIUM_VOLATILITY / NORMAL bubble to reduce overfitting and avoid adverse regimes.

Fitness
0.3137
Generation
76
Complexity
15
Created
2026-10-15

Lineage

Parents (1)
LongTermTrend_V1411S1411 · gen 65ELITEllm

changed ret_1d threshold -0.0578 -> -0.0437

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1644  [hybrid]
if flat and (((close > sma_200 or ret_20d > 0.06) and close > sma_50 and sma_50_slope > 0.0) and cumret_252d > -0.2 and ret_1d > -0.03 and rel_volume > 1.0):
    position = 0.6
if long and (ret_1d < -0.06 or ret_20d < -0.02 or drawdown > 0.12 or close < sma_50):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR5.9%21.9%0.6%7.7%
Total Return58.1%81.3%2.3%198.4%
Sharpe0.410.900.120.47
Sortino0.360.760.090.39
Calmar0.130.620.020.16
Volatility17.7%25.8%18.1%19.7%
Max DD-46.8%-35.3%-30.0%-46.8%
Win Rate30.8%44.0%34.8%35.0%
Avg Win9.8%13.7%9.3%11.6%
Avg Loss-3.0%-5.1%-4.4%-3.8%
Payoff3.292.702.143.08
Expectancy1.0%3.2%0.4%1.6%
Profit Factor1.462.121.141.66
Trades522523100
Avg Holding Days13.511.611.012.7
Turnover7.910.07.38.1
Exposure20.1%21.0%14.5%18.9%

Growth of $100

LongTermTrend_V1644 vs TSLA Buy & Hold
LongTermTrend_V1644 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.7%-0.06-9.4%3
20177.6%0.55-16.3%10
2018-25.1%-1.74-25.9%7
20193.0%0.28-15.3%4
2020120.1%2.30-30.0%11
202119.9%1.07-13.1%7
2022-31.6%-2.48-31.5%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 testDOWNTREND2780.0%0.000%
hidden testEXPENSIVE8364.4%2.0046%
hidden testEXTREME4882.8%2.5536%
hidden testHIGH VOLATILITY254-8.8%-0.3814%
hidden testLOW VOLATILITY44519.7%1.6113%
hidden testMEDIUM VOLATILITY250-17.6%-0.8518%
hidden testNORMAL818-8.8%-0.6110%
hidden testSIDEWAYS300-18.5%-1.577%
hidden testUPTREND37120.7%0.7731%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE31117.2%0.7239%
trainEXTREME100206.3%4.9847%
trainHIGH VOLATILITY69913.6%0.5816%
trainLOW VOLATILITY74519.0%1.4627%
trainMEDIUM VOLATILITY568-15.9%-1.1215%
trainNORMAL1,601-7.1%-0.5515%
trainSIDEWAYS592-18.9%-1.846%
trainUPTREND90228.7%1.1541%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE138-13.4%-0.4522%
validationEXTREME144146.5%3.5434%
validationHIGH VOLATILITY25818.1%0.5316%
validationLOW VOLATILITY18320.0%1.4130%
validationMEDIUM VOLATILITY31529.1%1.2820%
validationNORMAL474-3.7%-0.2217%
validationSIDEWAYS206-19.5%-1.526%
validationUPTREND42550.6%1.5334%

Trades (full period)

100 trades
EntryExitEntry PxExit PxReturnDays
2026-07-072026-07-08$402.90$394.06-2.53%2
2026-05-142026-06-08$443.30$408.95-7.47%17
2025-12-042026-01-05$454.53$451.67-1.16%21
2025-08-252025-11-14$346.60$404.3511.23%59
2025-07-292025-07-30$321.20$319.04-0.93%2
2025-07-242025-07-25$305.30$316.06-5.04%2
2025-06-242025-06-26$340.47$325.78-3.77%3
2025-06-162025-06-17$329.13$316.350.58%2
2025-06-102025-06-12$326.09$319.113.35%3
2025-05-212025-06-06$334.62$295.14-10.46%12
2025-01-312025-02-04$404.60$392.21-2.59%3
2025-01-212025-01-22$424.07$415.11-0.46%2
2024-12-202025-01-03$421.06$410.44-7.98%9
2024-11-142024-12-19$311.18$436.1719.19%25
2024-10-252024-11-13$269.19$330.2415.37%14
2024-09-112024-10-14$228.13$219.16-2.07%24
2024-09-062024-09-09$210.73$216.27-5.18%2
2024-08-262024-08-27$213.21$209.21-2.06%2
2024-07-152024-07-25$252.64$220.25-7.86%9
2024-06-272024-07-12$197.42$248.2313.31%11
2023-07-242023-08-02$269.06$254.110.18%8
2023-07-202023-07-21$262.90$260.02-5.96%2
2023-05-312023-06-27$203.93$250.2111.59%19
2022-09-152022-09-23$303.75$275.33-2.89%7
2022-08-092022-08-29$283.33$284.82-0.51%15
2022-08-022022-08-08$300.59$290.42-1.90%5
2022-05-052022-05-06$291.09$288.55-5.11%2
2022-04-052022-04-27$363.75$293.84-14.61%16
2022-01-132022-01-14$343.85$349.87-4.17%2
2022-01-042022-01-07$383.20$342.32-6.97%4
2021-12-272021-12-29$364.65$362.061.09%3
2021-11-112021-12-01$354.50$365.004.27%14
2021-07-302021-11-10$229.07$355.9828.94%73
2021-07-272021-07-28$214.93$215.66-1.29%2
2021-02-182021-02-19$262.46$260.43-0.93%2
2021-01-262021-02-11$294.36$270.55-5.24%13
2021-01-112021-01-12$270.40$283.15-4.81%2
2020-12-112020-12-22$203.33$213.452.21%8
2020-11-192020-12-10$166.42$209.0214.10%15
2020-11-042020-11-05$140.33$146.03-0.53%2
2020-09-252020-09-28$135.78$140.402.90%2
2020-09-162020-09-24$147.25$129.26-9.46%7
2020-09-082020-09-09$110.07$122.09-12.75%2
2020-08-132020-09-04$108.07$139.4418.14%17
2020-06-022020-07-27$58.77$102.6432.68%39
2020-03-042020-03-05$49.97$48.300.20%2
2020-02-072020-02-25$49.87$53.336.76%12
2019-11-262020-02-06$21.93$49.9362.14%49
2019-10-252019-11-25$21.88$22.426.64%22
2019-09-132019-09-25$16.35$15.25-5.67%9
2019-08-012019-08-08$15.59$15.89-2.14%6
2019-07-252019-07-26$15.25$15.20-8.28%2
2018-12-202018-12-21$21.03$21.32-3.29%2
2018-11-272018-12-19$22.93$22.20-1.59%16
2018-08-032018-08-20$23.21$20.56-7.60%12
2018-06-122018-07-05$22.85$20.61-3.80%17
2018-03-132018-03-15$22.79$21.71-3.41%3
2018-02-232018-03-02$23.47$22.34-2.75%6
2018-01-182018-02-09$22.97$20.69-5.59%17
2017-10-112017-10-12$23.64$23.71-0.29%2
2017-10-052017-10-10$23.69$23.71-2.15%4
2017-09-182017-09-26$25.67$23.02-5.68%7
2017-08-042017-08-21$23.79$22.52-0.01%12
2017-05-302017-07-06$22.34$20.590.45%27
2017-03-272017-05-24$18.01$20.689.19%42
2017-03-172017-03-20$17.43$17.46-0.25%2
2017-03-152017-03-16$17.05$17.47-0.65%2
2017-02-272017-02-28$16.42$16.67-2.63%2
2016-12-282017-02-24$14.65$17.139.74%40
2016-08-242016-08-25$14.84$14.73-0.71%2
2016-07-262016-08-18$15.30$14.90-1.87%18
2016-03-282016-05-03$15.35$15.493.67%27
2015-12-312016-01-05$16.00$14.90-3.80%3
2015-08-062015-08-07$16.41$16.17-5.45%2
2015-07-292015-08-03$17.59$17.330.18%4
2015-04-292015-07-28$15.50$17.655.91%63
2014-10-072014-10-08$17.30$17.29-0.36%2
2014-09-172014-09-23$17.43$16.69-2.58%5
2014-08-042014-09-16$15.90$17.385.33%31
2014-07-312014-08-01$14.89$15.55-1.59%2
2014-07-292014-07-30$15.00$15.26-0.07%2
2014-06-242014-07-16$15.50$14.48-4.56%16
2014-04-032014-04-04$15.03$14.15-1.39%2
2014-03-312014-04-01$13.90$14.46-1.23%2
2014-01-282014-03-26$11.89$14.2017.59%41
2013-11-052013-11-07$11.79$9.32-8.31%3
2013-10-232013-10-24$10.97$11.54-2.58%2
2013-10-072013-10-22$12.20$11.44-2.81%12
2013-07-182013-10-03$7.94$11.5528.47%55
2013-07-022013-07-17$7.85$8.02-4.00%11
2013-05-092013-06-03$4.63$6.1741.81%17
2013-04-122013-05-08$2.92$3.7215.83%19
2013-03-262013-04-04$2.52$2.805.83%7
2013-02-252013-02-26$2.29$2.30-2.99%2
2013-01-152013-02-22$2.26$2.413.50%27
2012-11-202013-01-10$2.20$2.241.31%35
2012-08-242012-08-27$1.97$1.89-2.52%2
2012-07-232012-07-24$2.04$1.99-2.25%2
2012-04-092012-04-10$2.21$2.16-2.43%2
2012-02-232012-04-05$2.30$2.301.54%31