Strategy Zoo / S1693

LongTermTrend_V1693

ARCHIVEDhybrid

llmAdded regime gates to avoid high-volatility and bubble regimes; tightened entries to require price > sma_20 (clarified trend filter); replaced single MACD exit with multi-condition exit (MACD < 0 OR price falling below sma_20 OR >12% drawdown) to reduce large losses; introduced volatility-based position scaling (reduce size when vol_pctile>0.75, keep full size when vol_pctile<0.25); lowered base_position to 0.8 to reduce overall risk.

Fitness
0.0947
Generation
78
Complexity
31
Created
2026-10-16

Lineage

Parents (1)
LongTermTrend_V1083S1083 · gen 49ELITEllm

swapped indicator ret_20d -> cumret_252d; removed entry condition: rsi_14 > 34.4934

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1693  [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.0024) or ret_20d > 0.085) and cumret_252d > 1.1509 and dist_sma_50 > -0.0774) or ((macd_hist > 0.0 and close > sma_50) or ((breakout_50 == 1 and rel_volume > 1.5045) or ((macd_hist > 0.0 and close > sma_50) and sma_50 > sma_200)))) and close > sma_20):
    position = 0.8
if long and (macd_hist < 0.0 or close < sma_20 or drawdown < -0.12):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-2.7%1.3%-4.7%-2.4%
Total Return-19.8%3.9%-16.6%-30.5%
Sharpe-0.190.16-0.30-0.14
Sortino-0.110.10-0.19-0.09
Calmar-0.080.05-0.19-0.05
Volatility11.3%12.7%13.0%12.0%
Max DD-36.0%-23.7%-24.4%-44.6%
Win Rate43.0%49.1%42.7%44.2%
Avg Win1.9%1.7%2.2%1.9%
Avg Loss-1.7%-1.5%-1.9%-1.7%
Payoff1.111.201.121.12
Expectancy-0.2%0.1%-0.2%-0.1%
Profit Factor0.831.160.830.89
Trades1145582251
Avg Holding Days3.02.52.32.7
Turnover22.829.334.827.2
Exposure9.1%8.9%8.7%9.0%

Growth of $100

LongTermTrend_V1693 vs TSLA Buy & Hold
LongTermTrend_V1693 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-4.4%-0.55-7.1%15
20171.2%0.18-4.9%15
2018-6.6%-0.84-10.6%5
20192.3%0.29-7.3%13
20200.0%0.000.0%0
202111.5%0.64-18.2%39
2022-6.8%-0.73-10.6%16

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 testDOWNTREND279-1.7%-1.040%
hidden testEXPENSIVE8333.8%2.442%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-8.7%-0.791%
hidden testLOW VOLATILITY445-2.8%-0.2113%
hidden testMEDIUM VOLATILITY251-1.3%-0.098%
hidden testNORMAL819-8.0%-0.6010%
hidden testSIDEWAYS300-20.5%-1.4115%
hidden testUPTREND3717.7%0.4810%
trainDOWNTREND518-5.8%-1.101%
trainEXPENSIVE3118.8%1.631%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY6993.1%0.390%
trainLOW VOLATILITY7454.5%0.3917%
trainMEDIUM VOLATILITY568-17.2%-1.2010%
trainNORMAL1,601-4.4%-0.3511%
trainSIDEWAYS592-2.5%-0.2112%
trainUPTREND9020.2%0.0112%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-9.4%-1.000%
validationLOW VOLATILITY1834.6%0.4220%
validationMEDIUM VOLATILITY31510.0%0.649%
validationNORMAL4743.3%0.2114%
validationSIDEWAYS206-5.3%-0.5112%
validationUPTREND4256.3%0.4110%

Trades (full period)

latest 100 of 251
EntryExitEntry PxExit PxReturnDays
2026-10-132026-10-14$375.23$367.16-0.75%2
2026-10-092026-10-12$382.70$378.031.48%2
2026-10-072026-10-08$377.81$375.00-0.76%2
2026-07-012026-07-02$425.30$393.450.73%2
2026-05-282026-06-02$442.10$423.74-4.61%4
2026-05-192026-05-20$404.11$417.26-1.31%2
2026-05-122026-05-18$433.45$409.99-4.24%5
2026-05-082026-05-11$428.35$445.003.05%2
2026-04-202026-04-21$392.50$386.42-1.78%2
2025-12-042025-12-30$454.53$454.432.22%18
2025-09-122025-09-15$395.94$410.045.72%2
2025-09-102025-09-11$347.79$368.810.03%2
2025-09-082025-09-09$346.40$346.97-1.17%2
2025-08-292025-09-02$333.87$329.36-2.96%2
2025-08-272025-08-28$349.60$345.98-0.63%2
2025-08-252025-08-26$346.60$351.671.39%2
2025-08-192025-08-20$329.31$323.90-1.56%2
2025-08-152025-08-18$330.56$335.16-1.36%2
2025-08-132025-08-14$339.38$335.58-0.50%2
2025-08-112025-08-12$339.03$340.842.11%2
2025-07-292025-07-30$321.20$319.04-1.24%2
2025-07-232025-07-24$332.56$305.30-0.05%2
2025-07-212025-07-22$328.49$332.11-0.44%2
2025-06-022025-06-03$342.69$344.27-1.03%2
2025-05-272025-05-28$362.89$356.905.39%2
2025-05-222025-05-23$341.04$339.341.37%2
2025-05-122025-05-13$318.38$334.075.23%2
2024-10-032024-10-04$240.66$250.08-2.84%2
2024-10-012024-10-02$258.02$249.02-1.26%2
2024-09-272024-09-30$260.46$261.631.80%2
2024-09-252024-09-26$257.02$254.220.70%2
2024-09-232024-09-24$250.00$254.273.78%2
2024-09-182024-09-19$227.20$243.92-0.40%2
2024-09-162024-09-17$226.78$227.87-1.38%2
2024-09-062024-09-09$210.73$216.27-6.91%2
2024-07-112024-07-12$241.03$248.23-6.91%2
2024-07-092024-07-10$262.33$263.262.81%2
2024-07-052024-07-08$251.52$252.941.50%2
2024-07-022024-07-03$231.26$246.397.99%2
2024-06-282024-07-01$197.88$209.860.03%2
2024-06-262024-06-27$196.37$197.423.69%2
2024-06-242024-06-25$182.58$187.35-0.35%2
2024-06-202024-06-21$181.57$183.01-1.58%2
2024-06-172024-06-18$187.44$184.864.07%2
2024-01-022024-01-03$248.42$238.45-0.18%2
2023-12-282023-12-29$253.18$248.48-2.69%2
2023-12-262023-12-27$256.61$261.441.13%2
2023-12-212023-12-22$254.50$252.542.22%2
2023-12-192023-12-20$257.22$247.141.47%2
2023-12-152023-12-18$253.50$252.080.62%2
2023-12-112023-12-12$239.74$237.01-1.50%2
2023-12-072023-12-08$242.64$243.840.93%2
2023-12-052023-12-06$238.72$239.370.91%2
2023-12-012023-12-04$238.83$235.58-0.58%2
2023-11-292023-11-30$244.14$240.08-1.00%2
2023-11-222023-11-24$234.21$235.45-2.48%2
2023-11-162023-11-17$233.59$234.30-3.20%2
2023-10-122023-10-13$258.87$251.12-1.41%2
2023-10-102023-10-11$263.62$262.991.06%2
2023-10-062023-10-09$260.53$259.67-0.01%2
2023-09-202023-09-21$262.59$255.70-1.33%2
2023-09-182023-09-19$265.28$266.50-2.81%2
2023-09-142023-09-15$276.04$274.391.24%2
2023-09-122023-09-13$267.48$271.30-1.94%2
2023-09-062023-09-07$251.92$251.49-1.58%2
2023-09-012023-09-05$245.01$256.49-4.21%2
2023-08-302023-08-31$256.90$258.08-0.25%2
2023-07-062023-07-07$276.54$274.43-1.84%2
2023-06-232023-06-26$256.60$241.05-2.58%2
2023-06-212023-06-22$259.46$264.61-4.53%2
2023-06-162023-06-20$260.54$274.451.29%2
2023-06-142023-06-15$256.79$255.90-0.75%2
2023-06-122023-06-13$249.83$258.711.62%2
2023-06-082023-06-09$234.86$244.403.50%2
2023-06-062023-06-07$221.31$224.571.20%2
2023-06-022023-06-05$213.97$217.612.32%2
2023-05-312023-06-01$203.93$207.520.94%2
2023-04-052023-04-06$185.52$185.06-3.09%2
2023-04-032023-04-04$194.77$192.58-5.05%2
2023-03-302023-03-31$195.28$207.460.42%2
2023-03-282023-03-29$189.19$193.88-1.25%2
2023-03-242023-03-27$190.41$191.81-0.91%2
2022-09-212022-09-22$300.80$288.59-2.21%2
2022-09-192022-09-20$309.07$308.731.35%2
2022-09-152022-09-16$303.75$303.350.14%2
2022-09-132022-09-14$292.13$302.61-3.39%2
2022-08-182022-08-19$302.87$296.67-0.46%2
2022-08-162022-08-17$306.56$304.00-0.87%2
2022-08-102022-08-11$294.36$286.632.95%2
2022-08-082022-08-09$290.42$283.330.47%2
2022-08-042022-08-05$308.63$288.170.16%2
2022-08-022022-08-03$300.59$307.400.73%2
2022-04-082022-04-11$341.83$325.31-2.56%2
2022-04-042022-04-07$381.82$352.42-2.97%4
2022-03-292022-04-01$366.52$361.53-1.20%4
2022-03-252022-03-28$336.88$363.95-0.42%2
2022-03-232022-03-24$333.04$337.970.25%2
2022-03-212022-03-22$307.05$331.331.23%2
2021-12-282021-12-31$362.82$352.26-1.89%4
2021-11-232021-11-24$369.68$372.00-3.47%2