Strategy Zoo / S0472

LongTermTrend_V0472

ARCHIVEDhybrid

crossoverlogic of LongTermTrend_V0452 with risk overlay of Breakout20_V0374

Fitness
0.6811
Generation
22
Complexity
25
Created
2026-09-19

Lineage

Parents (2)
Breakout20_V0374S0374 · gen 17ARCHIVEDcrossover

changed dist_sma_20 threshold -0.0187 -> -0.121; reduce exposure to 41% during HIGH_VOLATILITY

LongTermTrend_V0452S0452 · gen 21ARCHIVEDcrossover

entry = LongTermTrend_V0235 OR MACDMomentum_V0272

Children (7)
LongTermTrend_V0575S0575 · gen 26ARCHIVEDllm
LongTermTrend_V0578S0578 · gen 26ARCHIVEDstructural
LongTermTrend_V0587S0587 · gen 27REJECTEDllm
LongTermTrend_V0645S0645 · gen 29ARCHIVEDstructural
LongTermTrend_V0650S0650 · gen 30ARCHIVEDcrossover
PriceMomentum_V0669S0669 · gen 31ARCHIVEDcrossover
PriceMomentum_V0671S0671 · gen 31ARCHIVEDcrossover

Strategy Logic (pseudocode)

# LongTermTrend_V0472  [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.1997 and dist_sma_50 > -0.0774) 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
if regime.volatility == "HIGH_VOLATILITY": position *= 0.41

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR8.8%91.4%16.3%24.5%
Total Return96.4%601.7%74.8%2380.0%
Sharpe0.451.960.680.90
Sortino0.442.580.680.95
Calmar0.195.370.520.53
Volatility26.2%36.4%28.2%29.1%
Max DD-46.0%-17.0%-31.4%-46.0%
Win Rate44.5%59.2%39.3%47.5%
Avg Win5.3%6.6%7.5%6.4%
Avg Loss-3.1%-2.2%-2.7%-2.8%
Payoff1.693.022.752.24
Expectancy0.6%3.0%1.3%1.5%
Profit Factor1.364.381.782.03
Trades1467656278
Avg Holding Days6.85.88.06.8
Turnover32.940.427.433.0
Exposure34.1%39.7%34.7%35.4%

Growth of $100

LongTermTrend_V0472 vs TSLA Buy & Hold
LongTermTrend_V0472 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-9.3%-0.43-14.9%16
201910.0%0.46-22.9%10
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 testDOWNTREND2679.7%0.5620%
hidden testEXPENSIVE8322.2%0.6444%
hidden testEXTREME4879.4%2.2929%
hidden testHIGH VOLATILITY25411.1%0.4620%
hidden testLOW VOLATILITY42958.2%2.2041%
hidden testMEDIUM VOLATILITY248-40.4%-1.1838%
hidden testNORMAL80015.1%0.5634%
hidden testSIDEWAYS293-0.8%-0.0343%
hidden testUPTREND37141.5%1.2438%
trainDOWNTREND518-9.2%-0.5417%
trainEXPENSIVE31132.1%1.0346%
trainEXTREME100181.9%4.7650%
trainHIGH VOLATILITY69920.1%0.7118%
trainLOW VOLATILITY74528.0%1.2248%
trainMEDIUM VOLATILITY568-19.5%-0.7235%
trainNORMAL1,601-2.7%-0.1131%
trainSIDEWAYS5929.3%0.3934%
trainUPTREND90225.6%0.8144%
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 279
EntryExitEntry PxExit PxReturnDays
2026-09-18———-0.10%1OPEN
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-10-092024-10-10$241.05$238.77-1.61%2
2024-10-072024-10-08$240.83$244.50-3.90%2
2024-09-042024-10-04$219.41$250.089.53%23
2024-08-202024-08-30$221.10$214.11-3.09%9
2024-07-312024-08-01$232.07$216.861.66%2
2024-07-292024-07-30$232.10$222.622.21%2
2024-07-252024-07-26$220.25$219.800.73%2
2024-07-232024-07-24$246.38$215.99-0.92%2
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-262023-07-27$264.35$255.71-0.55%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