Strategy Zoo / S0804

LongTermTrend_V0804

ARCHIVEDhybrid

crossoverlogic of LongTermTrend_V0733 with risk overlay of PriceMomentum_V0671

Fitness
0.6844
Generation
37
Complexity
25
Created
2026-09-26

Lineage

Parents (2)
PriceMomentum_V0671S0671 · gen 31ARCHIVEDcrossover

logic of PriceMomentum_V0539 with risk overlay of LongTermTrend_V0472

LongTermTrend_V0733S0733 · gen 33ARCHIVEDcrossover

changed cumret_252d threshold -0.1997 -> -0.0248

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0804  [hybrid]
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.0248 and dist_sma_50 > -0.0774) or ((macd_hist > 0.0 and close > sma_50) or ((breakout_50 == 1 and rel_volume > 2.0784) 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
if regime.volatility == "HIGH_VOLATILITY": position *= 0.41

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR9.3%91.4%14.1%24.1%
Total Return103.6%601.7%63.4%2302.9%
Sharpe0.471.960.610.89
Sortino0.452.580.600.93
Calmar0.215.370.420.54
Volatility26.1%36.4%27.9%29.0%
Max DD-44.3%-17.0%-33.4%-44.3%
Win Rate46.0%59.2%38.0%48.3%
Avg Win5.4%6.6%8.0%6.4%
Avg Loss-3.3%-2.2%-2.9%-3.0%
Payoff1.623.022.762.17
Expectancy0.7%3.0%1.2%1.6%
Profit Factor1.384.381.692.03
Trades1397650265
Avg Holding Days7.05.88.77.0
Turnover31.840.425.331.9
Exposure33.7%39.7%34.4%35.1%

Growth of $100

LongTermTrend_V0804 vs TSLA Buy & Hold
LongTermTrend_V0804 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
20169.8%0.67-18.2%11
201712.5%0.65-15.2%24
2018-6.9%-0.31-16.5%11
201911.1%0.49-22.6%8
2020268.7%3.20-10.6%36
202146.6%1.29-17.0%26
202214.0%0.63-14.5%13

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 testDOWNTREND27212.5%0.7121%
hidden testEXPENSIVE8322.2%0.6444%
hidden testEXTREME4879.4%2.2929%
hidden testHIGH VOLATILITY2547.3%0.3119%
hidden testLOW VOLATILITY43259.8%2.2741%
hidden testMEDIUM VOLATILITY250-46.7%-1.3938%
hidden testNORMAL80512.9%0.4834%
hidden testSIDEWAYS293-0.8%-0.0343%
hidden testUPTREND37134.6%1.0537%
trainDOWNTREND518-9.9%-0.5916%
trainEXPENSIVE31132.1%1.0346%
trainEXTREME100181.9%4.7650%
trainHIGH VOLATILITY69921.0%0.7518%
trainLOW VOLATILITY74528.2%1.2348%
trainMEDIUM VOLATILITY568-19.4%-0.7134%
trainNORMAL1,601-2.2%-0.0930%
trainSIDEWAYS59210.9%0.4634%
trainUPTREND90226.0%0.8344%
validationDOWNTREND12545.7%1.9315%
validationEXPENSIVE13875.1%1.8247%
validationEXTREME144201.6%4.3045%
validationHIGH VOLATILITY25845.1%1.2919%
validationLOW VOLATILITY18331.5%1.3051%
validationMEDIUM VOLATILITY315116.4%2.7250%
validationNORMAL47430.9%1.0136%
validationSIDEWAYS20610.3%0.3833%
validationUPTREND425108.8%2.5450%

Trades (full period)

latest 100 of 266
EntryExitEntry PxExit PxReturnDays
2026-09-18—$364.27—3.10%6OPEN
2026-08-242026-09-17$348.95$366.20-1.52%18
2026-07-012026-07-15$425.30$394.46-6.19%10
2026-06-032026-06-04$423.70$418.45-0.21%2
2026-05-272026-06-02$440.36$423.74-4.27%5
2026-05-222026-05-26$426.01$433.591.75%2
2026-04-162026-05-21$388.90$417.856.24%26
2025-12-312026-01-02$449.72$438.07-1.24%2
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-082025-10-06$346.40$453.2522.27%21
2025-09-042025-09-05$338.53$350.841.13%2
2025-08-252025-09-03$346.60$334.09-3.32%7
2025-08-082025-08-22$329.65$340.01-0.87%11
2025-07-212025-08-01$328.49$302.63-6.67%10
2025-06-252025-06-26$327.55$325.78-1.64%2
2025-06-042025-06-05$332.05$284.70-3.75%2
2025-04-282025-06-03$285.88$344.2710.51%26
2025-01-062025-01-07$411.05$394.36-0.02%2
2025-01-022025-01-03$379.28$410.44-2.57%2
2024-12-302024-12-31$417.41$403.84-1.43%2
2024-12-262024-12-27$454.13$431.66-0.80%2
2024-12-062024-12-24$389.22$462.289.43%13
2024-12-042024-12-05$357.93$369.490.68%2
2024-12-022024-12-03$357.09$351.421.33%2
2024-10-252024-11-29$269.19$345.1611.21%25
2024-09-062024-10-04$210.73$250.080.20%21
2024-08-202024-08-30$221.10$214.11-3.09%9
2024-06-172024-07-22$187.44$251.5134.79%24
2024-04-302024-05-30$183.28$178.79-4.06%22
2023-12-152024-01-02$253.50$248.42-1.22%11
2023-11-162023-12-14$233.59$251.05-1.66%20
2023-10-062023-10-17$260.53$254.85-2.55%8
2023-08-302023-09-25$256.90$246.99-4.97%18
2023-07-272023-07-28$255.71$266.44-3.46%2
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-282023-06-29$256.24$257.502.21%2
2023-05-222023-06-27$188.87$250.2133.55%25
2023-03-242023-04-06$190.41$185.06-3.68%10
2023-01-272023-02-23$177.90$202.0710.12%19
2022-09-132022-09-23$292.13$275.33-5.39%9
2022-08-242022-08-25$297.10$296.070.02%2
2022-08-222022-08-23$289.91$296.45-2.47%2
2022-08-152022-08-19$309.32$296.670.75%5
2022-06-272022-08-12$244.92$300.0319.22%34
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-03-212022-04-11$307.05$325.3113.04%16
2022-01-202022-01-21$332.09$314.63-0.06%2
2022-01-182022-01-19$343.50$331.88-0.83%2
2022-01-132022-01-14$343.85$349.87-2.85%2
2021-12-282022-01-12$362.82$368.744.31%12
2021-11-242021-11-26$372.00$360.640.43%2
2021-11-222021-11-23$385.62$369.680.63%2
2021-11-182021-11-19$365.46$379.020.20%2
2021-11-162021-11-17$351.58$363.001.59%2
2021-11-122021-11-15$344.47$337.80-1.24%2
2021-10-122021-11-11$268.57$354.5031.28%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-252021-08-26$237.07$233.720.18%2
2021-08-232021-08-24$235.43$236.163.62%2
2021-08-192021-08-20$224.49$226.75-2.45%2
2021-08-022021-08-17$236.56$221.90-0.35%12
2021-07-212021-07-22$218.43$216.42-0.99%2
2021-07-162021-07-19$214.74$215.41-1.18%2
2021-07-132021-07-15$222.85$216.87-4.91%3
2021-06-142021-07-12$205.90$228.577.50%20
2021-05-032021-05-04$228.30$224.53-3.66%2
2021-04-062021-04-29$230.54$225.672.06%18
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-182020-12-17$162.21$218.6340.75%21
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.430.70%2
2020-10-072020-10-08$141.77$141.971.04%2