Strategy Zoo / S1518

LongTermTrend_V1518

ARCHIVEDhybrid

llmAdded regime gates to require UPTREND and exclude HIGH volatility/bubble extremes; simplified/strengthened entry to use SMA50>200 + positive sma_200_slope + positive MACD for trend, plus a dedicated high-volume breakout arm and a milder momentum arm (lowered ret_20d threshold) to increase robustness; improved exit to include MACD < 0 OR large drop below SMA50 OR drawdown > 8% to cut losses earlier; added position scaling rules: reduce size in high vol (vol_pctile>0.8) and allow full size on strong breakout with very high rel_volume.

Fitness
0.2928
Generation
70
Complexity
17
Created
2026-10-13

Lineage

Parents (1)
LongTermTrend_V1367S1367 · gen 63ELITEllm

changed ret_20d threshold 0.05 -> 0.1344

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1518  [hybrid]
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
if flat and ((sma_50 > sma_200 and sma_200_slope > 0.0 and macd_hist > 0.0) or (breakout_50 == 1 and rel_volume > 1.8 and macd_hist > 0.0) or (ret_20d > 0.06 and cumret_252d > 0.12)):
    position = 0.8
if long and (macd_hist < 0.0 or dist_sma_50 < -0.15 or drawdown < -0.08):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-4.6%36.1%-10.0%1.2%
Total Return-31.5%151.9%-32.6%19.1%
Sharpe-0.231.35-0.610.16
Sortino-0.151.54-0.390.12
Calmar-0.101.49-0.260.02
Volatility15.4%25.1%15.2%17.8%
Max DD-44.2%-24.2%-38.6%-48.9%
Win Rate41.5%48.3%41.7%43.6%
Avg Win2.1%3.7%1.9%2.7%
Avg Loss-1.9%-1.7%-1.9%-1.8%
Payoff1.112.220.971.46
Expectancy-0.2%0.9%-0.3%0.1%
Profit Factor0.792.080.691.13
Trades176118103397
Avg Holding Days2.82.72.22.7
Turnover35.462.943.943.1
Exposure13.2%21.4%10.8%14.3%

Growth of $100

LongTermTrend_V1518 vs TSLA Buy & Hold
LongTermTrend_V1518 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.5%-0.03-4.8%14
201710.6%0.72-10.9%39
2018-8.4%-1.28-9.6%8
201913.4%1.65-3.0%2
2020138.6%3.05-11.6%18
202110.8%0.53-20.3%61
2022-14.1%-0.98-17.2%37

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 testDOWNTREND278-9.6%-1.492%
hidden testEXPENSIVE83-9.4%-0.4218%
hidden testEXTREME4826.6%1.0512%
hidden testHIGH VOLATILITY254-9.2%-0.711%
hidden testLOW VOLATILITY4436.2%0.4416%
hidden testMEDIUM VOLATILITY250-36.9%-1.9612%
hidden testNORMAL816-11.4%-0.8510%
hidden testSIDEWAYS298-24.5%-1.4015%
hidden testUPTREND3713.1%0.1714%
trainDOWNTREND518-3.4%-1.011%
trainEXPENSIVE31120.5%0.8726%
trainEXTREME10053.2%2.4022%
trainHIGH VOLATILITY6991.6%0.121%
trainLOW VOLATILITY7450.7%0.0521%
trainMEDIUM VOLATILITY568-15.5%-0.8317%
trainNORMAL1,601-11.8%-0.9310%
trainSIDEWAYS592-11.6%-0.969%
trainUPTREND9021.6%0.0823%
validationDOWNTREND125-4.3%-0.585%
validationEXPENSIVE13862.5%1.9535%
validationEXTREME144122.7%4.0917%
validationHIGH VOLATILITY25832.4%1.552%
validationLOW VOLATILITY18316.4%0.9628%
validationMEDIUM VOLATILITY31545.3%1.4433%
validationNORMAL474-1.4%-0.0719%
validationSIDEWAYS206-27.4%-1.7718%
validationUPTREND42574.9%2.4028%

Trades (full period)

latest 100 of 397
EntryExitEntry PxExit PxReturnDays
2026-09-042026-09-08$354.08$368.16-4.89%2
2026-08-242026-08-25$348.95$350.25-3.22%2
2026-06-032026-06-04$423.70$418.45-0.17%2
2026-06-012026-06-02$415.88$423.74-3.81%2
2026-05-282026-05-29$442.10$435.790.16%2
2026-05-262026-05-27$433.59$440.361.26%2
2026-05-212026-05-22$417.85$426.01-0.05%2
2026-05-142026-05-15$443.30$422.24-0.51%2
2026-05-122026-05-13$433.45$445.27-2.23%2
2026-05-082026-05-11$428.35$445.003.05%2
2026-05-062026-05-07$398.73$411.791.76%2
2026-05-042026-05-05$392.51$389.370.19%2
2026-04-212026-04-22$386.42$387.51-1.40%2
2026-03-192026-03-20$380.30$367.96-2.70%2
2026-03-172026-03-18$399.27$392.780.59%2
2026-03-132026-03-16$391.20$395.56-0.93%2
2026-03-112026-03-12$407.82$395.011.56%2
2026-03-062026-03-09$396.73$398.68-1.90%2
2026-03-022026-03-03$403.32$392.430.00%2
2026-02-262026-02-27$408.58$402.51-1.85%2
2026-02-232026-02-24$399.83$409.38-2.49%2
2026-02-192026-02-20$411.71$411.82-0.08%2
2026-02-172026-02-18$410.63$411.32-1.46%2
2026-02-122026-02-13$417.07$417.44-2.25%2
2025-12-102025-12-30$451.45$454.432.50%14
2025-12-032025-12-09$446.74$445.171.79%5
2025-12-012025-12-02$430.14$429.24-0.17%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-102025-10-13$413.49$435.90-4.21%2
2025-10-082025-10-09$438.69$435.540.87%2
2025-10-062025-10-07$453.25$433.094.20%2
2025-09-292025-10-03$443.21$429.83-0.93%5
2025-09-242025-09-26$442.79$440.40-0.59%3
2025-09-222025-09-23$434.21$425.851.37%2
2025-09-182025-09-19$416.85$426.07-1.85%2
2025-09-162025-09-17$421.62$425.862.10%2
2025-09-122025-09-15$395.94$410.045.72%2
2025-09-082025-09-09$346.40$346.97-1.17%2
2025-09-032025-09-04$334.09$338.530.99%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-122025-08-13$340.84$339.380.27%2
2025-08-072025-08-08$322.27$329.650.43%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-252025-07-28$316.06$325.592.66%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-07-172025-07-18$319.41$329.65-0.72%2
2025-06-052025-06-06$284.70$295.14-11.56%2
2025-06-032025-06-04$344.27$332.050.21%2
2025-05-302025-06-02$346.46$342.69-2.83%2
2025-05-282025-05-29$356.90$358.43-1.48%2
2025-05-232025-05-27$339.34$362.89-0.56%2
2025-05-212025-05-22$334.62$341.04-2.30%2
2025-05-192025-05-20$342.09$343.82-1.96%2
2025-05-122025-05-13$318.38$334.075.23%2
2024-12-202024-12-23$421.06$430.60-2.93%2
2024-12-112024-12-19$424.77$436.177.72%7
2024-07-032024-07-05$246.39$251.525.07%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-122023-12-13$237.01$239.29-1.07%2
2023-12-082023-12-11$243.84$239.740.24%2
2023-12-062023-12-07$239.37$242.640.06%2
2023-12-042023-12-05$235.58$238.72-1.25%2
2023-11-302023-12-01$240.08$238.83-1.49%2
2023-11-282023-11-29$246.72$244.143.44%2
2023-11-242023-11-27$235.45$236.080.26%2
2023-11-212023-11-22$241.20$234.211.74%2
2023-11-172023-11-20$234.30$235.600.08%2
2023-11-152023-11-16$242.84$233.591.67%2
2023-11-132023-11-14$223.71$237.413.21%2
2023-11-092023-11-10$209.98$214.65-4.53%2
2023-11-072023-11-08$222.18$222.110.90%2
2023-10-162023-10-17$253.92$254.850.73%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-222023-09-25$244.88$246.99-3.54%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-082023-09-11$248.50$273.58-1.11%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-08-282023-08-29$238.82$257.18-0.08%2
2023-07-192023-07-20$291.26$262.90-0.73%2
2023-07-172023-07-18$290.38$293.342.40%2
2023-07-132023-07-14$277.90$281.381.58%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