Strategy Zoo / S0348

LongTermTrend_V0348

ARCHIVEDhybrid

structuralreplaced exit rule with: sma_50 < ema_20

Fitness
0.1908
Generation
16
Complexity
10
Created
2026-09-18

Lineage

Parents (1)
LongTermTrend_V0235S0235 · gen 11ARCHIVEDstructural

added entry filter: dist_sma_50 > -0.0774

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0348  [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):
    position = 1.0
if long and sma_50 < ema_20:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR1.8%10.7%16.4%7.3%
Total Return14.9%35.8%75.0%180.4%
Sharpe0.200.460.750.38
Sortino0.210.480.670.38
Calmar0.040.230.700.15
Volatility28.1%39.9%23.8%30.0%
Max DD-47.4%-46.9%-23.2%-47.4%
Win Rate48.2%52.3%57.0%51.1%
Avg Win2.5%3.3%3.1%2.8%
Avg Loss-2.1%-3.0%-2.9%-2.5%
Payoff1.171.091.061.14
Expectancy0.1%0.3%0.5%0.2%
Profit Factor1.091.201.411.19
Trades357176128662
Avg Holding Days2.52.62.52.5
Turnover89.4117.369.390.2
Exposure27.3%36.6%20.5%27.5%

Growth of $100

LongTermTrend_V0348 vs TSLA Buy & Hold
LongTermTrend_V0348 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-4.9%-0.18-24.2%29
2017-6.6%-0.27-17.3%55
20188.4%0.40-28.2%34
2019-7.0%-0.37-10.4%29
202097.3%1.58-33.0%91
2021-0.3%0.13-16.5%61
2022-31.1%-0.86-36.4%23

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 testDOWNTREND267-5.7%-0.3118%
hidden testEXPENSIVE8356.0%1.8031%
hidden testEXTREME4892.7%1.9531%
hidden testHIGH VOLATILITY25419.8%0.6720%
hidden testLOW VOLATILITY42924.9%1.2821%
hidden testMEDIUM VOLATILITY2484.1%0.1721%
hidden testNORMAL8009.5%0.4619%
hidden testSIDEWAYS29310.3%0.6517%
hidden testUPTREND37141.1%1.3125%
trainDOWNTREND51814.3%0.5322%
trainEXPENSIVE3113.7%0.1338%
trainEXTREME100187.3%3.1547%
trainHIGH VOLATILITY69934.3%0.8732%
trainLOW VOLATILITY7454.2%0.2427%
trainMEDIUM VOLATILITY568-27.9%-1.2422%
trainNORMAL1,601-5.4%-0.2224%
trainSIDEWAYS5920.7%0.0326%
trainUPTREND9023.8%0.1231%
validationDOWNTREND125-32.7%-1.3323%
validationEXPENSIVE13817.6%0.4529%
validationEXTREME144123.6%2.1049%
validationHIGH VOLATILITY258-11.2%-0.2133%
validationLOW VOLATILITY18316.6%0.9729%
validationMEDIUM VOLATILITY31543.3%1.2144%
validationNORMAL474-13.6%-0.4235%
validationSIDEWAYS206-0.0%-0.0043%
validationUPTREND42542.1%0.9538%

Trades (full period)

latest 100 of 662
EntryExitEntry PxExit PxReturnDays
2026-08-242026-09-14$348.95$358.970.51%15
2026-06-032026-06-04$423.70$418.45-0.21%2
2026-06-012026-06-02$415.88$423.74-4.76%2
2026-05-282026-05-29$442.10$435.790.19%2
2026-05-262026-05-27$433.59$440.361.58%2
2026-05-212026-05-22$417.85$426.01-0.06%2
2026-05-152026-05-18$422.24$409.99-4.95%2
2026-05-132026-05-14$445.27$443.302.52%2
2026-05-112026-05-12$445.00$433.453.68%2
2026-04-202026-05-08$392.50$428.352.58%15
2025-12-302025-12-31$454.43$449.72-1.33%2
2025-12-262025-12-29$475.19$459.64-2.30%2
2025-12-232025-12-24$485.56$485.40-0.85%2
2025-12-192025-12-22$481.20$488.73-0.65%2
2025-12-172025-12-18$467.26$483.37-4.81%2
2025-12-152025-12-16$475.31$489.883.36%2
2025-11-062025-11-07$445.91$429.52-3.69%2
2025-11-032025-11-04$468.37$444.262.38%2
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-102025-10-13$413.49$435.90-5.26%2
2025-10-082025-10-09$438.69$435.541.09%2
2025-10-062025-10-07$453.25$433.095.24%2
2025-10-022025-10-03$436.00$429.83-5.30%2
2025-09-302025-10-01$444.72$459.460.14%2
2025-09-262025-09-29$440.40$443.213.81%2
2025-09-242025-09-25$442.79$423.393.77%2
2025-09-222025-09-23$434.21$425.851.71%2
2025-09-182025-09-19$416.85$426.07-2.31%2
2025-09-162025-09-17$421.62$425.862.62%2
2025-09-122025-09-15$395.94$410.047.15%2
2025-09-082025-09-09$346.40$346.97-1.46%2
2025-09-042025-09-05$338.53$350.841.13%2
2025-08-292025-09-02$333.87$329.36-3.70%2
2025-08-272025-08-28$349.60$345.98-0.79%2
2025-08-252025-08-26$346.60$351.671.74%2
2025-08-152025-08-18$330.56$335.16-1.69%2
2025-08-132025-08-14$339.38$335.58-0.63%2
2025-08-112025-08-12$339.03$340.842.64%2
2025-06-042025-06-05$332.05$284.70-3.75%2
2025-06-022025-06-03$342.69$344.27-1.29%2
2025-05-292025-05-30$358.43$346.460.23%2
2025-05-272025-05-28$362.89$356.906.73%2
2025-05-222025-05-23$341.04$339.341.72%2
2025-05-202025-05-21$343.82$334.620.31%2
2025-05-162025-05-19$349.98$342.091.89%2
2025-05-142025-05-15$347.68$342.823.87%2
2025-05-122025-05-13$318.38$334.076.54%2
2025-05-082025-05-09$284.82$298.262.91%2
2025-05-062025-05-07$275.35$276.22-1.95%2
2025-04-302025-05-05$282.16$280.26-1.85%4
2025-01-072025-01-08$394.36$394.94-4.26%2
2025-01-032025-01-06$410.44$411.058.01%2
2024-12-312025-01-02$403.84$379.28-3.45%2
2024-12-272024-12-30$431.66$417.41-5.14%2
2024-12-242024-12-26$462.28$454.137.15%2
2024-12-202024-12-23$421.06$430.60-3.66%2
2024-12-182024-12-19$440.13$436.17-8.47%2
2024-12-162024-12-17$463.02$479.865.94%2
2024-12-122024-12-13$418.10$436.23-1.77%2
2024-12-102024-12-11$400.99$424.772.67%2
2024-12-062024-12-09$389.22$389.795.13%2
2024-12-042024-12-05$357.93$369.491.65%2
2024-12-022024-12-03$357.09$351.423.25%2
2024-11-272024-11-29$332.89$345.16-1.78%2
2024-11-252024-11-26$338.59$338.23-4.16%2
2024-11-212024-11-22$339.64$352.56-0.90%2
2024-11-192024-11-20$346.00$342.031.94%2
2024-11-152024-11-18$320.72$338.742.86%2
2024-11-132024-11-14$330.24$311.180.33%2
2024-11-112024-11-12$350.00$328.498.75%2
2024-11-072024-11-08$296.91$321.222.70%2
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-10-032024-10-04$240.66$250.08-3.55%2
2024-10-012024-10-02$258.02$249.02-1.58%2
2024-09-272024-09-30$260.46$261.632.25%2
2024-09-252024-09-26$257.02$254.220.88%2
2024-09-232024-09-24$250.00$254.274.73%2
2024-09-042024-09-20$219.41$238.2515.59%13
2024-07-312024-08-01$232.07$216.864.04%2
2024-07-292024-07-30$232.10$222.625.39%2
2024-07-252024-07-26$220.25$219.801.77%2
2024-07-232024-07-24$246.38$215.99-2.24%2
2024-07-192024-07-22$239.20$251.51-4.22%2
2024-07-172024-07-18$248.50$249.23-3.34%2
2024-07-152024-07-16$252.64$256.561.57%2
2024-07-112024-07-12$241.03$248.23-8.64%2
2024-07-092024-07-10$262.33$263.263.51%2
2024-07-052024-07-08$251.52$252.941.88%2
2024-07-022024-07-03$231.26$246.399.99%2
2024-06-272024-06-28$197.42$197.880.33%2
2024-05-232024-05-24$173.74$179.24-3.73%2
2024-05-212024-05-22$186.60$180.116.45%2
2024-05-172024-05-20$177.46$174.951.30%2
2024-05-152024-05-16$173.99$174.84-2.20%2
2024-04-302024-05-10$183.28$168.47-11.56%9
2023-12-272023-12-28$261.44$253.181.68%2
2023-12-222023-12-26$252.54$256.61-0.97%2
2023-12-202023-12-21$247.14$254.50-4.11%2