Strategy Zoo / S0304

LongTermTrend_V0304

ARCHIVEDhybrid

structuralswapped indicator ret_20d -> ret_1d

Fitness
0.4312
Generation
14
Complexity
8
Created
2026-09-18

Lineage

Parents (1)
LongTermTrend_V0287S0287 · gen 13ARCHIVEDstructural

removed entry condition: cumret_252d > -0.1997

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0304  [hybrid]
if flat and (((close > sma_200 and sma_200_slope > 0.0) or ret_20d > 0.05) and ret_1d > -0.0578):
    position = 1.0
if long and ret_20d < 0.0392:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR7.5%71.9%9.6%19.1%
Total Return77.9%407.7%40.1%1203.2%
Sharpe0.381.220.430.62
Sortino0.441.500.520.74
Calmar0.101.310.160.26
Volatility36.3%58.3%39.6%42.5%
Max DD-73.4%-55.0%-58.2%-73.4%
Win Rate41.0%43.4%32.9%39.3%
Avg Win5.4%10.0%6.2%6.8%
Avg Loss-2.8%-3.7%-2.3%-2.8%
Payoff1.942.712.642.39
Expectancy0.6%2.2%0.5%0.9%
Profit Factor1.352.071.291.55
Trades271113143527
Avg Holding Days4.95.34.24.8
Turnover68.075.377.771.9
Exposure52.6%64.0%51.5%54.7%

Growth of $100

LongTermTrend_V0304 vs TSLA Buy & Hold
LongTermTrend_V0304 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
201614.6%0.86-21.8%13
20171.4%0.19-29.1%56
2018-48.4%-2.19-49.8%23
201929.5%0.95-23.2%17
2020359.7%2.28-55.0%34
202115.3%0.54-40.1%54
2022-19.0%-0.39-36.0%25

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 testDOWNTREND2673.1%0.1030%
hidden testEXPENSIVE83104.9%1.9971%
hidden testEXTREME48134.4%2.3081%
hidden testHIGH VOLATILITY25416.5%0.3249%
hidden testLOW VOLATILITY42937.3%1.1855%
hidden testMEDIUM VOLATILITY248-17.8%-0.4649%
hidden testNORMAL8000.8%0.0248%
hidden testSIDEWAYS293-29.9%-0.8553%
hidden testUPTREND37163.9%1.3565%
trainDOWNTREND518-15.6%-0.7418%
trainEXPENSIVE31171.0%1.5880%
trainEXTREME100407.4%5.5199%
trainHIGH VOLATILITY69924.6%0.5148%
trainLOW VOLATILITY74525.5%1.0159%
trainMEDIUM VOLATILITY568-15.1%-0.4750%
trainNORMAL1,601-22.0%-0.7444%
trainSIDEWAYS592-19.2%-0.5946%
trainUPTREND90252.2%1.1776%
validationDOWNTREND12547.2%2.2613%
validationEXPENSIVE13854.9%0.7977%
validationEXTREME144321.5%3.7495%
validationHIGH VOLATILITY25871.8%0.9062%
validationLOW VOLATILITY18315.7%0.5764%
validationMEDIUM VOLATILITY315103.1%2.0765%
validationNORMAL474-0.0%-0.0051%
validationSIDEWAYS206-67.9%-1.4158%
validationUPTREND425145.8%2.1282%

Trades (full period)

latest 100 of 528
EntryExitEntry PxExit PxReturnDays
2026-08-21—$362.86—5.31%20OPEN
2026-07-132026-07-14$394.76$396.18-3.38%2
2026-07-072026-07-08$402.90$394.06-4.21%2
2026-07-012026-07-02$425.30$393.450.92%2
2026-05-042026-06-08$392.51$408.95-0.15%25
2026-04-292026-04-30$372.80$381.63-1.06%2
2026-04-202026-04-22$392.50$387.51-3.74%3
2026-03-172026-03-18$399.27$392.780.74%2
2026-03-132026-03-16$391.20$395.56-1.16%2
2026-03-112026-03-12$407.82$395.011.95%2
2026-03-092026-03-10$398.68$399.240.29%2
2026-03-052026-03-06$405.55$396.73-0.30%2
2026-03-032026-03-04$392.43$405.94-2.90%2
2026-02-272026-03-02$402.51$403.32-1.68%2
2026-02-252026-02-26$417.40$408.581.76%2
2026-02-232026-02-24$399.83$409.38-3.11%2
2026-02-192026-02-20$411.71$411.82-0.11%2
2026-02-172026-02-18$410.63$411.32-1.83%2
2026-02-122026-02-13$417.07$417.44-2.81%2
2026-02-102026-02-11$425.21$428.271.69%2
2026-02-062026-02-09$411.11$417.323.30%2
2026-02-042026-02-05$406.01$397.21-3.98%2
2026-02-022026-02-03$421.81$421.96-2.20%2
2026-01-292026-01-30$416.56$430.41-3.65%2
2026-01-272026-01-28$430.90$431.46-1.19%2
2026-01-232026-01-26$449.06$435.20-0.27%2
2026-01-212026-01-22$431.44$449.362.70%2
2026-01-162026-01-20$437.50$419.25-0.44%2
2026-01-142026-01-15$439.20$438.57-1.99%2
2026-01-122026-01-13$448.96$447.200.69%2
2026-01-082026-01-09$435.80$445.010.82%2
2026-01-062026-01-07$432.96$431.41-4.34%2
2025-12-122026-01-05$458.96$451.67-2.17%15
2025-12-102025-12-11$451.45$446.891.21%2
2025-12-082025-12-09$439.58$445.17-3.59%2
2025-12-042025-12-05$454.53$455.001.54%2
2025-12-022025-12-03$429.24$446.74-0.41%2
2025-11-282025-12-01$430.17$430.140.64%2
2025-11-252025-11-26$419.40$426.580.19%2
2025-11-212025-11-24$391.09$417.78-1.25%2
2025-11-192025-11-20$403.99$395.230.48%2
2025-11-172025-11-18$408.92$401.250.93%2
2025-11-122025-11-13$430.60$401.99-2.25%2
2025-11-102025-11-11$445.23$439.623.45%2
2025-11-052025-11-07$462.07$429.520.17%3
2025-11-032025-11-04$468.37$444.262.38%2
2025-10-302025-10-31$440.10$456.56-4.83%2
2025-10-282025-10-29$460.55$461.511.60%2
2025-10-242025-10-27$433.72$452.42-3.60%2
2025-10-222025-10-23$438.97$448.98-1.02%2
2025-10-202025-10-21$447.43$442.601.65%2
2025-10-162025-10-17$428.75$439.31-1.67%2
2025-09-112025-10-15$368.81$435.1523.18%25
2025-08-252025-09-10$346.60$347.791.84%12
2025-08-192025-08-20$329.31$323.90-1.94%2
2025-08-072025-08-18$322.27$335.163.12%8
2025-08-052025-08-06$308.72$319.91-0.37%2
2025-07-312025-08-01$308.27$302.63-3.57%2
2025-07-292025-07-30$321.20$319.04-1.55%2
2025-07-232025-07-24$332.56$305.30-0.06%2
2025-07-212025-07-22$328.49$332.11-0.55%2
2025-07-172025-07-18$319.41$329.65-0.90%2
2025-07-152025-07-16$310.78$321.67-2.13%2
2025-07-032025-07-07$315.35$293.94-0.29%2
2025-07-012025-07-02$300.71$315.65-5.53%2
2025-06-272025-06-30$323.63$317.66-0.86%2
2025-06-252025-06-26$327.55$325.78-3.99%2
2025-06-232025-06-24$348.68$340.478.02%2
2025-06-182025-06-20$322.05$322.161.60%2
2025-06-162025-06-17$329.13$316.350.97%2
2025-06-122025-06-13$319.11$325.31-2.44%2
2025-06-102025-06-11$326.09$326.435.47%2
2025-05-052025-06-06$280.26$295.14-1.07%24
2025-04-292025-05-02$292.03$287.21-2.07%4
2025-04-152025-04-17$254.11$241.37-4.47%3
2025-04-102025-04-14$252.40$252.35-7.50%3
2025-04-082025-04-09$221.86$272.20-5.09%2
2025-03-262025-03-27$272.06$273.13-5.77%2
2025-03-032025-03-04$284.65$272.04-3.04%2
2025-02-272025-02-28$281.95$292.98-3.24%2
2025-02-242025-02-25$330.53$302.80-2.35%2
2025-02-202025-02-21$354.40$337.80-1.91%2
2025-02-182025-02-19$354.11$360.56-0.69%2
2025-02-132025-02-14$355.94$355.845.57%2
2025-02-102025-02-11$350.73$328.50-3.21%2
2025-02-062025-02-07$374.32$361.62-1.22%2
2025-02-042025-02-05$392.21$378.172.02%2
2025-01-312025-02-03$404.60$383.680.88%2
2025-01-292025-01-30$389.10$400.28-2.46%2
2025-01-272025-01-28$397.15$398.09-2.52%2
2025-01-232025-01-24$412.38$406.58-0.86%2
2025-01-212025-01-22$424.07$415.11-0.77%2
2025-01-162025-01-17$413.82$426.50-3.56%2
2025-01-142025-01-15$396.36$428.22-1.92%2
2025-01-102025-01-13$394.74$403.31-0.25%2
2024-11-062025-01-08$288.53$394.9456.55%43
2024-09-202024-10-11$238.25$217.80-2.31%16
2024-09-042024-09-18$219.41$227.207.99%11
2024-06-252024-08-01$187.35$216.8626.86%27
2024-06-182024-06-21$184.86$183.01-3.33%3