Strategy Zoo / S1458

LongTermTrend_V1458

ARCHIVEDhybrid

llmSimplified and strengthened entry rules into two robust branches (trend-following above 200 SMA + momentum; breakout with recent momentum and controlled volatility) to reduce overfitting. Added multi-condition exit (20d loss, close below SMA50, or portfolio drawdown) to limit large declines. Added regime gates to restrict trading to non-high-volatility and non-extreme-bubble regimes. Reduced base_position to 0.75 to lower leverage/exposure.

Fitness
0.1575
Generation
67
Complexity
17
Created
2026-10-10

Lineage

Parents (1)
LongTermTrend_V1407S1407 · gen 65ARCHIVEDllm

entry from LongTermTrend_V1383, exit from PriceMomentum_V0690

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1458  [hybrid]
require regime.trend in ['UPTREND', 'SIDEWAYS']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL']
if flat and ((close > sma_200 and sma_200_slope > 0.0 and ret_20d > 0.05) or (breakout_20 > 0.0 and ret_5d > 0.02 and vol_pctile < 0.8) or ret_20d > 0.25):
    position = 0.75
if long and (ret_20d < -0.02 or close < sma_50 or drawdown > 0.08):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-1.2%5.0%-2.6%-0.3%
Total Return-9.2%15.9%-9.6%-4.8%
Sharpe-0.010.38-0.070.06
Sortino-0.010.23-0.040.04
Calmar-0.030.24-0.10-0.01
Volatility14.6%16.7%17.4%15.8%
Max DD-41.0%-20.9%-27.1%-41.0%
Win Rate35.3%45.5%39.1%38.2%
Avg Win6.1%8.0%7.4%6.9%
Avg Loss-3.5%-3.2%-5.0%-4.0%
Payoff1.722.461.481.74
Expectancy-0.1%1.9%-0.1%0.2%
Profit Factor0.942.050.951.08
Trades34112368
Avg Holding Days12.415.59.211.8
Turnover6.45.59.47.0
Exposure14.5%15.9%15.1%14.9%

Growth of $100

LongTermTrend_V1458 vs TSLA Buy & Hold
LongTermTrend_V1458 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-11.2%-1.25-12.8%5
201711.6%1.68-4.1%2
2018-13.2%-1.21-14.4%3
20194.0%0.29-14.8%4
20200.0%0.000.0%0
202117.9%0.85-17.1%8
2022-1.8%-0.00-20.9%3

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-2.6%-1.371%
hidden testEXPENSIVE8332.1%2.442%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-18.9%-1.132%
hidden testLOW VOLATILITY44213.5%0.8223%
hidden testMEDIUM VOLATILITY250-9.0%-0.4614%
hidden testNORMAL815-4.6%-0.2517%
hidden testSIDEWAYS297-27.4%-1.4523%
hidden testUPTREND37121.0%0.9620%
trainDOWNTREND518-4.8%-1.211%
trainEXPENSIVE3116.1%1.291%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY6990.6%0.041%
trainLOW VOLATILITY74515.4%1.0129%
trainMEDIUM VOLATILITY568-21.4%-1.4713%
trainNORMAL1,601-1.4%-0.0818%
trainSIDEWAYS592-13.2%-0.8515%
trainUPTREND90211.1%0.6322%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-6.1%-0.661%
validationLOW VOLATILITY18324.7%1.6537%
validationMEDIUM VOLATILITY3155.8%0.2716%
validationNORMAL47410.1%0.4825%
validationSIDEWAYS206-9.3%-0.4624%
validationUPTREND42515.7%0.9117%

Trades (full period)

69 trades
EntryExitEntry PxExit PxReturnDays
2026-10-07—$377.81—0.33%3OPEN
2026-07-022026-07-06$393.45$419.77-5.76%2
2026-05-082026-06-08$428.35$408.95-3.80%21
2026-04-202026-04-21$392.50$386.42-1.67%2
2025-12-082026-01-05$439.58$451.67-2.85%19
2025-08-252025-09-15$346.60$410.0412.06%15
2025-08-112025-08-21$339.03$320.11-1.44%9
2025-06-022025-06-06$342.69$295.14-13.61%5
2025-05-222025-05-28$341.04$356.906.16%4
2025-05-122025-05-13$318.38$334.074.91%2
2024-09-242024-10-14$254.27$219.16-9.83%15
2024-09-162024-09-20$226.78$238.254.30%5
2024-09-062024-09-09$210.73$216.27-6.48%2
2024-06-272024-07-12$197.42$248.2316.73%11
2024-06-182024-06-21$184.86$183.01-2.50%3
2023-11-292024-01-10$244.14$233.94-3.64%29
2023-11-272023-11-28$236.08$246.720.05%2
2023-11-222023-11-24$234.21$235.45-2.32%2
2023-11-202023-11-21$235.60$241.200.27%2
2023-11-162023-11-17$233.59$234.30-3.00%2
2023-09-252023-09-26$246.99$244.120.50%2
2023-09-122023-09-22$267.48$244.88-5.06%9
2023-05-312023-08-02$203.93$254.1121.91%44
2023-04-032023-04-06$194.77$185.06-8.13%4
2022-08-022022-08-29$300.59$284.82-2.35%20
2022-03-212022-04-27$307.05$293.84-2.12%27
2022-01-122022-01-13$368.74$343.852.79%2
2021-11-232021-12-01$369.68$365.00-0.89%6
2021-08-022021-11-10$236.56$355.9835.43%72
2021-06-242021-07-26$226.61$219.21-1.59%22
2021-06-222021-06-23$207.90$218.860.20%2
2021-06-182021-06-21$207.77$206.940.67%2
2021-06-142021-06-15$205.90$199.790.81%2
2021-05-032021-05-05$228.30$223.65-3.95%3
2021-04-142021-04-30$244.08$236.48-8.58%13
2019-11-222019-12-17$22.20$25.275.53%17
2019-10-152019-10-25$17.19$21.8812.34%9
2019-09-112019-09-25$16.47$15.25-4.01%11
2019-07-222019-07-26$17.05$15.20-8.60%5
2018-11-292018-12-19$22.74$22.20-2.43%14
2018-03-132018-03-15$22.79$21.71-4.25%3
2018-01-182018-02-09$22.97$20.69-7.00%17
2017-12-122017-12-26$22.74$21.15-0.97%10
2016-12-282017-01-25$14.65$16.9611.65%19
2016-10-042016-10-05$14.09$13.90-0.95%2
2016-07-292016-08-18$15.65$14.90-2.53%15
2016-06-082016-06-10$15.70$14.59-1.10%3
2016-04-052016-05-03$17.03$15.49-1.65%21
2016-03-212016-03-24$15.89$15.18-3.40%4
2015-12-312016-01-05$16.00$14.90-4.76%3
2015-09-222015-09-29$17.40$16.44-4.64%6
2015-08-062015-08-07$16.41$16.17-6.81%2
2015-04-282015-07-28$15.37$17.656.94%64
2014-11-252014-12-02$16.54$15.43-4.73%5
2014-11-112014-11-24$16.74$16.450.16%10
2014-08-042014-09-16$15.90$17.386.59%31
2014-06-162014-07-16$14.97$14.484.76%22
2014-06-122014-06-13$13.57$13.76-0.50%2
2014-06-092014-06-11$13.69$13.63-2.27%3
2014-05-282014-06-03$14.02$13.66-2.58%5
2013-03-262013-04-02$2.52$2.9612.59%5
2013-02-152013-02-22$2.47$2.41-6.18%5
2013-02-122013-02-14$2.53$2.55-0.09%3
2012-11-062013-01-10$2.08$2.245.04%45
2012-09-182012-09-21$2.09$2.00-3.94%4
2012-07-062012-07-20$2.07$2.122.46%11
2012-06-282012-07-03$2.09$2.04-3.82%4
2012-06-192012-06-25$2.14$2.214.47%5
2012-02-152012-04-10$2.24$2.160.07%38