Strategy Zoo / S0808

LongTermTrend_V0808

ARCHIVEDhybrid

llmSimplified and strengthened trend/momentum entry (require above 50 & 200 SMA, positive MACD histogram, 20d momentum) and avoid extreme volatility (vol_pctile filter). Added multi-factor exits (momentum fade, price break below SMA50, drawdown cap) to cut losses earlier. Introduced regime gate to only trade in UPTREND and reduced base position with volatility-scaled sizing (larger in low vol, smaller in high vol) to lower drawdown risk.

Fitness
0.4388
Generation
37
Complexity
14
Created
2026-09-26

Lineage

Parents (1)
LongTermTrend_V0735S0735 · gen 34ARCHIVEDllm

logic of LongTermTrend_V0605 with risk overlay of PriceMomentum_V0690

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0808  [hybrid]
if flat and (close > sma_200 and close > sma_50 and ret_20d > 0.04 and macd_hist > 0.0 and vol_pctile < 0.85):
    position = 0.6
if long and (ret_20d < -0.1003 or close < sma_50 or macd_hist < 0.0 or drawdown > 0.12):
    position = 0.0  # exit to cash
if regime.volatility == "LOW_VOLATILITY": position *= 1.0
if regime.volatility == "MEDIUM_VOLATILITY": position *= 0.75
if regime.volatility == "HIGH_VOLATILITY": position *= 0.4

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR6.9%23.9%5.2%9.9%
Total Return70.7%90.4%20.7%299.2%
Sharpe0.651.440.510.83
Sortino0.551.520.360.71
Calmar0.401.720.300.57
Volatility11.2%15.7%11.2%12.3%
Max DD-17.4%-13.9%-17.2%-17.4%
Win Rate39.1%39.1%42.1%39.8%
Avg Win6.3%11.2%5.6%7.7%
Avg Loss-2.0%-2.0%-2.1%-2.0%
Payoff3.105.612.603.75
Expectancy1.2%3.2%1.1%1.8%
Profit Factor1.993.601.892.48
Trades46231988
Avg Holding Days11.511.19.911.2
Turnover6.87.66.16.8
Exposure11.4%13.6%9.5%11.4%

Growth of $100

LongTermTrend_V0808 vs TSLA Buy & Hold
LongTermTrend_V0808 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
20160.2%0.07-4.0%4
20179.7%0.99-8.2%9
2018-3.0%-0.61-5.8%3
201921.0%1.67-2.3%1
202083.2%3.04-7.0%8
202112.2%0.83-12.1%9
2022-7.7%-0.89-12.5%6

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-2.5%-1.681%
hidden testEXPENSIVE8339.7%2.5115%
hidden testEXTREME4821.0%1.2010%
hidden testHIGH VOLATILITY254-0.4%-0.062%
hidden testLOW VOLATILITY43213.5%1.1014%
hidden testMEDIUM VOLATILITY250-1.6%-0.139%
hidden testNORMAL8051.3%0.139%
hidden testSIDEWAYS293-8.7%-0.9014%
hidden testUPTREND37123.1%1.4912%
trainDOWNTREND518-7.2%-1.581%
trainEXPENSIVE31114.4%1.0219%
trainEXTREME10073.2%3.8721%
trainHIGH VOLATILITY69913.6%1.075%
trainLOW VOLATILITY74510.4%0.9919%
trainMEDIUM VOLATILITY568-4.5%-0.4410%
trainNORMAL1,6011.8%0.199%
trainSIDEWAYS592-1.3%-0.1611%
trainUPTREND90221.4%1.4418%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13838.6%2.1016%
validationEXTREME14485.6%3.8419%
validationHIGH VOLATILITY25817.9%1.206%
validationLOW VOLATILITY1839.1%0.7521%
validationMEDIUM VOLATILITY31534.5%1.9115%
validationNORMAL474-1.0%-0.0911%
validationSIDEWAYS206-5.8%-0.5511%
validationUPTREND42543.2%2.2119%

Trades (full period)

88 trades
EntryExitEntry PxExit PxReturnDays
2026-05-282026-06-02$442.10$423.74-3.46%4
2026-05-082026-05-21$428.35$417.850.78%10
2026-04-202026-04-22$392.50$387.51-1.69%3
2025-12-152025-12-30$475.31$454.430.06%11
2025-09-082025-10-06$346.40$453.2512.55%21
2025-08-252025-09-03$346.60$334.09-1.98%7
2025-08-112025-08-22$339.03$340.01-1.84%10
2025-05-122025-06-03$318.38$344.274.87%16
2024-12-092024-12-24$389.79$462.283.78%12
2024-09-112024-10-04$228.13$250.082.97%18
2024-09-062024-09-09$210.73$216.27-3.89%2
2024-07-022024-07-22$231.26$251.518.01%14
2023-12-182024-01-02$252.08$248.42-1.25%10
2023-11-292023-12-14$244.14$251.05-1.92%12
2023-11-222023-11-24$234.21$235.45-1.86%2
2023-10-092023-10-17$259.67$254.85-1.63%7
2023-09-122023-09-22$267.48$244.88-3.05%9
2023-07-062023-07-07$276.54$274.43-1.04%2
2023-05-312023-06-27$203.93$250.2111.59%19
2022-09-202022-09-23$308.73$275.33-4.12%4
2022-08-162022-08-19$306.56$296.67-1.03%4
2022-08-042022-08-12$308.63$300.03-3.10%7
2022-03-222022-04-11$331.33$325.315.12%15
2022-01-132022-01-14$343.85$349.87-1.67%2
2022-01-042022-01-07$383.20$342.32-2.83%4
2021-10-132021-11-11$270.36$354.5017.21%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-072021-09-21$250.97$246.46-0.36%11
2021-08-032021-08-17$236.58$221.90-2.08%11
2021-07-132021-07-15$222.85$216.87-2.96%3
2021-06-242021-07-12$226.61$228.57-0.04%12
2021-04-142021-04-29$244.08$225.67-4.11%12
2021-01-052021-01-25$245.04$293.607.11%14
2020-12-182020-12-23$231.67$215.33-1.06%4
2020-11-182020-12-17$162.21$218.6317.20%21
2020-10-152020-10-20$149.63$140.65-3.10%4
2020-08-182020-09-08$125.81$110.077.49%15
2020-07-022020-07-27$80.58$102.647.98%17
2020-06-032020-06-25$58.86$65.736.50%17
2020-05-012020-05-14$46.75$53.560.43%10
2019-12-172020-02-26$25.27$51.9241.59%48
2019-10-152019-11-21$17.19$23.6614.47%28
2018-12-122018-12-18$24.44$22.47-1.95%5
2018-03-142018-03-15$21.78$21.71-2.09%2
2018-01-092018-02-05$22.25$22.211.04%19
2017-12-122017-12-27$22.74$20.78-2.59%11
2017-09-152017-09-25$25.32$23.00-3.93%7
2017-08-042017-08-21$23.79$22.52-0.18%12
2017-06-012017-06-27$22.69$24.164.67%19
2017-05-152017-05-16$21.06$21.13-1.33%2
2017-05-022017-05-04$21.26$19.70-2.14%3
2017-03-282017-04-21$18.50$20.375.07%18
2017-02-102017-02-22$17.95$18.231.74%8
2016-12-282017-02-02$14.65$16.777.85%25
2016-07-192016-08-09$15.02$15.270.84%16
2016-06-082016-06-10$15.70$14.59-0.88%3
2016-04-042016-04-14$16.47$16.793.71%9
2016-03-212016-04-01$15.89$15.84-1.65%9
2015-12-022015-12-14$15.47$14.57-4.10%9
2015-09-212015-09-29$17.61$16.44-2.72%7
2015-07-212015-07-22$17.78$17.86-2.56%2
2015-06-222015-07-09$17.32$17.19-1.76%13
2015-04-282015-05-22$15.37$16.523.52%19
2014-11-252014-12-01$16.54$15.44-0.73%4
2014-11-122014-11-24$16.61$16.45-1.55%9
2014-09-022014-09-12$18.94$18.612.28%9
2014-08-052014-08-25$15.90$17.504.46%15
2014-06-162014-07-07$14.97$14.846.53%15
2014-06-122014-06-13$13.57$13.76-0.40%2
2014-06-092014-06-11$13.69$13.63-1.82%3
2014-05-282014-06-03$14.02$13.66-1.56%5
2014-02-112014-03-11$13.11$15.6310.09%20
2014-01-152014-02-06$10.94$11.891.96%16
2013-12-262014-01-10$10.37$9.71-1.27%11
2013-12-182013-12-19$9.87$9.38-0.75%2
2013-09-232013-10-04$12.07$12.07-3.37%10
2013-08-232013-09-10$10.79$11.09-0.91%12
2013-07-022013-07-17$7.85$8.02-2.37%11
2013-03-272013-06-04$2.54$6.3234.85%48
2013-01-242013-02-14$2.47$2.553.96%16
2012-11-062012-12-14$2.08$2.253.97%28
2012-09-182012-09-26$2.09$1.84-6.98%7
2012-07-132012-07-23$2.28$2.04-1.21%7
2012-06-192012-07-03$2.14$2.04-0.68%11
2012-03-282012-04-05$2.52$2.30-3.55%7
2012-03-142012-03-16$2.35$2.35-1.94%3
2012-02-142012-02-29$2.21$2.232.35%11