Strategy Zoo / S0738

LongTermTrend_V0738

ARCHIVEDhybrid

llmAdded regime gating (require UPTREND, medium volatility, normal bubble); replaced fragile ret_20d-only entry with regime-aware trend/breakout gate plus momentum and RSI filters and a looser 252d cumulative return floor; improved exits to include short-term momentum stop, weakening trend (sma_50_slope < 0), and RSI overbought; introduced volatility-based position sizing (reduce size at high vol, full size at low vol) and lowered base position to 0.8 to control drawdowns.

Fitness
0.4295
Generation
34
Complexity
13
Created
2026-09-25

Lineage

Parents (1)
LongTermTrend_V0519S0519 · gen 24ARCHIVEDllm

entry from LongTermTrend_V0323, exit from PriceMomentum_V0449

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0738  [hybrid]
if flat and (((close > sma_50 and sma_50_slope > 0.0) or breakout_20 > 0.0) and ret_20d > 0.03 and rsi_14 < 75.0 and cumret_252d > -0.25):
    position = 0.8
if long and (ret_20d < -0.02 or sma_50_slope < 0.0 or rsi_14 > 80.0):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR14.2%36.6%4.7%16.1%
Total Return188.9%154.9%18.7%795.2%
Sharpe0.671.110.310.69
Sortino0.631.000.260.62
Calmar0.240.890.130.27
Volatility24.4%33.0%25.5%26.6%
Max DD-59.8%-41.0%-37.1%-59.8%
Win Rate43.5%45.9%41.9%43.6%
Avg Win7.6%12.7%7.0%8.7%
Avg Loss-3.2%-4.3%-3.8%-3.6%
Payoff2.412.961.832.43
Expectancy1.5%3.5%0.7%1.8%
Profit Factor1.852.521.321.88
Trades923743172
Avg Holding Days9.09.27.38.7
Turnover18.519.718.518.7
Exposure29.5%32.3%23.4%28.5%

Growth of $100

LongTermTrend_V0738 vs TSLA Buy & Hold
LongTermTrend_V0738 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-0.2%0.04-13.2%14
201711.4%0.63-20.6%10
2018-31.0%-1.55-33.4%10
201912.9%0.58-27.8%10
2020233.4%2.76-22.2%17
202117.7%0.85-13.4%8
2022-37.2%-2.16-37.1%12

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 testDOWNTREND271-20.7%-1.983%
hidden testEXPENSIVE8393.9%2.1864%
hidden testEXTREME48200.3%5.0750%
hidden testHIGH VOLATILITY25426.0%0.7824%
hidden testLOW VOLATILITY43118.8%1.0122%
hidden testMEDIUM VOLATILITY250-29.4%-1.1025%
hidden testNORMAL804-12.5%-0.5818%
hidden testSIDEWAYS293-12.9%-0.6617%
hidden testUPTREND37145.2%1.2843%
trainDOWNTREND518-1.5%-0.223%
trainEXPENSIVE31136.4%1.2151%
trainEXTREME100304.1%5.9369%
trainHIGH VOLATILITY69927.3%0.8526%
trainLOW VOLATILITY74527.0%1.5637%
trainMEDIUM VOLATILITY568-11.6%-0.5524%
trainNORMAL1,601-5.7%-0.2923%
trainSIDEWAYS592-20.4%-1.2217%
trainUPTREND90250.4%1.5253%
validationDOWNTREND125-7.6%-0.962%
validationEXPENSIVE13851.1%1.2146%
validationEXTREME144203.8%4.0453%
validationHIGH VOLATILITY25837.0%0.8629%
validationLOW VOLATILITY1836.6%0.3636%
validationMEDIUM VOLATILITY31553.9%1.8033%
validationNORMAL474-18.3%-0.9222%
validationSIDEWAYS206-27.2%-1.6611%
validationUPTREND42580.7%1.9251%

Trades (full period)

latest 100 of 172
EntryExitEntry PxExit PxReturnDays
2026-09-232026-09-24$380.12—0.10%2
2026-09-042026-09-08$354.08$368.16-4.89%2
2026-09-012026-09-02$356.09$357.01-2.74%2
2026-08-242026-08-25$348.95$350.25-3.22%2
2026-05-142026-06-08$443.30$408.95-9.93%17
2026-05-122026-05-13$433.45$445.27-2.23%2
2026-05-082026-05-11$428.35$445.003.05%2
2026-04-202026-04-21$392.50$386.42-1.78%2
2025-12-122026-01-07$458.96$431.41-2.56%17
2025-09-192025-11-14$426.07$404.35-2.67%41
2025-08-252025-09-18$346.60$416.8519.68%18
2025-08-122025-08-13$340.84$339.380.27%2
2025-05-162025-06-12$349.98$319.11-3.69%19
2025-05-142025-05-15$347.68$342.823.10%2
2025-05-122025-05-13$318.38$334.075.23%2
2025-04-302025-05-01$282.16$280.52-2.86%2
2025-04-282025-04-29$285.88$292.030.10%2
2024-12-192025-01-14$436.17$396.36-6.72%16
2024-11-132024-12-17$330.24$479.8631.68%24
2024-10-282024-11-12$262.51$328.4923.53%12
2024-10-032024-10-14$240.66$219.16-10.21%8
2024-09-302024-10-01$261.63$258.020.20%2
2024-09-262024-09-27$254.22$260.46-1.03%2
2024-09-242024-09-25$254.27$257.021.21%2
2024-09-062024-09-20$210.73$238.254.71%11
2024-08-222024-08-23$210.66$220.32-4.67%2
2024-07-122024-08-02$248.23$207.67-7.98%16
2024-06-272024-07-03$197.42$246.3913.91%5
2024-06-102024-06-21$173.79$183.011.73%9
2024-04-302024-05-01$183.28$179.99-4.60%2
2024-03-042024-03-05$188.14$180.74-5.88%2
2024-02-292024-03-01$201.88$202.64-0.22%2
2024-01-032024-01-10$238.45$233.94-4.50%6
2023-12-282023-12-29$253.18$248.48-2.69%2
2023-12-202023-12-21$247.14$254.50-3.29%2
2023-12-152023-12-18$253.50$252.080.62%2
2023-11-292023-11-30$244.14$240.08-1.00%2
2023-09-152023-09-18$274.39$265.28-0.64%2
2023-09-122023-09-13$267.48$271.30-1.94%2
2023-06-222023-08-02$264.61$254.110.58%29
2023-05-302023-06-08$201.16$234.8612.66%8
2023-05-222023-05-23$188.87$185.773.71%2
2023-02-272023-03-08$207.63$182.00-3.82%8
2022-09-202022-09-23$308.73$275.33-5.47%4
2022-09-122022-09-14$304.42$302.61-2.16%3
2022-08-012022-08-29$297.28$284.82-2.50%21
2022-07-282022-07-29$280.90$297.151.61%2
2022-07-222022-07-25$272.24$268.43-0.00%2
2022-07-112022-07-12$234.34$233.07-5.39%2
2022-04-052022-04-27$363.75$293.84-19.20%16
2022-03-292022-03-30$366.52$364.660.41%2
2022-03-252022-03-28$336.88$363.95-0.42%2
2022-03-232022-03-24$333.04$337.970.25%2
2022-03-212022-03-22$307.05$331.331.23%2
2022-01-042022-01-19$383.20$331.88-11.50%11
2021-12-092021-12-10$334.60$339.01-5.03%2
2021-11-092021-12-01$341.17$365.00-1.19%16
2021-08-032021-10-19$236.58$288.0917.68%55
2021-06-292021-06-30$226.92$226.57-1.08%2
2021-06-242021-06-25$226.61$223.962.67%2
2021-04-142021-04-15$244.08$246.28-3.32%2
2021-01-122021-02-11$283.15$270.55-0.64%22
2020-11-182021-01-08$162.21$293.3463.97%35
2020-10-222020-10-29$141.93$136.94-3.29%6
2020-10-072020-10-20$141.77$140.653.11%10
2020-09-032020-09-24$135.67$129.26-11.49%15
2020-08-142020-08-28$110.05$147.5629.50%11
2020-07-222020-08-10$106.16$94.57-5.95%14
2020-07-172020-07-21$100.06$104.567.42%3
2020-05-152020-07-07$53.28$92.6653.93%36
2020-05-112020-05-12$54.09$53.96-0.95%2
2020-04-302020-05-01$52.13$46.75-2.02%2
2020-04-282020-04-29$51.27$53.37-3.13%2
2020-04-202020-04-21$49.76$45.78-0.96%2
2020-04-162020-04-17$49.68$50.261.52%2
2020-04-142020-04-15$47.33$48.667.08%2
2020-02-062020-03-04$49.93$49.971.44%19
2020-01-282020-01-31$37.79$43.3711.62%4
2020-01-172020-01-23$34.03$38.158.53%4
2019-12-312020-01-07$27.89$31.276.89%5
2019-11-212019-12-20$23.66$27.0411.54%21
2019-10-302019-11-12$21.00$23.337.09%10
2019-10-152019-10-28$17.19$21.8521.74%10
2019-09-122019-09-27$16.39$16.14-1.54%12
2019-07-222019-08-08$17.05$15.89-7.70%14
2019-07-182019-07-19$16.90$17.21-0.57%2
2019-07-152019-07-16$16.90$16.832.59%2
2019-07-112019-07-12$15.91$16.34-0.27%2
2019-04-042019-04-05$17.85$18.33-6.74%2
2019-01-182019-01-22$20.15$19.93-10.53%2
2018-11-072018-12-19$23.21$22.20-0.96%29
2018-11-052018-11-06$22.76$22.74-1.32%2
2018-11-012018-11-02$22.95$23.091.49%2
2018-10-292018-10-30$22.32$21.990.79%2
2018-08-032018-08-20$23.21$20.56-10.18%12
2018-06-122018-07-06$22.85$20.59-5.58%18
2018-06-072018-06-08$21.07$21.18-1.01%2
2018-03-132018-03-19$22.79$20.90-5.77%5
2018-02-262018-03-02$23.83$22.34-4.96%5
2018-01-222018-02-09$23.44$20.69-8.08%15