Strategy Zoo / S0773

LongTermTrend_V0773

ARCHIVEDhybrid

structuralswapped indicator cumret_252d -> ret_20d; swapped indicator ret_20d -> ret_60d

Fitness
0.3591
Generation
35
Complexity
12
Created
2026-09-26

Lineage

Parents (1)
LongTermTrend_V0735S0735 · gen 34ARCHIVEDstructural

logic of LongTermTrend_V0605 with risk overlay of PriceMomentum_V0690

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0773  [hybrid]
if flat and ((((close > sma_200 and sma_200_slope > 0.0) or ret_20d > 0.1) and ret_20d > 0.05 and ret_20d > -0.2024) and ret_20d > 0.05):
    position = 1.0
if long and ret_60d < 0.2018:
    position = 0.0  # exit to cash
if regime.volatility == "HIGH_VOLATILITY": position *= 0.41

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR2.2%52.7%0.1%10.6%
Total Return19.4%256.2%0.2%338.8%
Sharpe0.211.300.140.50
Sortino0.181.540.120.47
Calmar0.051.440.000.22
Volatility22.4%38.1%26.7%27.4%
Max DD-48.0%-36.7%-37.7%-48.0%
Win Rate44.9%53.3%49.5%47.8%
Avg Win2.7%5.9%2.5%3.6%
Avg Loss-1.9%-1.9%-2.3%-2.0%
Payoff1.383.051.081.77
Expectancy0.1%2.2%0.1%0.7%
Profit Factor1.123.491.061.62
Trades1987593366
Avg Holding Days4.26.14.24.7
Turnover42.546.543.443.5
Exposure27.2%39.9%25.7%29.4%

Growth of $100

LongTermTrend_V0773 vs TSLA Buy & Hold
LongTermTrend_V0773 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-14.1%-1.06-24.3%20
201713.3%0.68-14.9%29
2018-9.4%-0.84-11.1%29
2019-4.1%-0.08-27.0%20
2020318.2%3.14-24.6%14
2021-14.2%-0.21-36.2%37
2022-4.6%-0.16-16.9%24

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 testDOWNTREND272-5.0%-0.476%
hidden testEXPENSIVE8361.1%1.4567%
hidden testEXTREME4896.1%2.3556%
hidden testHIGH VOLATILITY254-5.7%-0.2116%
hidden testLOW VOLATILITY43217.9%0.8126%
hidden testMEDIUM VOLATILITY250-11.6%-0.3535%
hidden testNORMAL805-7.8%-0.3320%
hidden testSIDEWAYS293-15.0%-0.7216%
hidden testUPTREND37124.7%0.6748%
trainDOWNTREND518-2.1%-0.443%
trainEXPENSIVE31135.7%1.0252%
trainEXTREME100211.4%5.2959%
trainHIGH VOLATILITY69915.1%0.7013%
trainLOW VOLATILITY74513.7%0.6740%
trainMEDIUM VOLATILITY568-19.7%-0.7827%
trainNORMAL1,601-14.2%-0.8420%
trainSIDEWAYS592-20.4%-1.2913%
trainUPTREND90225.2%0.8250%
validationDOWNTREND12511.4%2.373%
validationEXPENSIVE13831.3%0.6573%
validationEXTREME144268.2%5.1953%
validationHIGH VOLATILITY25861.8%1.6123%
validationLOW VOLATILITY18320.7%0.8445%
validationMEDIUM VOLATILITY31556.3%1.2851%
validationNORMAL474-11.6%-0.4227%
validationSIDEWAYS206-1.2%-0.0618%
validationUPTREND42585.4%1.7562%

Trades (full period)

latest 100 of 366
EntryExitEntry PxExit PxReturnDays
2026-09-112026-09-14$365.44$358.970.32%2
2026-09-092026-09-10$367.81$363.56-0.29%2
2026-09-032026-09-04$376.37$354.085.22%2
2026-09-012026-09-02$356.09$357.01-3.42%2
2026-08-282026-08-31$348.75$367.95-1.91%2
2026-08-262026-08-27$345.82$354.81-1.46%2
2026-08-242026-08-25$348.95$350.25-4.03%2
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-05-072026-05-08$411.79$428.353.07%2
2026-05-052026-05-06$389.37$398.73-1.00%2
2026-04-202026-04-21$392.50$386.42-2.22%2
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-09-122025-11-19$395.94$403.998.59%49
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-05-272025-06-09$362.89$308.58-15.00%10
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.090.77%2
2025-05-142025-05-15$347.68$342.821.59%2
2025-05-122025-05-13$318.38$334.076.54%2
2025-05-082025-05-09$284.82$298.261.19%2
2025-05-062025-05-07$275.35$276.22-0.80%2
2025-04-302025-05-01$282.16$280.52-1.47%2
2025-04-162025-04-17$241.55$241.37-2.11%2
2024-11-072025-02-10$296.91$350.738.72%63
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-022024-10-03$249.02$240.66-3.68%2
2024-09-302024-10-01$261.63$258.020.25%2
2024-09-062024-09-27$210.73$260.465.85%16
2024-07-292024-08-02$232.10$207.67-0.50%5
2024-07-012024-07-26$209.86$219.8017.51%19
2024-06-272024-06-28$197.42$197.880.33%2
2024-05-232024-05-24$173.74$179.24-1.53%2
2024-05-212024-05-22$186.60$180.112.65%2
2024-05-172024-05-20$177.46$174.950.53%2
2024-05-152024-05-16$173.99$174.84-0.90%2
2024-04-302024-05-01$183.28$179.99-2.36%2
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
2023-12-182023-12-19$252.08$257.22-0.76%2
2023-12-122023-12-13$237.01$239.29-1.34%2
2023-12-082023-12-11$243.84$239.740.29%2
2023-12-062023-12-07$239.37$242.640.07%2
2023-12-042023-12-05$235.58$238.72-1.56%2
2023-11-302023-12-01$240.08$238.83-1.86%2
2023-11-282023-11-29$246.72$244.144.30%2
2023-11-242023-11-27$235.45$236.080.33%2
2023-11-212023-11-22$241.20$234.212.17%2
2023-11-172023-11-20$234.30$235.600.10%2
2023-09-222023-09-25$244.88$246.99-4.43%2
2023-09-202023-09-21$262.59$255.70-1.67%2
2023-09-182023-09-19$265.28$266.50-3.52%2
2023-09-142023-09-15$276.04$274.391.55%2
2023-09-122023-09-13$267.48$271.30-2.43%2
2023-06-052023-08-18$217.61$215.492.25%53
2023-06-012023-06-02$207.52$213.971.56%2
2023-05-302023-05-31$201.16$203.933.93%2
2023-05-252023-05-26$184.47$193.170.66%2
2023-05-232023-05-24$185.77$182.90-1.84%2
2023-03-012023-03-02$202.77$190.90-1.63%2
2023-02-272023-02-28$207.63$205.712.16%2
2023-02-232023-02-24$202.07$196.880.16%2
2023-02-212023-02-22$197.37$200.86-2.23%2
2023-02-162023-02-17$202.04$208.31-2.42%2
2023-02-142023-02-15$209.25$214.242.99%2
2023-02-102023-02-13$196.89$194.64-2.14%2
2023-02-082023-02-09$201.29$207.320.85%2
2023-02-062023-02-07$194.76$196.810.95%2
2023-02-022023-02-03$188.27$189.981.47%2
2023-01-312023-02-01$173.22$181.411.53%2
2023-01-272023-01-30$177.90$166.664.43%2
2023-01-252023-01-26$144.43$160.270.07%2
2022-08-152022-08-25$309.32$296.07-1.17%9
2022-08-112022-08-12$286.63$300.03-2.82%2
2022-08-092022-08-10$283.33$294.36-2.64%2
2022-08-052022-08-08$288.17$290.42-6.82%2
2022-08-032022-08-04$307.40$308.632.06%2
2022-08-012022-08-02$297.28$300.59-0.16%2
2022-07-282022-07-29$280.90$297.152.01%2