Strategy Zoo / S0811

LongTermTrend_V0811

ARCHIVEDhybrid

llmAdded explicit uptrend & bubble regime gating; simplified & consolidated entry into three clean branches (trend-follow, volume breakout, momentum) with stronger trend filter (sma_50>sma_200 and positive sma_200_slope). Replaced single MACD exit with composite exit (MACD negative OR price below sma_50 OR sharp 5d loss) to reduce drawdowns. Introduced volatility-based position scaling (reduce exposure when vol_pctile high) and lowered base position to 0.8 to control risk.

Fitness
0.4518
Generation
37
Complexity
18
Created
2026-09-26

Lineage

Parents (1)
LongTermTrend_V0583S0583 · gen 26ARCHIVEDllm

changed rel_volume threshold 1.5045 -> 2.0784

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0811  [hybrid]
if flat and ((close > sma_50 and sma_50 > sma_200 and macd_hist > 0.0 and sma_200_slope > 0.0) or (breakout_50 == 1 and rel_volume > 1.5 and vol_pctile < 0.9) or (ret_20d > 0.05 and cumret_252d > -0.2 and dist_sma_50 > -0.1)):
    position = 0.8
if long and (macd_hist < 0.0 or close < sma_50 or ret_5d < -0.08):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR9.6%49.8%7.1%16.3%
Total Return107.9%236.1%28.9%822.2%
Sharpe0.491.270.400.68
Sortino0.501.360.390.69
Calmar0.181.690.160.31
Volatility25.1%37.2%24.0%27.8%
Max DD-52.2%-29.4%-44.8%-52.2%
Win Rate41.4%51.2%39.0%43.3%
Avg Win5.0%6.1%5.4%5.6%
Avg Loss-2.5%-2.8%-2.7%-2.6%
Payoff2.022.212.022.16
Expectancy0.6%1.8%0.5%1.0%
Profit Factor1.422.321.291.65
Trades1748677337
Avg Holding Days5.44.85.05.2
Turnover35.045.933.436.7
Exposure30.8%34.9%26.8%30.6%

Growth of $100

LongTermTrend_V0811 vs TSLA Buy & Hold
LongTermTrend_V0811 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
201616.0%1.18-12.7%13
201710.8%0.65-11.9%27
2018-12.5%-0.61-22.8%18
2019-13.3%-0.38-38.2%13
2020205.1%2.32-29.4%37
20219.9%0.49-20.4%31
2022-0.1%0.10-14.1%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 testDOWNTREND272-14.4%-0.8118%
hidden testEXPENSIVE8344.8%1.1840%
hidden testEXTREME48120.9%3.2238%
hidden testHIGH VOLATILITY25424.9%0.8723%
hidden testLOW VOLATILITY43232.7%1.6230%
hidden testMEDIUM VOLATILITY250-45.4%-1.8525%
hidden testNORMAL805-0.5%-0.0325%
hidden testSIDEWAYS293-12.3%-0.6827%
hidden testUPTREND37144.7%1.4433%
trainDOWNTREND518-14.1%-1.0811%
trainEXPENSIVE31132.2%1.1347%
trainEXTREME100278.4%4.8766%
trainHIGH VOLATILITY69930.0%0.9028%
trainLOW VOLATILITY74517.3%0.9737%
trainMEDIUM VOLATILITY568-16.2%-0.7726%
trainNORMAL1,601-8.2%-0.4025%
trainSIDEWAYS5920.4%0.0229%
trainUPTREND90235.2%1.0843%
validationDOWNTREND12535.1%2.257%
validationEXPENSIVE13837.7%0.9538%
validationEXTREME144208.3%3.2962%
validationHIGH VOLATILITY25841.5%0.8430%
validationLOW VOLATILITY18310.9%0.6236%
validationMEDIUM VOLATILITY31573.3%2.1838%
validationNORMAL4741.2%0.0526%
validationSIDEWAYS206-8.7%-0.3926%
validationUPTREND42578.1%1.6948%

Trades (full period)

latest 100 of 338
EntryExitEntry PxExit PxReturnDays
2026-09-21—$375.30—2.92%5OPEN
2026-09-092026-09-17$367.81$366.20-2.35%7
2026-09-032026-09-08$376.37$368.16-0.76%3
2026-08-312026-09-02$367.95$357.011.55%3
2026-08-272026-08-28$354.81$348.751.92%2
2026-08-252026-08-26$350.25$345.820.14%2
2026-08-212026-08-24$362.86$348.953.95%2
2026-07-132026-07-14$394.76$396.18-2.71%2
2026-06-032026-06-04$423.70$418.45-0.17%2
2026-05-272026-06-02$440.36$423.74-3.41%5
2026-05-222026-05-26$426.01$433.591.40%2
2026-05-042026-05-21$392.51$417.855.30%14
2026-04-292026-04-30$372.80$381.63-0.84%2
2026-04-202026-04-22$392.50$387.51-3.00%3
2025-12-312026-01-02$449.72$438.07-0.99%2
2025-12-042025-12-30$454.53$454.432.22%18
2025-11-062025-11-07$445.91$429.52-2.96%2
2025-11-032025-11-05$468.37$462.07-2.29%3
2025-10-242025-10-27$433.72$452.42-2.88%2
2025-10-142025-10-15$429.24$435.15-1.38%2
2025-10-092025-10-10$435.54$413.49-0.73%2
2025-10-072025-10-08$433.09$438.69-3.72%2
2025-09-082025-10-06$346.40$453.2517.65%21
2025-09-042025-09-05$338.53$350.840.90%2
2025-08-252025-09-03$346.60$334.09-2.65%7
2025-08-072025-08-22$322.27$340.01-0.09%12
2025-08-052025-08-06$308.72$319.91-0.30%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-042025-06-05$332.05$284.70-3.00%2
2025-04-292025-06-03$292.03$344.2715.63%25
2025-04-102025-04-11$252.40$252.31-5.97%2
2025-01-062025-01-07$411.05$394.36-0.04%2
2025-01-022025-01-03$379.28$410.44-5.02%2
2024-12-302024-12-31$417.41$403.84-2.80%2
2024-12-262024-12-27$454.13$431.66-1.57%2
2024-12-062024-12-24$389.22$462.2813.06%13
2024-12-042024-12-05$357.93$369.491.32%2
2024-12-022024-12-03$357.09$351.422.60%2
2024-11-062024-11-29$288.53$345.1625.46%17
2024-10-092024-10-10$241.05$238.77-1.29%2
2024-10-072024-10-08$240.83$244.50-3.12%2
2024-09-102024-10-04$226.17$250.088.88%19
2024-09-062024-09-09$210.73$216.27-6.91%2
2024-09-042024-09-05$219.41$230.173.18%2
2024-07-312024-08-01$232.07$216.863.23%2
2024-07-292024-07-30$232.10$222.624.31%2
2024-07-252024-07-26$220.25$219.801.42%2
2024-07-232024-07-24$246.38$215.99-1.79%2
2024-06-272024-07-22$197.42$251.5117.20%17
2024-05-142024-05-30$177.55$178.791.91%12
2024-04-302024-05-10$183.28$168.47-9.32%9
2024-04-152024-04-16$161.48$157.11-4.63%2
2024-03-042024-03-05$188.14$180.74-5.88%2
2024-02-292024-03-01$201.88$202.64-0.22%2
2024-02-272024-02-28$199.73$202.04-0.03%2
2023-12-152024-01-02$253.50$248.42-0.94%11
2023-11-292023-12-14$244.14$251.05-2.56%12
2023-11-272023-11-28$236.08$246.720.05%2
2023-11-222023-11-24$234.21$235.45-2.48%2
2023-11-202023-11-21$235.60$241.200.28%2
2023-11-162023-11-17$233.59$234.30-3.20%2
2023-10-062023-10-17$260.53$254.85-2.03%8
2023-09-252023-09-26$246.99$244.120.53%2
2023-09-122023-09-22$267.48$244.88-5.39%9
2023-09-062023-09-07$251.92$251.49-1.58%2
2023-08-302023-09-05$256.90$256.49-3.94%4
2023-07-262023-07-27$264.35$255.71-0.44%2
2023-07-202023-07-21$262.90$260.02-7.94%2
2023-07-182023-07-19$293.34$291.260.65%2
2023-07-142023-07-17$281.38$290.380.84%2
2023-07-122023-07-13$271.99$277.900.49%2
2023-07-102023-07-11$269.61$269.79-1.56%2
2023-07-052023-07-07$282.48$274.43-1.09%3
2023-06-302023-07-03$261.77$279.821.17%2
2023-06-282023-06-29$256.24$257.501.77%2
2023-05-242023-06-27$182.90$250.2123.20%23
2022-09-212022-09-23$300.80$275.33-5.39%3
2022-08-262022-08-29$288.09$284.82-2.31%2
2022-08-242022-08-25$297.10$296.070.01%2
2022-08-222022-08-23$289.91$296.45-1.98%2
2022-08-152022-08-19$309.32$296.670.61%5
2022-07-192022-08-12$245.53$300.0315.11%19
2022-07-142022-07-15$238.31$240.070.27%2
2022-06-272022-06-28$244.92$232.66-0.42%2
2022-04-192022-04-20$342.72$325.731.74%2
2022-04-142022-04-18$328.33$334.76-3.08%2
2022-04-122022-04-13$328.98$340.790.74%2
2022-03-212022-04-11$307.05$325.3110.49%16
2022-01-202022-01-21$332.09$314.63-0.11%2
2022-01-182022-01-19$343.50$331.88-1.61%2
2022-01-122022-01-14$368.74$349.87-2.58%3
2022-01-042022-01-07$383.20$342.32-9.22%4
2021-12-282022-01-03$362.82$399.93-2.88%5
2021-11-262021-11-29$360.64$379.00-2.60%2
2021-11-232021-11-24$369.68$372.00-3.47%2
2021-11-192021-11-22$379.02$385.622.81%2
2021-11-172021-11-18$363.00$365.462.44%2
2021-11-152021-11-16$337.80$351.58-1.71%2