Strategy Zoo / S0872

LongTermTrend_V0872

ARCHIVEDhybrid

crossoverlogic of LongTermTrend_V0521 with risk overlay of PriceMomentum_V0641

Fitness
0.5528
Generation
40
Complexity
24
Created
2026-09-29

Lineage

Parents (2)
LongTermTrend_V0521S0521 · gen 24ARCHIVEDcrossover

entry = LongTermTrend_V0469 OR MACDMomentum_V0272

PriceMomentum_V0641S0641 · gen 29ARCHIVEDcrossover

swapped indicator ret_20d -> ret_60d

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0872  [hybrid]
require regime.trend in ['DOWNTREND', 'UPTREND']
if flat and ((((close > sma_200 and sma_200_slope > -0.0024) or ret_20d > 0.085) and ret_20d > 0.05 and cumret_252d > 0.0541) or ((macd_hist > 0.0 and close > sma_50) or ((breakout_50 == 1 and rel_volume > 1.5045) or ((macd_hist > 0.0 and close > sma_50) and sma_50 > sma_200)))):
    position = 1.0
if long and macd_hist < 0.0:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR15.2%72.2%8.0%23.3%
Total Return209.6%410.6%33.0%2065.0%
Sharpe0.631.460.410.80
Sortino0.601.550.350.76
Calmar0.332.190.170.48
Volatility28.7%43.9%29.6%32.6%
Max DD-46.5%-33.0%-48.0%-48.0%
Win Rate45.5%55.1%43.8%47.8%
Avg Win7.2%8.6%8.0%8.1%
Avg Loss-3.6%-3.7%-4.5%-3.8%
Payoff2.002.311.802.13
Expectancy1.3%3.1%1.0%1.9%
Profit Factor1.672.831.401.95
Trades1346948251
Avg Holding Days5.35.26.35.5
Turnover33.746.026.134.2
Exposure29.4%38.1%27.9%30.8%

Growth of $100

LongTermTrend_V0872 vs TSLA Buy & Hold
LongTermTrend_V0872 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
201626.4%1.81-12.5%12
20171.0%0.15-21.3%21
2018-22.3%-0.87-23.6%11
201935.3%1.44-13.1%6
2020319.4%2.58-24.2%36
202142.3%1.33-16.8%20
2022-25.2%-1.04-31.8%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 testDOWNTREND2733.4%0.1332%
hidden testEXPENSIVE8333.2%0.7052%
hidden testEXTREME48151.1%3.2248%
hidden testHIGH VOLATILITY2541.1%0.0340%
hidden testLOW VOLATILITY43346.7%2.3021%
hidden testMEDIUM VOLATILITY250-36.9%-1.2527%
hidden testNORMAL8061.5%0.0624%
hidden testSIDEWAYS293-11.6%-0.785%
hidden testUPTREND37137.0%0.9643%
trainDOWNTREND5181.2%0.0717%
trainEXPENSIVE31120.6%0.6052%
trainEXTREME100348.1%4.8783%
trainHIGH VOLATILITY69933.4%0.8529%
trainLOW VOLATILITY74520.5%1.0136%
trainMEDIUM VOLATILITY568-3.6%-0.1621%
trainNORMAL1,601-2.9%-0.1322%
trainSIDEWAYS59211.1%0.804%
trainUPTREND90232.6%0.8353%
validationDOWNTREND12550.4%1.9420%
validationEXPENSIVE13861.3%1.4149%
validationEXTREME144255.6%3.4071%
validationHIGH VOLATILITY25870.6%1.1838%
validationLOW VOLATILITY18316.9%0.8536%
validationMEDIUM VOLATILITY31585.6%2.2340%
validationNORMAL4746.3%0.2325%
validationSIDEWAYS206-14.1%-1.302%
validationUPTREND425105.6%1.8861%

Trades (full period)

latest 100 of 252
EntryExitEntry PxExit PxReturnDays
2026-09-18—$364.27—-2.49%7OPEN
2026-08-242026-09-17$348.95$366.20-1.52%18
2026-07-072026-07-08$402.90$394.06-4.21%2
2026-07-012026-07-06$425.30$419.77-6.64%3
2026-05-292026-06-01$435.79$415.88-1.63%2
2026-04-212026-05-08$386.42$428.354.70%14
2026-04-162026-04-20$388.90$392.502.01%3
2025-12-042025-12-30$454.53$454.432.68%18
2025-11-062025-11-07$445.91$429.52-3.69%2
2025-11-032025-11-05$468.37$462.07-2.89%3
2025-10-242025-10-27$433.72$452.42-3.60%2
2025-10-142025-10-15$429.24$435.15-1.73%2
2025-10-092025-10-10$435.54$413.49-0.92%2
2025-10-072025-10-08$433.09$438.69-4.64%2
2025-09-122025-10-06$395.94$453.2516.32%17
2025-09-042025-09-05$338.53$350.841.13%2
2025-08-212025-08-22$320.11$340.01-1.37%2
2025-08-082025-08-11$329.65$339.032.09%2
2025-07-292025-08-01$321.20$302.63-5.51%4
2025-07-212025-07-25$328.49$316.06-7.57%5
2025-06-252025-06-26$327.55$325.78-3.99%2
2025-06-042025-06-05$332.05$284.70-3.75%2
2025-05-222025-06-03$341.04$344.272.21%8
2025-04-282025-05-12$285.88$318.384.46%11
2025-04-102025-04-22$252.40$237.97-16.60%8
2025-01-062025-01-07$411.05$394.36-0.05%2
2025-01-022025-01-03$379.28$410.44-6.28%2
2024-12-302024-12-31$417.41$403.84-3.50%2
2024-12-262024-12-27$454.13$431.66-1.96%2
2024-12-062024-12-24$389.22$462.2816.31%13
2024-12-042024-12-05$357.93$369.491.65%2
2024-12-022024-12-03$357.09$351.423.25%2
2024-10-252024-11-29$269.19$345.1627.55%25
2024-10-032024-10-04$240.66$250.08-3.55%2
2024-09-062024-09-27$210.73$260.4610.22%16
2024-08-202024-08-30$221.10$214.11-7.57%9
2024-07-022024-07-22$231.26$251.5113.76%14
2024-04-302024-05-29$183.28$176.19-9.10%21
2023-08-302023-09-05$256.90$256.49-4.92%4
2023-07-202023-07-21$262.90$260.02-9.93%2
2023-07-182023-07-19$293.34$291.260.82%2
2023-07-142023-07-17$281.38$290.381.05%2
2023-07-122023-07-13$271.99$277.900.61%2
2023-07-102023-07-11$269.61$269.79-1.95%2
2023-07-052023-07-07$282.48$274.43-1.37%3
2023-06-302023-07-03$261.77$279.821.46%2
2023-06-022023-06-27$213.97$250.2115.93%17
2023-05-222023-05-31$188.87$203.9311.45%7
2023-01-272023-02-10$177.90$196.8929.11%11
2022-09-152022-09-23$303.75$275.33-4.82%7
2022-09-132022-09-14$292.13$302.61-4.23%2
2022-08-162022-08-19$306.56$296.67-2.28%4
2022-08-052022-08-08$288.17$290.42-6.82%2
2022-06-242022-08-02$245.71$300.5926.22%27
2022-04-192022-04-20$342.72$325.732.17%2
2022-04-142022-04-18$328.33$334.76-3.85%2
2022-04-122022-04-13$328.98$340.790.93%2
2022-04-052022-04-11$363.75$325.31-10.66%5
2022-01-182022-01-19$343.50$331.88-2.02%2
2022-01-132022-01-14$343.85$349.87-6.94%2
2021-12-282022-01-12$362.82$368.74-2.90%12
2021-11-242021-11-26$372.00$360.640.43%2
2021-11-222021-11-23$385.62$369.681.54%2
2021-11-182021-11-19$365.46$379.020.48%2
2021-11-162021-11-17$351.58$363.003.88%2
2021-11-122021-11-15$344.47$337.80-3.03%2
2021-10-122021-11-11$268.57$354.5034.59%23
2021-10-082021-10-11$261.83$263.98-1.22%2
2021-09-272021-10-07$263.79$264.540.88%9
2021-09-232021-09-24$251.21$258.130.03%2
2021-08-312021-09-21$245.24$246.46-0.30%15
2021-08-262021-08-27$233.72$237.31-1.61%2
2021-08-242021-08-25$236.16$237.070.11%2
2021-08-192021-08-20$224.49$226.75-2.45%2
2021-08-052021-08-17$238.21$221.90-3.67%9
2021-02-052021-02-08$284.08$287.810.06%2
2021-02-032021-02-04$284.90$283.33-2.27%2
2021-02-012021-02-02$279.94$290.935.63%2
2021-01-282021-01-29$278.48$264.51-3.52%2
2021-01-262021-01-27$294.36$288.050.06%2
2021-01-052021-01-25$245.04$293.6015.78%14
2020-12-312021-01-04$235.22$243.261.37%2
2020-12-292020-12-30$222.00$231.590.15%2
2020-12-242020-12-28$220.59$221.232.24%2
2020-12-182020-12-23$231.67$215.33-2.56%4
2020-11-192020-12-17$166.42$218.6327.72%20
2020-11-092020-11-11$140.42$139.04-4.75%3
2020-10-222020-10-23$141.93$140.210.54%2
2020-10-132020-10-20$148.88$140.65-2.79%6
2020-10-092020-10-12$144.67$147.431.70%2
2020-10-072020-10-08$141.77$141.972.53%2
2020-09-232020-09-24$126.79$129.26-10.53%2
2020-09-212020-09-22$149.80$141.411.44%2
2020-09-172020-09-18$141.14$147.38-4.35%2
2020-09-152020-09-16$149.92$147.256.98%2
2020-09-112020-09-14$124.24$139.870.17%2
2020-09-092020-09-10$122.09$123.7810.71%2
2020-08-182020-09-08$125.81$110.0713.72%15
2020-08-142020-08-17$110.05$122.381.63%2
2020-08-072020-08-10$96.85$94.57-2.67%2