Strategy Zoo / S0763

LongTermTrend_V0763

ARCHIVEDhybrid

llmReduced base position to 0.6 to lower drawdown risk; added trend regime gate (UPTREND) and limited to LOW/MEDIUM volatility and NORMAL bubble to improve robustness; entry strengthened to require sma_50>sma_200, positive sma_50_slope and price>k sma_50 plus momentum/breakout or recent return to avoid overfitting to a single ret_20d threshold; added vol_pctile filter to avoid extreme volatility entries; improved exit with multi-condition (20d loss, price under sma_50, or negative macd_hist) for better early stops; added position scaling rules by vol_pctile and proximity to 52w high.

Fitness
0.2463
Generation
35
Complexity
16
Created
2026-09-26

Lineage

Parents (1)
LongTermTrend_V0605S0605 · gen 28ARCHIVEDllm

entry from LongTermTrend_V0323, exit from PriceMomentum_V0557

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0763  [hybrid]
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
if flat and ((sma_50 > sma_200 and sma_50_slope > 0.0 and close > sma_50) and (ret_20d > 0.05 or breakout_20 > 0.0 or momentum_60 > 0.0) and cumret_252d > -0.2 and vol_pctile < 0.85):
    position = 0.6
if long and (ret_20d < -0.08 or close < sma_50 or macd_hist < 0.0):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-3.2%24.6%-3.4%2.0%
Total Return-22.7%93.2%-12.2%33.4%
Sharpe-0.231.33-0.310.22
Sortino-0.151.20-0.140.15
Calmar-0.101.05-0.220.06
Volatility11.1%17.7%9.8%12.5%
Max DD-33.4%-23.4%-15.7%-35.4%
Win Rate35.3%50.0%51.2%41.7%
Avg Win2.2%4.4%1.5%2.8%
Avg Loss-1.5%-1.7%-2.1%-1.7%
Payoff1.412.640.701.69
Expectancy-0.2%1.4%-0.3%0.2%
Profit Factor0.772.640.731.21
Trades1335443230
Avg Holding Days3.24.23.03.5
Turnover20.121.613.918.8
Exposure9.2%13.6%5.4%9.1%

Growth of $100

LongTermTrend_V0763 vs TSLA Buy & Hold
LongTermTrend_V0763 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-6.8%-1.84-6.8%9
2017-5.9%-0.40-13.3%29
2018-4.5%-1.16-5.4%4
20194.1%0.60-6.0%7
202090.7%2.91-7.2%21
202113.2%0.76-15.1%24
2022-10.6%-1.47-10.6%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 testDOWNTREND2720.0%0.000%
hidden testEXPENSIVE8315.0%0.8919%
hidden testEXTREME4820.5%1.0811%
hidden testHIGH VOLATILITY254-2.9%-0.411%
hidden testLOW VOLATILITY4325.1%0.636%
hidden testMEDIUM VOLATILITY250-17.2%-1.239%
hidden testNORMAL805-6.3%-0.804%
hidden testSIDEWAYS293-3.9%-0.860%
hidden testUPTREND371-4.5%-0.3013%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE3116.4%0.3221%
trainEXTREME10027.7%1.8917%
trainHIGH VOLATILITY6990.4%0.041%
trainLOW VOLATILITY7450.6%0.0517%
trainMEDIUM VOLATILITY568-10.5%-0.899%
trainNORMAL1,601-6.3%-0.776%
trainSIDEWAYS592-0.0%-0.650%
trainUPTREND902-5.8%-0.3520%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13825.4%1.1030%
validationEXTREME144106.2%4.3414%
validationHIGH VOLATILITY25816.8%1.042%
validationLOW VOLATILITY18316.7%1.5518%
validationMEDIUM VOLATILITY31533.0%1.5121%
validationNORMAL474-2.2%-0.179%
validationSIDEWAYS206-6.3%-1.130%
validationUPTREND42544.9%1.9324%

Trades (full period)

latest 100 of 230
EntryExitEntry PxExit PxReturnDays
2026-01-122026-01-13$448.96$447.200.41%2
2026-01-062026-01-07$432.96$431.41-2.60%2
2025-12-312026-01-02$449.72$438.07-0.74%2
2025-12-042025-12-30$454.53$454.431.72%18
2025-11-122025-11-13$430.60$401.99-1.35%2
2025-11-102025-11-11$445.23$439.622.07%2
2025-11-062025-11-07$445.91$429.52-2.22%2
2025-11-042025-11-05$444.26$462.07-3.21%2
2025-10-312025-11-03$456.56$468.372.12%2
2025-10-292025-10-30$461.51$440.100.01%2
2025-10-272025-10-28$452.42$460.552.47%2
2025-10-232025-10-24$448.98$433.721.25%2
2025-10-212025-10-22$442.60$438.97-0.77%2
2025-10-172025-10-20$439.31$447.431.36%2
2025-10-152025-10-16$435.15$428.750.71%2
2025-10-132025-10-14$435.90$429.243.13%2
2025-10-092025-10-10$435.54$413.49-0.55%2
2025-10-072025-10-08$433.09$438.69-2.79%2
2025-09-172025-10-06$425.86$453.251.18%14
2025-07-292025-07-30$321.20$319.04-0.93%2
2025-07-212025-07-25$328.49$316.06-4.53%5
2025-01-312025-02-03$404.60$383.680.53%2
2024-12-112024-12-23$424.77$430.603.09%9
2024-10-092024-10-10$241.05$238.77-0.97%2
2024-10-072024-10-08$240.83$244.50-2.34%2
2024-10-032024-10-04$240.66$250.08-2.13%2
2024-09-162024-09-20$226.78$238.253.45%5
2024-09-062024-09-09$210.73$216.27-5.18%2
2023-08-072023-08-08$251.45$249.70-0.69%2
2023-08-032023-08-04$259.32$253.861.11%2
2023-08-012023-08-02$261.07$254.11-1.55%2
2023-07-282023-07-31$266.44$267.432.40%2
2023-07-262023-07-27$264.35$255.71-0.33%2
2023-07-242023-07-25$269.06$265.281.96%2
2023-07-202023-07-21$262.90$260.02-5.96%2
2023-07-182023-07-19$293.34$291.260.49%2
2023-07-142023-07-17$281.38$290.380.63%2
2023-07-122023-07-13$271.99$277.900.37%2
2023-07-102023-07-11$269.61$269.79-1.17%2
2023-07-052023-07-07$282.48$274.43-0.82%3
2023-06-302023-07-03$261.77$279.820.87%2
2023-06-282023-06-29$256.24$257.501.33%2
2023-06-262023-06-27$241.05$250.21-3.75%2
2022-05-052022-05-06$291.09$288.55-5.11%2
2022-04-252022-04-26$332.67$292.14-0.54%2
2022-04-212022-04-22$336.26$335.021.82%2
2022-04-192022-04-20$342.72$325.731.30%2
2022-04-142022-04-18$328.33$334.76-2.31%2
2022-04-122022-04-13$328.98$340.790.56%2
2022-04-052022-04-11$363.75$325.31-6.48%5
2021-12-272022-01-03$364.65$399.93-0.68%6
2021-12-102021-12-13$339.01$322.140.67%2
2021-12-082021-12-09$356.32$334.600.86%2
2021-12-062021-12-07$336.34$350.58-0.47%2
2021-12-022021-12-03$361.53$338.32-0.69%2
2021-11-302021-12-01$381.59$365.000.29%2
2021-11-262021-11-29$360.64$379.00-1.95%2
2021-11-232021-11-24$369.68$372.00-2.60%2
2021-10-122021-11-10$268.57$355.9817.18%22
2021-10-082021-10-11$261.83$263.98-0.73%2
2021-09-282021-10-07$259.19$264.54-0.77%8
2021-09-242021-09-27$258.13$263.791.53%2
2021-09-222021-09-23$250.65$251.210.90%2
2021-08-312021-09-21$245.24$246.46-0.14%15
2021-02-222021-02-23$238.17$232.95-5.25%2
2021-02-182021-02-19$262.46$260.43-0.93%2
2021-02-162021-02-17$265.41$266.05-1.58%2
2021-02-112021-02-12$270.55$272.040.39%2
2021-02-092021-02-10$283.15$268.27-1.09%2
2021-02-052021-02-08$284.08$287.810.04%2
2021-02-032021-02-04$284.90$283.33-1.36%2
2021-02-012021-02-02$279.94$290.933.38%2
2021-01-282021-01-29$278.48$264.51-2.11%2
2021-01-262021-01-27$294.36$288.050.04%2
2021-01-052021-01-25$245.04$293.609.48%14
2020-12-312021-01-04$235.22$243.260.82%2
2020-12-292020-12-30$222.00$231.590.09%2
2020-12-242020-12-28$220.59$221.231.35%2
2020-12-182020-12-23$231.67$215.33-1.45%4
2020-11-192020-12-17$166.42$218.6316.23%20
2020-11-062020-11-10$143.32$136.79-2.43%3
2020-11-042020-11-05$140.33$146.03-0.53%2
2020-10-272020-10-28$141.56$135.340.51%2
2020-10-232020-10-26$140.21$140.09-0.85%2
2020-10-212020-10-22$140.88$141.93-0.02%2
2020-10-132020-10-20$148.88$140.65-1.65%6
2020-08-312020-09-01$166.11$158.357.42%2
2020-08-262020-08-27$143.54$149.253.73%2
2020-08-122020-08-13$103.65$108.077.75%2
2020-08-102020-08-11$94.57$91.63-1.53%2
2020-07-022020-07-06$80.58$91.444.65%2
2020-06-302020-07-01$71.99$74.644.07%2
2020-06-262020-06-29$63.98$67.29-1.72%2
2020-06-022020-06-25$58.77$65.734.30%18
2020-05-292020-06-01$55.67$59.872.05%2
2020-05-272020-05-28$54.68$53.72-0.02%2
2019-12-132020-01-31$23.89$43.3741.98%33
2019-12-112019-12-12$23.51$23.980.54%2
2019-12-092019-12-10$22.64$23.260.53%2
2019-12-052019-12-06$22.02$22.39-0.60%2