Strategy Zoo / S1580

LongTermTrend_V1580

ARCHIVEDhybrid

llmSimplified and regularized entry: require either price above 200sma with a non-negative 200sma slope or a 20-day breakout, plus modest 20-day momentum, positive 50sma slope, not too far below 20sma, and relaxed 252d drawdown filter — to reduce overfitting and improve generalization. Exit broadened to earlier stop (ret_20d < -8%) or weakness vs 50sma to cut losses sooner. Added regime gates to allow only UPTREND and non-HIGH volatility regimes. Position sizing scaled down in high volatility (vol_pctile > 0.75 -> 50%) and full size in very low volatility to control risk. Lowered base_position to 0.85 to reduce leverage/exposure.

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

Lineage

Parents (1)
LongTermTrend_V1319S1319 · gen 60ELITEllm

added entry filter: dist_sma_20 > -0.0187

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1580  [hybrid]
require regime.trend in ['UPTREND']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
if flat and (((close > sma_200 and sma_200_slope > -0.0005) or breakout_20 > 0.5) and ret_20d > 0.035 and sma_50_slope > 0.0 and dist_sma_20 > -0.05 and cumret_252d > -0.3):
    position = 0.85
if long and (ret_20d < -0.08 or dist_sma_50 < -0.06):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR3.4%32.1%3.7%8.9%
Total Return30.7%130.4%14.5%253.5%
Sharpe0.281.150.280.51
Sortino0.190.990.160.36
Calmar0.100.650.170.18
Volatility18.0%27.6%20.1%20.8%
Max DD-33.7%-49.7%-22.0%-49.7%
Win Rate44.0%46.7%58.3%48.1%
Avg Win6.5%25.0%7.1%12.9%
Avg Loss-3.8%-7.8%-6.3%-5.5%
Payoff1.713.201.122.35
Expectancy0.7%7.5%1.5%3.3%
Profit Factor1.342.801.572.18
Trades25151252
Avg Holding Days19.716.114.317.9
Turnover5.48.55.46.0
Exposure20.8%25.5%14.3%20.1%

Growth of $100

LongTermTrend_V1580 vs TSLA Buy & Hold
LongTermTrend_V1580 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-10.5%-1.12-15.8%2
20174.6%0.32-21.2%9
2018-12.6%-1.40-14.1%2
201915.0%1.36-6.3%0
2020191.7%3.45-10.3%5
20218.7%0.43-28.4%5
2022-29.8%-2.05-31.9%5

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 testEXPENSIVE8365.9%1.9547%
hidden testEXTREME4825.1%0.9314%
hidden testHIGH VOLATILITY254-23.3%-1.362%
hidden testLOW VOLATILITY44325.1%1.5516%
hidden testMEDIUM VOLATILITY2510.6%0.0223%
hidden testNORMAL817-1.6%-0.0911%
hidden testSIDEWAYS298-12.3%-1.071%
hidden testUPTREND37124.3%0.8035%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE31124.3%0.8537%
trainEXTREME10044.6%1.8325%
trainHIGH VOLATILITY699-1.6%-0.102%
trainLOW VOLATILITY74523.5%1.2938%
trainMEDIUM VOLATILITY568-11.2%-0.5622%
trainNORMAL1,601-1.3%-0.0917%
trainSIDEWAYS592-4.7%-1.291%
trainUPTREND90214.2%0.5346%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13864.9%1.8152%
validationEXTREME144156.5%4.7021%
validationHIGH VOLATILITY25823.5%1.222%
validationLOW VOLATILITY18316.8%0.8639%
validationMEDIUM VOLATILITY31546.9%1.3037%
validationNORMAL474-16.0%-0.7319%
validationSIDEWAYS206-25.4%-1.852%
validationUPTREND42568.5%1.9444%

Trades (full period)

52 trades
EntryExitEntry PxExit PxReturnDays
2026-05-292026-06-01$435.79$415.88-1.38%2
2025-12-122026-01-13$458.96$447.200.30%21
2025-09-122025-11-14$395.94$404.357.78%46
2025-09-042025-09-05$338.53$350.840.96%2
2025-05-222025-06-06$341.04$295.14-12.80%11
2024-12-112024-12-23$424.77$430.604.19%9
2024-10-032024-10-18$240.66$220.70-9.77%12
2024-09-162024-09-20$226.78$238.254.86%5
2024-09-042024-09-09$219.41$216.27-0.04%4
2024-07-022024-07-12$231.26$248.2312.47%8
2024-01-032024-01-12$238.45$218.89-7.44%8
2023-06-022023-08-03$213.97$259.3218.92%43
2022-09-202022-09-23$308.73$275.33-5.81%4
2022-08-162022-08-22$306.56$289.91-3.65%5
2022-08-052022-08-08$288.17$290.42-5.80%2
2022-04-052022-04-27$363.75$293.84-20.33%16
2022-01-122022-01-13$368.74$343.853.17%2
2021-12-092021-12-17$334.60$310.86-11.51%7
2021-11-232021-12-03$369.68$338.32-5.45%8
2021-08-242021-11-10$236.16$355.9837.32%56
2021-08-052021-08-23$238.21$235.43-3.80%13
2020-11-192021-02-23$166.42$232.9539.17%64
2020-10-132020-10-30$148.88$129.35-6.21%14
2020-08-312020-09-01$166.11$158.3510.50%2
2020-08-262020-08-27$143.54$149.255.28%2
2020-05-282020-07-06$53.72$91.4439.20%27
2019-11-222020-01-31$22.20$43.3765.51%47
2018-11-272018-12-21$22.93$21.32-7.67%18
2018-02-012018-02-06$23.28$22.26-5.26%4
2017-09-182017-10-17$25.67$23.72-6.69%22
2017-08-152017-08-18$24.16$23.16-2.94%4
2017-08-042017-08-07$23.79$23.682.23%2
2017-06-052017-07-06$23.15$20.59-3.27%23
2017-05-122017-05-19$21.65$20.72-2.80%6
2017-04-242017-05-10$20.54$21.684.22%13
2017-04-202017-04-21$20.17$20.37-1.01%2
2017-03-282017-04-04$18.50$20.258.69%6
2017-01-052017-02-28$15.12$16.677.08%37
2016-07-262016-08-30$15.30$14.09-5.64%26
2016-04-052016-05-04$17.03$14.84-5.17%22
2015-05-112015-08-07$15.97$16.173.45%63
2015-04-292015-05-01$15.50$15.07-1.80%3
2014-06-232014-09-30$15.81$16.185.83%70
2014-03-202014-03-26$15.66$14.20-5.73%5
2014-02-132014-02-26$13.31$16.8722.52%9
2013-09-092013-10-24$10.71$11.54-1.25%34
2013-06-282013-07-17$7.16$8.02-0.09%13
2013-04-302013-05-08$3.60$3.720.79%7
2013-03-262013-04-02$2.52$2.9614.28%5
2012-12-182013-02-27$2.31$2.340.07%48
2012-11-232012-12-14$2.14$2.252.84%16
2012-02-232012-04-11$2.30$2.21-4.39%34