Strategy Zoo / S0924

LongTermTrend_V0924

ARCHIVEDhybrid

llmSimplified and strengthened entry to confirm intermediate trend (price > sma_50, sma_50_slope > 0) plus momentum (macd_hist>0) and modest 20d return filter; added regime gates to only trade in broad uptrends (price>sma_200 and sma_200_slope>0), avoid high volatility (vol_pctile<0.7) and extreme 52w-high proximity; improved exit with multi-criteria (short 20d drawdown, price back below sma_50, or RSI overbought) to reduce deep drawdowns; added position scaling: full size on 20d breakout, reduce to 40% in higher volatility; lowered base_position to 0.8 to reduce exposure.

Fitness
0.3340
Generation
42
Complexity
10
Created
2026-09-30

Lineage

Parents (1)
LongTermTrend_V0605S0605 · gen 28ARCHIVEDllm

entry from LongTermTrend_V0323, exit from PriceMomentum_V0557

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0924  [hybrid]
if flat and (close > sma_50 and sma_50_slope > 0.0 and ret_20d > 0.04 and macd_hist > 0.0 and cumret_252d > -0.2):
    position = 0.8
if long and (ret_20d < -0.08 or close < sma_50 or rsi_14 > 75.0):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR19.1%7.5%-1.7%11.3%
Total Return303.5%24.2%-6.0%381.5%
Sharpe0.860.380.040.54
Sortino0.830.330.030.46
Calmar0.360.16-0.060.21
Volatility23.5%33.9%23.0%25.9%
Max DD-53.6%-47.0%-27.4%-53.6%
Win Rate59.2%60.0%57.7%59.5%
Avg Win7.0%6.2%5.0%6.4%
Avg Loss-4.7%-7.2%-6.8%-5.8%
Payoff1.480.870.751.09
Expectancy2.2%0.9%0.0%1.4%
Profit Factor2.151.301.021.60
Trades764526148
Avg Holding Days10.27.49.69.2
Turnover15.324.011.216.1
Exposure28.0%30.4%19.1%26.2%

Growth of $100

LongTermTrend_V0924 vs TSLA Buy & Hold
LongTermTrend_V0924 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-5.8%-0.58-14.0%4
20178.3%0.50-18.6%17
2018-30.6%-1.53-31.2%8
20196.1%0.38-19.1%14
202083.8%1.50-26.3%29
202110.5%0.51-19.8%11
2022-40.8%-2.64-40.7%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 testDOWNTREND2740.0%0.000%
hidden testEXPENSIVE8365.4%1.7954%
hidden testEXTREME4869.3%1.6053%
hidden testHIGH VOLATILITY254-10.1%-0.3419%
hidden testLOW VOLATILITY43418.8%1.2117%
hidden testMEDIUM VOLATILITY250-18.6%-0.7224%
hidden testNORMAL807-9.7%-0.5113%
hidden testSIDEWAYS293-16.4%-1.1210%
hidden testUPTREND37115.4%0.4540%
trainDOWNTREND5182.2%0.741%
trainEXPENSIVE31128.7%0.9648%
trainEXTREME100338.8%6.3370%
trainHIGH VOLATILITY69935.2%1.1425%
trainLOW VOLATILITY74528.0%1.6037%
trainMEDIUM VOLATILITY568-8.6%-0.4420%
trainNORMAL1,601-1.4%-0.0821%
trainSIDEWAYS592-16.9%-1.1411%
trainUPTREND90254.9%1.6754%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1385.0%0.1248%
validationEXTREME144131.9%2.4844%
validationHIGH VOLATILITY2589.5%0.2123%
validationLOW VOLATILITY183-3.8%-0.2039%
validationMEDIUM VOLATILITY31525.6%0.8331%
validationNORMAL474-20.8%-0.9821%
validationSIDEWAYS206-28.0%-1.789%
validationUPTREND42536.7%0.8450%

Trades (full period)

latest 100 of 148
EntryExitEntry PxExit PxReturnDays
2026-05-142026-06-08$443.30$408.95-9.93%17
2025-12-152026-01-05$475.31$451.67-3.75%14
2025-09-262025-11-14$440.40$404.35-3.91%36
2025-09-232025-09-25$425.85$423.391.43%3
2025-09-192025-09-22$426.07$434.211.61%2
2025-09-172025-09-18$425.86$416.850.64%2
2025-08-252025-09-16$346.60$421.6216.10%16
2025-05-162025-06-06$349.98$295.14-13.71%15
2024-12-182025-01-17$440.13$426.50-11.04%20
2024-12-162024-12-17$463.02$479.864.75%2
2024-12-122024-12-13$418.10$436.23-1.42%2
2024-11-122024-12-11$328.49$424.7711.52%21
2024-11-072024-11-11$296.91$350.008.85%3
2024-09-112024-10-14$228.13$219.16-2.94%24
2024-09-062024-09-09$210.73$216.27-6.91%2
2024-07-112024-08-02$241.03$207.67-14.21%17
2024-07-092024-07-10$262.33$263.262.81%2
2024-07-052024-07-08$251.52$252.941.50%2
2024-06-272024-07-03$197.42$246.3913.91%5
2023-06-212023-08-03$259.46$259.32-5.87%31
2023-06-162023-06-20$260.54$274.451.29%2
2023-06-142023-06-15$256.79$255.90-0.75%2
2023-06-122023-06-13$249.83$258.711.62%2
2023-06-082023-06-09$234.86$244.403.50%2
2023-06-062023-06-07$221.31$224.571.20%2
2023-05-312023-06-05$203.93$217.614.91%4
2022-09-202022-09-26$308.73$276.01-8.95%5
2022-08-022022-09-01$300.59$277.16-5.92%23
2022-04-052022-04-27$363.75$293.84-19.20%16
2022-01-132022-01-14$343.85$349.87-5.55%2
2022-01-042022-01-07$383.20$342.32-9.22%4
2021-11-082021-12-03$387.65$338.32-9.01%19
2021-11-042021-11-05$409.97$407.360.90%2
2021-11-022021-11-03$390.67$404.62-2.58%2
2021-10-292021-11-01$371.33$402.862.58%2
2021-10-272021-10-28$345.95$359.011.37%2
2021-10-252021-10-26$341.62$339.489.96%2
2021-10-212021-10-22$298.00$303.232.44%2
2021-10-192021-10-20$288.09$288.60-0.70%2
2021-08-032021-10-18$236.58$290.0414.73%54
2021-01-112021-02-23$270.40$232.95-15.27%30
2020-12-092021-01-08$201.49$293.3420.08%21
2020-12-012020-12-08$194.92$216.6310.22%6
2020-11-272020-11-30$195.25$189.201.48%2
2020-11-192020-11-25$166.42$191.3311.05%5
2020-10-152020-10-29$149.63$136.94-9.82%11
2020-09-032020-09-25$135.67$135.78-10.11%16
2020-09-012020-09-02$158.35$149.12-3.89%2
2020-08-282020-08-31$147.56$166.11-1.07%2
2020-08-262020-08-27$143.54$149.254.97%2
2020-08-242020-08-25$134.28$134.89-1.56%2
2020-08-182020-08-21$125.81$136.677.05%4
2020-07-222020-08-12$106.16$103.65-10.01%16
2020-07-172020-07-21$100.06$104.567.42%3
2020-07-152020-07-16$103.07$100.041.38%2
2020-07-132020-07-14$99.80$101.12-2.62%2
2020-07-092020-07-10$92.95$102.981.50%2
2020-07-072020-07-08$92.66$91.060.91%2
2020-06-122020-07-06$62.35$91.4418.98%16
2020-06-032020-06-11$58.86$64.8612.76%7
2020-02-212020-03-05$60.07$48.30-13.44%10
2020-02-052020-02-20$48.98$59.962.96%11
2020-02-032020-02-04$52.00$59.1415.74%2
2020-01-302020-01-31$42.72$43.378.07%2
2020-01-272020-01-29$37.20$38.730.14%3
2020-01-232020-01-24$38.15$37.650.21%2
2020-01-162020-01-22$34.23$37.974.28%4
2020-01-142020-01-15$35.86$34.571.83%2
2020-01-102020-01-13$31.88$34.99-0.69%2
2020-01-082020-01-09$32.81$32.093.77%2
2020-01-062020-01-07$30.10$31.271.38%2
2019-12-312020-01-03$27.89$29.532.83%3
2019-12-272019-12-30$28.69$27.65-0.26%2
2019-12-242019-12-26$28.35$28.730.99%2
2019-12-202019-12-23$27.04$27.950.15%2
2019-12-182019-12-19$26.21$26.942.83%2
2019-11-202019-12-17$23.48$25.274.79%19
2019-11-182019-11-19$23.33$23.97-0.65%2
2019-11-142019-11-15$23.29$23.480.59%2
2019-11-122019-11-13$23.33$23.070.96%2
2019-11-082019-11-11$22.48$23.010.22%2
2019-10-302019-11-07$21.00$22.372.46%7
2019-10-282019-10-29$21.85$21.08-0.26%2
2019-10-162019-10-25$17.32$21.8812.82%8
2019-09-122019-09-25$16.39$15.25-7.91%10
2019-07-242019-08-13$17.66$15.67-9.65%15
2018-11-072018-12-21$23.21$21.32-6.06%31
2018-08-032018-08-20$23.21$20.56-10.18%12
2018-06-202018-07-06$24.15$20.59-10.03%12
2018-06-182018-06-19$24.72$23.502.67%2
2018-06-122018-06-15$22.85$23.885.98%4
2018-03-142018-03-15$21.78$21.71-3.72%2
2018-02-262018-03-02$23.83$22.34-4.96%5
2018-01-222018-02-09$23.44$20.69-8.08%15
2017-09-182017-09-26$25.67$23.02-7.53%7
2017-08-042017-08-21$23.79$22.52-0.04%12
2017-06-122017-07-06$23.93$20.59-6.88%18
2017-04-122017-06-09$19.79$23.8215.58%41
2017-04-052017-04-11$19.67$20.582.13%5
2017-03-282017-04-04$18.50$20.258.17%6