Strategy Zoo / S1015

LongTermTrend_V1015

ARCHIVEDhybrid

llmAdded a volatility gate (vol_pctile < 0.70) to avoid entering during extreme turbulence; set regime gates to require UPTREND / MEDIUM_VOLATILITY / NORMAL bubble to reduce overfitting to non-bull regimes; relaxed and lowered several momentum thresholds (ret_20d and cumret_252d) to improve generalization; tightened volume breakout condition to rel_volume >1.20 (more realistic); enhanced exit to a multi-condition rule (macd_hist negative OR price crossing below sma_50 OR sudden vol spike vol_chg>1.0) for earlier, safer exits; reduced base position from 1.0 to 0.8 to limit drawdown risk.

Fitness
0.3675
Generation
46
Complexity
23
Created
2026-10-01

Lineage

Parents (1)
LongTermTrend_V0521S0521 · gen 24ARCHIVEDllm

entry = LongTermTrend_V0469 OR MACDMomentum_V0272

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1015  [hybrid]
if flat and (vol_pctile < 0.7 and ((((close > sma_200 and sma_200_slope > -0.0024) or ret_20d > 0.06) and ret_20d > 0.04 and cumret_252d > 0.03) or ((breakout_50 == 1 and rel_volume > 1.2) or (macd_hist > 0.0 and close > sma_50 and sma_50 > sma_200)))):
    position = 0.8
if long and (macd_hist < 0.0 or close < sma_50 or vol_chg > 1.0):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-0.3%42.8%-2.4%6.9%
Total Return-2.6%191.5%-8.6%165.5%
Sharpe0.071.38-0.030.42
Sortino0.051.58-0.020.36
Calmar-0.011.24-0.070.19
Volatility18.0%28.8%19.2%21.0%
Max DD-30.2%-34.5%-33.8%-35.9%
Win Rate46.5%52.8%43.9%47.6%
Avg Win2.9%5.6%3.7%3.8%
Avg Loss-2.4%-2.6%-3.0%-2.6%
Payoff1.202.131.231.48
Expectancy0.1%1.7%-0.1%0.5%
Profit Factor1.042.380.961.34
Trades1577257286
Avg Holding Days4.04.54.94.3
Turnover31.638.424.531.1
Exposure19.0%26.3%19.2%20.6%

Growth of $100

LongTermTrend_V1015 vs TSLA Buy & Hold
LongTermTrend_V1015 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
20168.4%0.81-7.1%12
20175.6%0.40-12.1%31
2018-10.0%-1.24-13.5%7
20198.6%0.52-12.1%5
2020189.0%3.11-16.1%22
2021-1.7%0.07-23.2%33
20222.4%0.21-15.5%15

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 testDOWNTREND2753.7%0.485%
hidden testEXPENSIVE8327.7%1.0429%
hidden testEXTREME4851.0%1.9715%
hidden testHIGH VOLATILITY2542.0%0.135%
hidden testLOW VOLATILITY43424.0%1.2926%
hidden testMEDIUM VOLATILITY251-45.7%-1.9622%
hidden testNORMAL808-6.5%-0.3718%
hidden testSIDEWAYS293-23.2%-1.3025%
hidden testUPTREND37114.1%0.5625%
trainDOWNTREND518-5.5%-0.644%
trainEXPENSIVE31115.3%0.6034%
trainEXTREME10035.7%1.8922%
trainHIGH VOLATILITY699-4.5%-0.235%
trainLOW VOLATILITY74514.1%0.8930%
trainMEDIUM VOLATILITY568-8.5%-0.4622%
trainNORMAL1,601-3.6%-0.2216%
trainSIDEWAYS592-3.9%-0.2616%
trainUPTREND9028.6%0.3730%
validationDOWNTREND12535.9%2.306%
validationEXPENSIVE13857.2%1.8134%
validationEXTREME144157.3%3.8522%
validationHIGH VOLATILITY25822.4%0.767%
validationLOW VOLATILITY18314.8%0.7938%
validationMEDIUM VOLATILITY31568.4%2.0836%
validationNORMAL474-1.1%-0.0525%
validationSIDEWAYS206-12.7%-0.7221%
validationUPTREND42566.3%1.8735%

Trades (full period)

latest 100 of 286
EntryExitEntry PxExit PxReturnDays
2026-09-082026-09-17$368.16$366.200.76%8
2026-09-032026-09-04$376.37$354.084.17%2
2026-09-012026-09-02$356.09$357.01-2.74%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-052026-06-08$391.00$408.95-5.40%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-202026-04-22$392.50$387.51-3.00%3
2026-01-022026-01-05$438.07$451.67-2.23%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-132025-10-14$435.90$429.244.17%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-172025-10-06$425.86$453.251.48%14
2025-09-082025-09-16$346.40$421.6213.19%7
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-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-05-122025-06-03$318.38$344.2711.72%16
2024-12-132024-12-24$436.23$462.282.35%8
2024-12-102024-12-12$400.99$418.106.98%3
2024-09-132024-10-04$230.29$250.083.69%16
2024-09-062024-09-09$210.73$216.27-6.91%2
2024-07-092024-07-22$262.33$251.51-4.42%10
2024-07-032024-07-08$246.39$252.946.82%3
2024-06-272024-07-02$197.42$231.265.32%4
2024-01-032024-01-04$238.45$237.93-3.37%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-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-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-062023-07-07$276.54$274.43-1.84%2
2023-07-032023-07-05$279.82$282.485.35%2
2023-06-292023-06-30$257.50$261.770.23%2
2023-06-052023-06-27$217.61$250.219.98%16
2022-09-122022-09-23$304.42$275.33-3.08%10
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-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-132022-01-14$343.85$349.87-5.55%2
2022-01-112022-01-12$354.80$368.740.31%2
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-12-092021-12-10$334.60$339.01-5.03%2
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-10-292021-11-11$371.33$354.50-0.59%10
2021-10-272021-10-28$345.95$359.011.37%2
2021-10-252021-10-26$341.62$339.489.96%2
2021-10-122021-10-22$268.57$303.2310.04%9
2021-10-082021-10-11$261.83$263.98-0.98%2
2021-09-282021-10-07$259.19$264.54-1.03%8
2021-09-242021-09-27$258.13$263.792.04%2
2021-09-222021-09-23$250.65$251.211.20%2
2021-08-312021-09-21$245.24$246.46-0.21%15
2021-08-252021-08-26$237.07$233.720.15%2
2021-08-232021-08-24$235.43$236.162.90%2
2021-08-192021-08-20$224.49$226.75-1.96%2
2021-08-032021-08-17$236.58$221.90-2.79%11
2021-07-212021-07-22$218.43$216.42-0.79%2
2021-07-162021-07-19$214.74$215.41-0.94%2
2021-07-132021-07-15$222.85$216.87-3.94%3
2021-06-282021-07-12$229.57$228.57-1.92%10
2021-06-242021-06-25$226.61$223.962.67%2
2021-06-222021-06-23$207.90$218.860.21%2
2021-06-182021-06-21$207.77$206.940.71%2
2021-06-142021-06-15$205.90$199.790.86%2
2021-05-032021-05-04$228.30$224.53-2.92%2
2021-04-142021-04-29$244.08$225.67-7.29%12
2021-02-102021-02-11$268.27$270.55-4.36%2