Strategy Zoo / S0399

LongTermTrend_V0399

ARCHIVEDhybrid

structuraladded exit filter: breakout_50 == 1

Fitness
0.4287
Generation
18
Complexity
12
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_V0399  [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 (ret_20d < -0.03 or breakout_50 == 1):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR19.6%42.9%9.1%21.4%
Total Return318.0%192.0%37.8%1631.0%
Sharpe0.731.020.440.74
Sortino0.771.080.380.73
Calmar0.401.340.280.44
Volatility31.1%45.1%30.9%34.4%
Max DD-49.0%-32.1%-32.9%-49.0%
Win Rate78.5%75.7%76.9%77.5%
Avg Win3.4%5.1%4.5%4.0%
Avg Loss-7.4%-8.3%-10.9%-8.3%
Payoff0.460.610.410.48
Expectancy1.1%1.8%0.9%1.2%
Profit Factor1.691.901.361.67
Trades1637452289
Avg Holding Days6.16.06.86.2
Turnover41.049.328.439.4
Exposure41.2%48.7%34.3%41.0%

Growth of $100

LongTermTrend_V0399 vs TSLA Buy & Hold
LongTermTrend_V0399 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
20163.2%0.26-25.9%10
2017-15.0%-0.52-28.3%25
2018-23.8%-0.80-32.8%21
201935.0%1.34-9.5%14
2020231.2%2.24-30.6%36
20219.1%0.42-28.3%24
2022-19.6%-0.55-26.9%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 testDOWNTREND267-11.2%-0.5621%
hidden testEXPENSIVE8368.4%1.8854%
hidden testEXTREME48190.9%4.1454%
hidden testHIGH VOLATILITY2545.3%0.1334%
hidden testLOW VOLATILITY42934.0%1.4733%
hidden testMEDIUM VOLATILITY248-13.6%-0.4237%
hidden testNORMAL800-2.9%-0.1031%
hidden testSIDEWAYS2933.8%0.1530%
hidden testUPTREND37138.9%0.9647%
trainDOWNTREND5181.7%0.1116%
trainEXPENSIVE31122.6%0.6464%
trainEXTREME100378.3%5.4873%
trainHIGH VOLATILITY69946.3%1.1635%
trainLOW VOLATILITY74522.4%0.9849%
trainMEDIUM VOLATILITY568-6.1%-0.2239%
trainNORMAL1,6010.4%0.0235%
trainSIDEWAYS592-11.1%-0.4337%
trainUPTREND90256.8%1.4358%
validationDOWNTREND12530.4%1.4710%
validationEXPENSIVE138-1.3%-0.0355%
validationEXTREME144245.8%3.6476%
validationHIGH VOLATILITY25852.7%0.9244%
validationLOW VOLATILITY1837.3%0.2852%
validationMEDIUM VOLATILITY31562.9%1.4850%
validationNORMAL474-1.0%-0.0338%
validationSIDEWAYS206-28.2%-0.8243%
validationUPTREND42586.5%1.6063%

Trades (full period)

latest 100 of 290
EntryExitEntry PxExit PxReturnDays
2026-08-24—$348.95—0.28%19OPEN
2026-05-152026-06-08$422.24$408.95-11.98%16
2026-05-122026-05-14$433.45$443.30-0.14%3
2026-05-052026-05-11$389.37$445.008.91%5
2026-04-202026-04-24$392.50$376.30-6.90%5
2025-12-172026-01-07$467.26$431.41-11.80%14
2025-12-152025-12-16$475.31$489.883.36%2
2025-11-062025-11-14$445.91$404.35-13.18%7
2025-11-032025-11-04$468.37$444.262.38%2
2025-10-032025-10-29$429.83$461.515.42%19
2025-10-012025-10-02$459.46$436.003.11%2
2025-09-262025-09-30$440.40$444.724.48%3
2025-09-232025-09-25$425.85$423.391.77%3
2025-09-192025-09-22$426.07$434.212.01%2
2025-09-172025-09-18$425.86$416.850.80%2
2025-09-152025-09-16$410.04$421.623.36%2
2025-08-282025-09-12$345.98$395.945.28%11
2025-08-112025-08-27$339.03$349.606.47%13
2025-05-292025-06-13$358.43$325.31-10.77%12
2025-05-202025-05-28$343.82$356.905.87%6
2025-05-152025-05-19$342.82$342.090.46%3
2025-05-132025-05-14$334.07$347.684.72%2
2025-04-302025-05-12$282.16$318.381.93%9
2024-12-192025-01-14$436.17$396.36-8.55%16
2024-12-172024-12-18$479.86$440.133.43%2
2024-12-122024-12-16$418.10$463.022.49%3
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-11-262024-12-03$338.23$351.425.25%5
2024-11-132024-11-25$330.24$338.597.11%9
2024-11-112024-11-12$350.00$328.498.75%2
2024-11-072024-11-08$296.91$321.222.70%2
2024-10-012024-10-14$258.02$219.16-16.92%10
2024-09-272024-09-30$260.46$261.632.25%2
2024-09-042024-09-26$219.41$254.2221.80%17
2024-07-112024-08-02$241.03$207.67-17.80%17
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-04-302024-05-29$183.28$176.19-9.10%21
2023-11-172023-12-28$234.30$253.1811.70%28
2023-09-122023-09-28$267.48$246.38-12.27%13
2023-07-192023-08-02$291.26$254.11-11.18%11
2023-07-062023-07-18$276.54$293.342.59%9
2023-06-212023-07-05$259.46$282.481.75%10
2023-06-152023-06-20$255.90$274.451.26%3
2023-06-132023-06-14$258.71$256.793.35%2
2023-06-092023-06-12$244.40$249.833.86%2
2023-06-072023-06-08$224.57$234.861.27%2
2023-06-052023-06-06$217.61$221.311.50%2
2023-05-242023-06-02$182.90$213.9711.48%7
2022-09-212022-09-26$300.80$276.01-11.00%4
2022-08-172022-08-29$304.00$284.82-6.21%9
2022-08-082022-08-16$290.42$306.567.13%7
2022-08-042022-08-05$308.63$288.170.20%2
2022-08-022022-08-03$300.59$307.400.91%2
2022-07-292022-08-01$297.15$297.285.58%2
2022-07-252022-07-28$268.43$280.900.74%4
2022-07-142022-07-22$238.31$272.2414.40%7
2022-06-272022-06-29$244.92$228.49-5.50%3
2022-04-062022-04-27$348.59$293.84-19.85%15
2022-03-302022-04-05$364.66$363.753.96%5
2022-03-222022-03-29$331.33$366.5218.30%6
2022-01-042022-01-24$383.20$310.00-21.49%14
2021-11-052021-12-01$407.36$365.00-7.11%18
2021-11-022021-11-04$390.67$409.970.23%3
2021-10-292021-11-01$371.33$402.863.23%2
2021-10-272021-10-28$345.95$359.011.71%2
2021-10-252021-10-26$341.62$339.4812.45%2
2021-10-202021-10-22$288.60$303.233.23%3
2021-10-182021-10-19$290.04$288.093.01%2
2021-10-142021-10-15$272.77$281.010.69%2
2021-10-112021-10-13$263.98$270.362.37%3
2021-09-282021-10-08$259.19$261.830.08%9
2021-09-212021-09-27$246.46$263.795.85%5
2021-09-172021-09-20$253.16$243.390.13%2
2021-09-102021-09-16$245.42$252.33-0.07%5
2021-09-082021-09-09$251.29$251.62-0.07%2
2021-08-162021-08-31$228.72$245.241.71%12
2021-08-062021-08-13$233.03$239.060.86%6
2021-08-042021-08-05$236.97$238.21-0.03%2
2021-06-142021-07-26$205.90$219.215.28%30
2021-04-142021-05-11$244.08$205.73-17.65%20
2021-04-062021-04-12$230.54$233.99-2.23%5
2021-01-272021-02-11$288.05$270.55-9.05%12
2021-01-112021-01-26$270.40$294.36-0.12%11
2021-01-072021-01-08$272.01$293.347.74%2
2021-01-052021-01-06$245.04$251.990.53%2
2020-12-212021-01-04$216.62$243.261.33%9
2020-12-092020-12-18$201.49$231.670.72%8
2020-12-072020-12-08$213.92$216.636.92%2
2020-11-302020-12-04$189.20$199.681.10%5
2020-11-252020-11-27$191.33$195.253.15%2
2020-11-232020-11-24$173.95$185.136.38%2
2020-11-192020-11-20$166.42$163.202.39%2
2020-10-222020-10-29$141.93$136.94-4.12%6
2020-10-072020-10-20$141.77$140.653.87%10
2020-09-022020-09-24$149.12$129.26-20.10%16