Strategy Zoo / S1584

LongTermTrend_V1584

ARCHIVEDhybrid

llmRequire stronger multi-timeframe trend (price>200SMA, 50>200, positive 200SMA slope), keep momentum (ret_20d>5%) and recent breakout, avoid high volatility (vol_pctile<0.7) and deep year drawdown. Exit expanded to stoploss OR drawdown cap OR price breach of 50SMA. Added trend and volatility regime gates; reduced base position to 0.8 to lower risk.

Fitness
0.4627
Generation
73
Complexity
15
Created
2026-10-14

Lineage

Parents (1)
LongTermTrend_V1276S1276 · gen 58ELITEllm

changed sma_200_slope threshold 0.0 -> -0.0012

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1584  [hybrid]
require regime.trend in ['UPTREND']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['EXPENSIVE', 'EXTREME']
if flat and (close > sma_200 and sma_50 > sma_200 and sma_200_slope > 0.0 and ret_20d > 0.05 and vol_pctile < 0.7 and cumret_252d > -0.15 and breakout_20 > 0.0):
    position = 0.8
if long and (ret_20d < -0.08 or drawdown > 0.12 or close < sma_50):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR0.7%39.9%1.5%8.1%
Total Return5.7%173.9%5.9%213.8%
Sharpe0.121.890.200.68
Sortino0.041.450.080.30
Calmar0.034.570.140.40
Volatility10.6%18.7%10.0%12.6%
Max DD-20.3%-8.7%-11.3%-20.3%
Win Rate54.5%100.0%100.0%68.8%
Avg Win5.3%40.0%2.9%15.6%
Avg Loss-6.2%0.0%0.0%-6.2%
Payoff0.875.005.002.54
Expectancy0.1%40.0%2.9%8.8%
Profit Factor1.045.005.005.58
Trades113216
Avg Holding Days10.735.725.517.9
Turnover2.31.60.91.7
Exposure4.7%11.0%4.1%5.8%

Growth of $100

LongTermTrend_V1584 vs TSLA Buy & Hold
LongTermTrend_V1584 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.0%0.000.0%0
2017-7.9%-0.41-16.9%6
20180.0%0.000.0%0
20197.6%1.31-3.0%0
2020149.4%3.42-7.0%2
20216.4%0.48-8.7%1
20220.0%0.000.0%0

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 testDOWNTREND2790.0%0.000%
hidden testEXPENSIVE8314.7%0.5339%
hidden testEXTREME4823.7%0.9313%
hidden testHIGH VOLATILITY254-2.8%-1.020%
hidden testLOW VOLATILITY44311.8%1.792%
hidden testMEDIUM VOLATILITY251-10.3%-0.6011%
hidden testNORMAL817-0.5%-0.580%
hidden testSIDEWAYS2980.0%0.000%
hidden testUPTREND3715.2%0.3211%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE3114.8%0.2022%
trainEXTREME10027.1%1.3722%
trainHIGH VOLATILITY699-1.4%-0.121%
trainLOW VOLATILITY7455.2%0.746%
trainMEDIUM VOLATILITY568-0.7%-0.068%
trainNORMAL1,601-1.0%-0.660%
trainSIDEWAYS5920.0%0.000%
trainUPTREND9022.8%0.1810%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13874.4%2.2841%
validationEXTREME144116.1%4.1718%
validationHIGH VOLATILITY25814.1%1.371%
validationLOW VOLATILITY1837.2%0.608%
validationMEDIUM VOLATILITY31569.0%2.6821%
validationNORMAL474-0.6%-0.780%
validationSIDEWAYS2060.0%0.000%
validationUPTREND42562.8%2.5320%

Trades (full period)

16 trades
EntryExitEntry PxExit PxReturnDays
2025-09-172025-11-13$425.86$401.991.87%42
2024-12-112024-12-23$424.77$430.603.98%9
2020-11-192021-02-19$166.42$260.4347.69%62
2020-06-012020-07-06$59.87$91.4434.69%25
2019-12-172020-01-31$25.27$43.3751.65%31
2017-09-182017-09-26$25.67$23.02-7.53%7
2017-08-042017-08-07$23.79$23.682.10%2
2017-06-062017-07-06$23.52$20.59-4.72%22
2017-04-262017-05-10$20.68$21.681.81%11
2017-03-282017-04-04$18.50$20.258.17%6
2017-02-102017-02-28$17.95$16.67-6.96%12
2014-02-142014-02-26$13.22$16.8719.03%8
2013-09-202013-10-24$12.23$11.54-6.07%25
2013-07-022013-07-17$7.85$8.02-5.52%11
2013-04-302013-05-08$3.60$3.720.77%7
2013-02-042013-02-12$2.52$2.530.10%7