Strategy Zoo / S1229

LongTermTrend_V1229

ARCHIVEDhybrid

structuralreplaced exit rule with: sma_200 > roll_high_20

Fitness
0.6052
Generation
56
Complexity
11
Created
2026-10-07

Lineage

Parents (1)
LongTermTrend_V1087S1087 · gen 50ARCHIVEDstructural

entry from LongTermTrend_V0605, exit from PriceMomentum_V0828

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1229  [hybrid]
if flat and ((((close > sma_200 and sma_200_slope > 0.0) or ret_20d > 0.1) and ret_20d > 0.05 and cumret_252d > -0.1997) and ret_20d > 0.05):
    position = 1.0
if long and sma_200 > roll_high_20:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR30.0%93.6%0.6%32.3%
Total Return710.3%625.6%2.4%6101.1%
Sharpe0.811.310.250.80
Sortino1.071.820.331.06
Calmar0.611.540.010.53
Volatility44.2%68.4%48.3%51.0%
Max DD-49.0%-60.6%-54.0%-60.6%
Win Rate37.0%57.1%36.0%39.0%
Avg Win66.5%201.8%8.8%94.2%
Avg Loss-5.0%-8.5%-4.1%-4.9%
Payoff10.0010.002.1310.00
Expectancy21.5%111.6%0.5%33.7%
Profit Factor7.8710.001.2010.00
Trades2772559
Avg Holding Days57.297.328.450.6
Turnover6.94.713.48.0
Exposure77.8%89.2%72.6%78.8%

Growth of $100

LongTermTrend_V1229 vs TSLA Buy & Hold
LongTermTrend_V1229 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-18.6%-0.62-27.2%8
201733.9%1.01-24.5%1
2018-10.9%-0.02-30.6%4
201931.8%0.96-28.3%9
2020712.5%2.80-60.6%0
202144.7%0.94-36.2%0
2022-48.1%-1.00-52.5%7

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 testDOWNTREND278-43.1%-1.1535%
hidden testEXPENSIVE83135.9%1.95100%
hidden testEXTREME48185.0%2.93100%
hidden testHIGH VOLATILITY25431.2%0.4967%
hidden testLOW VOLATILITY43916.1%0.4574%
hidden testMEDIUM VOLATILITY250-13.7%-0.2876%
hidden testNORMAL812-10.6%-0.2468%
hidden testSIDEWAYS294-38.5%-0.8974%
hidden testUPTREND37194.0%1.62100%
trainDOWNTREND518-36.1%-1.2032%
trainEXPENSIVE31198.1%1.89100%
trainEXTREME100416.1%5.63100%
trainHIGH VOLATILITY69975.2%1.2979%
trainLOW VOLATILITY74529.3%1.0177%
trainMEDIUM VOLATILITY568-3.9%-0.1078%
trainNORMAL1,6010.0%0.0072%
trainSIDEWAYS59220.5%0.4685%
trainUPTREND90287.3%1.73100%
validationDOWNTREND125-14.8%-0.3736%
validationEXPENSIVE13884.2%1.1099%
validationEXTREME144384.0%4.30100%
validationHIGH VOLATILITY258144.7%1.5584%
validationLOW VOLATILITY18354.5%1.5099%
validationMEDIUM VOLATILITY31564.5%1.1187%
validationNORMAL4741.5%0.0383%
validationSIDEWAYS206-41.3%-0.67100%
validationUPTREND425183.5%2.38100%

Trades (full period)

59 trades
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-05-072026-08-04$411.79$327.35-19.38%61
2026-05-052026-05-06$389.37$398.73-1.00%2
2026-04-202026-04-27$392.50$378.67-6.26%6
2025-05-122026-04-16$318.38$388.9031.16%234
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-04-162025-04-17$241.55$241.37-5.14%2
2024-07-022025-04-04$231.26$239.4327.12%191
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-01$183.28$179.99-5.74%2
2023-05-312024-02-09$203.93$193.57-5.95%176
2023-05-262023-05-30$193.17$201.164.51%2
2023-05-242023-05-25$182.90$184.47-1.74%2
2022-08-032022-10-27$307.40$225.09-25.41%61
2022-08-012022-08-02$297.28$300.59-0.16%2
2022-07-282022-07-29$280.90$297.152.01%2
2022-07-222022-07-25$272.24$268.43-0.00%2
2022-07-192022-07-20$245.53$247.501.87%2
2022-06-242022-06-27$245.71$244.924.32%2
2019-10-232022-06-03$16.98$234.521413.12%659
2019-09-272019-09-30$16.14$16.06-0.38%2
2019-09-242019-09-25$14.88$15.25-7.66%2
2019-09-202019-09-23$16.04$16.08-2.62%2
2019-09-172019-09-18$16.32$16.230.61%2
2019-09-132019-09-16$16.35$16.19-0.47%2
2019-07-242019-07-25$17.66$15.251.61%2
2019-07-182019-07-19$16.90$17.21-0.72%2
2019-07-162019-07-17$16.83$16.99-0.64%2
2018-10-292019-03-29$22.32$18.66-15.97%104
2018-06-122018-09-26$22.85$20.64-9.55%75
2018-05-012018-05-02$19.99$20.081.85%2
2018-04-272018-04-30$19.61$19.592.81%2
2017-12-122018-04-12$22.74$19.61-8.69%83
2016-12-282017-11-30$14.65$20.5939.81%234
2016-12-212016-12-22$13.85$13.90-0.72%2
2016-03-182016-09-27$15.52$13.72-7.86%134
2016-03-162016-03-17$14.80$15.091.44%2
2016-03-142016-03-15$14.34$14.563.48%2
2016-03-102016-03-11$13.68$13.83-1.89%2
2016-03-082016-03-09$13.51$13.91-1.51%2
2016-03-042016-03-07$13.40$13.692.51%2
2015-12-012016-02-02$15.81$12.19-14.64%43
2015-04-282015-11-04$15.37$15.44-10.20%134
2015-04-242015-04-27$14.56$15.44-0.28%2
2015-04-132015-04-14$13.99$13.83-0.73%2
2012-11-062015-01-02$2.08$14.62604.64%543
2012-01-042012-08-20$1.85$1.976.66%159