Strategy Zoo / S1270

LongTermTrend_V1270

ARCHIVEDhybrid

parameterchanged ret_20d threshold 0.05 -> 0.1606

Fitness
0.7246
Generation
58
Complexity
23
Created
2026-10-07

Lineage

Parents (1)
LongTermTrend_V0521S0521 · gen 24ARCHIVEDparameter

entry = LongTermTrend_V0469 OR MACDMomentum_V0272

Children (1)
PriceMomentum_V1280S1280 · gen 59ARCHIVEDcrossover

Strategy Logic (pseudocode)

# LongTermTrend_V1270  [hybrid]
if flat and ((((close > sma_200 and sma_200_slope > -0.0024) or ret_20d > 0.085) and ret_20d > 0.1606 and cumret_252d > 0.0541) or ((macd_hist > 0.0 and close > sma_50) or ((breakout_50 == 1 and rel_volume > 1.5045) or ((macd_hist > 0.0 and close > sma_50) and sma_50 > sma_200)))):
    position = 1.0
if long and macd_hist < 0.0:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR22.1%95.8%26.8%36.0%
Total Return392.5%650.1%143.2%9151.1%
Sharpe0.791.700.891.05
Sortino0.801.890.961.10
Calmar0.483.950.820.77
Volatility31.7%45.5%32.6%35.2%
Max DD-46.5%-24.2%-32.8%-46.5%
Win Rate44.0%55.1%36.1%45.6%
Avg Win12.3%11.9%15.3%13.2%
Avg Loss-4.8%-3.3%-3.8%-4.2%
Payoff2.573.624.063.15
Expectancy2.8%5.1%3.1%3.7%
Profit Factor2.034.442.292.64
Trades844936169
Avg Holding Days10.27.511.29.7
Turnover21.232.719.223.0
Exposure38.9%42.3%38.9%39.6%

Growth of $100

LongTermTrend_V1270 vs TSLA Buy & Hold
LongTermTrend_V1270 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
201626.5%1.47-12.2%5
201715.3%0.75-19.9%13
2018-6.6%-0.10-23.3%9
201919.8%0.69-28.9%6
2020363.9%2.71-24.2%24
202139.2%1.16-16.8%17
2022-1.7%0.07-19.4%8

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 testDOWNTREND27814.5%0.6027%
hidden testEXPENSIVE8381.0%1.7752%
hidden testEXTREME48151.9%3.2346%
hidden testHIGH VOLATILITY25445.0%1.0643%
hidden testLOW VOLATILITY43952.6%2.0937%
hidden testMEDIUM VOLATILITY250-28.5%-0.8838%
hidden testNORMAL81216.5%0.5537%
hidden testSIDEWAYS294-0.2%-0.0146%
hidden testUPTREND37163.1%1.6542%
trainDOWNTREND518-8.3%-0.4619%
trainEXPENSIVE31149.0%1.4355%
trainEXTREME100305.0%4.3079%
trainHIGH VOLATILITY69949.6%1.1639%
trainLOW VOLATILITY74533.0%1.5445%
trainMEDIUM VOLATILITY568-16.1%-0.6132%
trainNORMAL1,6012.7%0.1033%
trainSIDEWAYS59213.4%0.4840%
trainUPTREND90251.5%1.3150%
validationDOWNTREND12536.4%1.6612%
validationEXPENSIVE138110.2%2.5746%
validationEXTREME144233.0%3.0373%
validationHIGH VOLATILITY25881.1%1.3536%
validationLOW VOLATILITY18317.8%0.8142%
validationMEDIUM VOLATILITY315109.0%2.6248%
validationNORMAL47420.6%0.6732%
validationSIDEWAYS20612.0%0.4030%
validationUPTREND425121.2%2.1857%

Trades (full period)

latest 100 of 169
EntryExitEntry PxExit PxReturnDays
2026-09-182026-09-29$364.27$352.84-2.58%8
2026-09-012026-09-17$356.09$366.20-2.88%12
2026-07-012026-07-15$425.30$394.46-5.99%10
2026-05-282026-06-02$442.10$423.74-5.75%4
2026-04-162026-05-21$388.90$417.856.24%26
2025-12-042025-12-30$454.53$454.432.68%18
2025-11-042025-11-05$444.26$462.07-5.34%2
2025-10-092025-10-10$435.54$413.49-0.92%2
2025-10-072025-10-08$433.09$438.69-4.64%2
2025-09-082025-10-06$346.40$453.2522.27%21
2025-08-252025-09-03$346.60$334.09-3.32%7
2025-08-082025-08-22$329.65$340.01-0.87%11
2025-07-212025-08-01$328.49$302.63-6.67%10
2025-06-252025-06-26$327.55$325.78-3.99%2
2025-06-042025-06-05$332.05$284.70-3.75%2
2025-04-282025-06-03$285.88$344.2720.02%26
2024-12-302024-12-31$417.41$403.84-3.50%2
2024-12-262024-12-27$454.13$431.66-1.96%2
2024-12-062024-12-24$389.22$462.2816.31%13
2024-12-042024-12-05$357.93$369.491.65%2
2024-12-022024-12-03$357.09$351.423.25%2
2024-10-252024-11-29$269.19$345.1627.55%25
2024-09-062024-10-04$210.73$250.084.34%21
2024-08-202024-08-30$221.10$214.11-7.57%9
2024-06-172024-07-22$187.44$251.5134.11%24
2024-04-302024-05-30$183.28$178.79-9.39%22
2023-12-152024-01-02$253.50$248.42-1.22%11
2023-11-162023-12-14$233.59$251.05-1.66%20
2023-10-062023-10-17$260.53$254.85-2.55%8
2023-08-302023-09-25$256.90$246.99-4.97%18
2023-07-102023-07-11$269.61$269.79-1.95%2
2023-07-052023-07-07$282.48$274.43-1.37%3
2023-06-302023-07-03$261.77$279.821.46%2
2023-05-222023-06-27$188.87$250.2133.55%25
2023-03-242023-04-06$190.41$185.06-3.68%10
2023-01-272023-02-23$177.90$202.0725.09%19
2022-09-132022-09-23$292.13$275.33-5.39%9
2022-08-152022-08-19$309.32$296.670.75%5
2022-07-112022-08-12$234.34$300.0314.07%25
2022-04-142022-04-18$328.33$334.76-3.85%2
2022-04-122022-04-13$328.98$340.790.93%2
2022-03-212022-04-11$307.05$325.3113.04%16
2022-01-132022-01-14$343.85$349.87-6.94%2
2021-12-282022-01-12$362.82$368.74-2.90%12
2021-11-222021-11-23$385.62$369.681.54%2
2021-11-182021-11-19$365.46$379.020.48%2
2021-11-162021-11-17$351.58$363.003.88%2
2021-11-122021-11-15$344.47$337.80-3.03%2
2021-10-132021-11-11$270.36$354.5032.28%22
2021-10-082021-10-11$261.83$263.98-1.22%2
2021-09-282021-10-07$259.19$264.54-1.29%8
2021-08-312021-09-21$245.24$246.46-0.30%15
2021-08-022021-08-17$236.56$221.90-0.35%12
2021-07-132021-07-15$222.85$216.87-4.91%3
2021-06-242021-07-12$226.61$228.57-0.14%12
2021-04-072021-04-29$223.66$225.670.20%17
2021-02-042021-02-05$283.33$284.08-0.75%2
2021-02-022021-02-03$290.93$284.903.72%2
2021-01-282021-01-29$278.48$264.51-3.52%2
2021-01-262021-01-27$294.36$288.050.06%2
2021-01-042021-01-25$243.26$293.6019.74%15
2020-12-302020-12-31$231.59$235.224.12%2
2020-12-242020-12-28$220.59$221.232.24%2
2020-12-182020-12-23$231.67$215.33-2.56%4
2020-11-182020-12-17$162.21$218.6340.75%21
2020-11-092020-11-11$140.42$139.04-4.75%3
2020-10-142020-10-20$153.77$140.65-3.73%5
2020-10-122020-10-13$147.43$148.881.71%2
2020-10-072020-10-08$141.77$141.972.53%2
2020-09-172020-09-18$141.14$147.38-4.35%2
2020-09-152020-09-16$149.92$147.256.98%2
2020-09-112020-09-14$124.24$139.870.17%2
2020-09-092020-09-10$122.09$123.7810.71%2
2020-08-182020-09-08$125.81$110.0713.72%15
2020-08-032020-08-04$99.00$99.133.59%2
2020-07-302020-07-31$99.17$95.38-0.97%2
2020-07-282020-07-29$98.43$99.94-4.29%2
2020-07-012020-07-27$74.64$102.6430.97%18
2020-06-262020-06-29$63.98$67.29-2.86%2
2020-06-022020-06-25$58.77$65.736.77%18
2020-05-222020-05-26$54.46$54.59-1.49%2
2020-05-202020-05-21$54.37$55.170.73%2
2020-04-142020-05-14$47.33$53.5621.28%23
2020-02-272020-02-28$45.27$44.53-13.00%2
2019-12-162020-02-26$25.43$51.92122.76%49
2019-10-112019-11-21$16.53$23.6643.63%30
2019-10-022019-10-04$16.21$15.43-4.96%3
2019-09-112019-09-25$16.47$15.25-5.42%11
2019-07-012019-07-26$15.14$15.202.20%19
2019-03-012019-03-05$19.65$18.44-10.98%3
2019-01-112019-01-22$23.15$19.93-12.56%7
2018-12-112018-12-18$24.45$22.47-4.77%6
2018-11-232018-11-26$21.72$23.07-3.85%2
2018-10-242018-11-21$19.23$22.5517.90%21
2018-08-032018-08-20$23.21$20.56-12.77%12
2018-05-312018-06-26$18.98$22.8013.92%19
2018-05-102018-05-17$20.33$18.97-6.83%6
2018-03-142018-03-15$21.78$21.71-4.64%2
2018-02-232018-03-06$23.47$21.88-3.89%8
2018-01-092018-02-05$22.25$22.211.98%19