Strategy Zoo / S1706

LongTermTrend_V1706

ARCHIVEDhybrid

llmRelaxed entry threshold and added multi-factor entry (momentum + trend slope + not overbought + breakout/volume) to increase robustness; added explicit trend and volatility regime gates to avoid downtrend/high-volatility periods; widened bubble gate to include NORMAL and EXPENSIVE to avoid zero-trade validation issues; improved exits with layered stop rules (20d loss, drawdown limit, MACD weakness, extreme RSI) to cut losses earlier; added volatility-based position scaling (reduce size in medium/high vol) to control drawdowns.

Fitness
0.2342
Generation
79
Complexity
17
Created
2026-10-16

Lineage

Parents (1)
LongTermTrend_V1421S1421 · gen 65ELITEllm

removed entry condition: (((close > sma_200 and sma_200_slope > -0.0012) or ret_20d > 0.0257) and ret_20d > 0.05 and cumret_252d > -0.1997)

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1706  [hybrid]
require regime.trend in ['UPTREND']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL', 'EXPENSIVE']
if flat and (ret_20d > 0.03 and sma_50_slope > 0.0 and rsi_14 < 75.0 and (breakout_20 > 0.0 or volume_breakout > 0.0)):
    position = 1.0
if long and (ret_20d < -0.08 or drawdown < -0.12 or (macd_hist < 0.0 and macd < 0.0) or rsi_14 > 85.0):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR1.2%9.8%-4.9%1.3%
Total Return10.3%32.4%-17.4%20.7%
Sharpe0.160.60-0.320.16
Sortino0.080.34-0.120.08
Calmar0.050.37-0.180.04
Volatility15.3%18.3%13.1%15.4%
Max DD-23.1%-26.2%-28.2%-33.5%
Win Rate45.8%23.5%45.5%38.5%
Avg Win7.0%23.7%4.3%9.7%
Avg Loss-4.6%-3.9%-6.4%-4.7%
Payoff1.526.020.682.07
Expectancy0.7%2.6%-1.5%0.8%
Profit Factor1.291.850.571.30
Trades24171152
Avg Holding Days10.05.55.17.5
Turnover6.011.35.87.0
Exposure10.7%10.1%4.7%9.1%

Growth of $100

LongTermTrend_V1706 vs TSLA Buy & Hold
LongTermTrend_V1706 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
20162.2%0.36-6.3%3
201711.2%0.76-11.9%6
2018-12.0%-1.48-12.0%2
201919.6%2.07-0.7%1
202031.7%1.61-7.9%2
202115.9%0.73-26.2%11
2022-16.4%-1.87-16.3%4

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 testEXPENSIVE83-16.3%-0.5425%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-8.6%-1.010%
hidden testLOW VOLATILITY4456.3%0.615%
hidden testMEDIUM VOLATILITY251-18.4%-0.949%
hidden testNORMAL819-3.2%-0.313%
hidden testSIDEWAYS3000.0%0.000%
hidden testUPTREND371-10.8%-0.5212%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE31146.8%1.8922%
trainEXTREME10011.6%1.551%
trainHIGH VOLATILITY6996.9%0.611%
trainLOW VOLATILITY74511.3%0.7019%
trainMEDIUM VOLATILITY568-14.9%-0.8213%
trainNORMAL1,601-6.8%-0.529%
trainSIDEWAYS592-4.6%-1.131%
trainUPTREND9028.4%0.3724%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13850.7%1.6931%
validationEXTREME14426.0%1.861%
validationHIGH VOLATILITY2580.0%0.000%
validationLOW VOLATILITY183-5.8%-0.4717%
validationMEDIUM VOLATILITY31529.8%1.1214%
validationNORMAL474-5.1%-0.357%
validationSIDEWAYS206-8.4%-1.120%
validationUPTREND42523.6%0.9918%

Trades (full period)

52 trades
EntryExitEntry PxExit PxReturnDays
2025-12-152026-01-08$475.31$435.80-6.19%17
2025-10-292025-11-14$461.51$404.35-12.89%13
2025-09-302025-10-13$444.72$435.90-6.89%10
2025-09-122025-09-15$395.94$410.047.15%2
2025-05-282025-05-29$356.90$358.43-1.85%2
2024-09-162024-09-17$226.78$227.87-1.72%2
2024-09-062024-09-09$210.73$216.27-8.64%2
2024-07-022024-07-03$231.26$246.399.99%2
2023-07-182023-07-19$293.34$291.260.82%2
2023-07-052023-07-06$282.48$276.540.75%2
2023-06-022023-06-05$213.97$217.612.91%2
2022-09-202022-09-21$308.73$300.80-0.31%2
2022-08-162022-08-17$306.56$304.00-1.09%2
2022-08-052022-08-08$288.17$290.42-6.82%2
2022-04-052022-04-07$363.75$352.42-8.89%3
2021-10-082021-10-26$261.83$339.4828.88%13
2021-09-272021-10-01$263.79$258.41-0.06%5
2021-09-202021-09-21$243.39$246.46-4.06%2
2021-09-162021-09-17$252.33$253.16-0.05%2
2021-09-102021-09-13$245.42$247.67-2.66%2
2021-09-082021-09-09$251.29$251.62-0.07%2
2021-09-012021-09-02$244.70$244.13-0.42%2
2021-08-132021-08-16$239.06$228.72-0.90%2
2021-08-052021-08-06$238.21$233.030.32%2
2021-01-262021-02-23$294.36$232.95-19.04%20
2020-12-182021-01-11$231.67$270.4033.91%15
2020-11-192020-12-08$166.42$216.6331.62%13
2020-10-152020-10-20$149.63$140.65-6.79%4
2019-12-132019-12-27$23.89$28.6919.57%10
2018-12-042018-12-19$23.98$22.20-6.17%11
2018-02-012018-02-06$23.28$22.26-6.17%4
2017-09-182017-09-29$25.67$22.74-10.76%10
2017-08-042017-08-07$23.79$23.682.63%2
2017-06-062017-06-14$23.52$25.388.03%7
2017-04-262017-05-10$20.68$21.682.17%11
2017-03-282017-04-04$18.50$20.2510.26%6
2017-01-052017-01-06$15.12$15.27-0.31%2
2016-07-292016-08-01$15.65$15.331.61%2
2016-07-262016-07-27$15.30$15.23-0.42%2
2016-04-052016-04-11$17.03$16.661.05%5
2015-06-182015-08-07$17.46$16.17-5.67%36
2015-06-092015-06-11$17.07$16.76-2.38%3
2015-05-292015-06-01$16.72$16.63-0.46%2
2015-05-122015-05-13$16.32$16.211.99%2
2015-04-302015-05-01$15.07$15.07-2.95%2
2014-08-052014-09-23$15.90$16.694.62%35
2014-06-242014-07-08$15.50$14.60-6.33%10
2014-02-142014-02-26$13.22$16.8723.98%8
2013-09-202013-10-10$12.23$11.53-5.32%15
2013-01-242013-02-26$2.47$2.30-4.69%23
2012-11-292012-12-14$2.25$2.250.94%12
2012-03-132012-04-10$2.41$2.16-8.13%20