Strategy Zoo / S1507

LongTermTrend_V1507

ARCHIVEDhybrid

structuraladded entry filter: vol_chg < 1.2824; swapped indicator macd_hist -> roc_20

Fitness
0.6600
Generation
69
Complexity
26
Created
2026-10-13

Lineage

Parents (1)
LongTermTrend_V1367S1367 · gen 63ELITEstructural

changed ret_20d threshold 0.05 -> 0.1344

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1507  [hybrid]
if flat and (((((close > sma_200 and sma_200_slope > -0.0003) or ret_20d > 0.085) and ret_20d > 0.1344 and cumret_252d > 0.2888 and dist_sma_50 > -0.0774) or ((roc_20 > 23.9768 and close > sma_50) or ((breakout_50 == 1 and rel_volume > 2.0784) or ((macd_hist > 0.0 and close > sma_50) and sma_50 > sma_200)))) and vol_chg < 1.2824):
    position = 1.0
if long and macd_hist < 0.0:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR15.4%91.6%17.0%28.7%
Total Return214.0%603.6%80.7%4010.1%
Sharpe0.661.690.700.95
Sortino0.551.780.610.85
Calmar0.343.780.440.63
Volatility27.5%44.3%28.0%31.8%
Max DD-45.2%-24.2%-39.1%-45.2%
Win Rate52.2%59.6%40.6%52.1%
Avg Win9.3%10.9%10.6%10.6%
Avg Loss-5.0%-3.3%-3.5%-4.1%
Payoff1.893.263.062.58
Expectancy2.5%5.1%2.3%3.6%
Profit Factor2.064.802.102.80
Trades674732146
Avg Holding Days9.17.19.08.5
Turnover16.931.317.019.8
Exposure27.5%37.7%26.9%29.4%

Growth of $100

LongTermTrend_V1507 vs TSLA Buy & Hold
LongTermTrend_V1507 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
20166.9%0.60-11.0%3
201714.4%0.73-19.6%11
2018-21.1%-1.07-23.7%4
201914.4%0.68-14.3%3
2020335.5%2.62-24.2%25
202147.4%1.35-16.8%15
2022-7.3%-0.24-17.6%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 testDOWNTREND27819.4%1.245%
hidden testEXPENSIVE8355.8%1.2848%
hidden testEXTREME48151.6%3.2348%
hidden testHIGH VOLATILITY25451.4%1.3332%
hidden testLOW VOLATILITY44325.1%1.2525%
hidden testMEDIUM VOLATILITY250-22.4%-0.8326%
hidden testNORMAL8168.2%0.3424%
hidden testSIDEWAYS298-1.3%-0.0531%
hidden testUPTREND37136.6%1.0440%
trainDOWNTREND5185.6%0.704%
trainEXPENSIVE31142.7%1.2553%
trainEXTREME100317.7%4.5281%
trainHIGH VOLATILITY69936.2%0.9430%
trainLOW VOLATILITY74525.3%1.4131%
trainMEDIUM VOLATILITY568-13.8%-0.6520%
trainNORMAL1,601-5.5%-0.2819%
trainSIDEWAYS592-5.6%-0.2721%
trainUPTREND90240.7%1.1045%
validationDOWNTREND12511.5%1.421%
validationEXPENSIVE138110.9%2.5646%
validationEXTREME144221.7%2.8972%
validationHIGH VOLATILITY25887.1%1.4636%
validationLOW VOLATILITY18331.0%1.7230%
validationMEDIUM VOLATILITY31590.1%2.2343%
validationNORMAL47419.6%0.7125%
validationSIDEWAYS20624.5%0.8628%
validationUPTREND425117.7%2.1353%

Trades (full period)

latest 100 of 146
EntryExitEntry PxExit PxReturnDays
2026-05-282026-06-02$442.10$423.74-5.75%4
2026-05-072026-05-21$411.79$417.854.44%11
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-152025-10-06$410.04$453.258.35%16
2025-07-212025-08-01$328.49$302.63-6.67%10
2025-06-042025-06-05$332.05$284.70-3.75%2
2025-05-062025-06-03$275.35$344.2722.03%20
2025-01-062025-01-07$411.05$394.36-0.05%2
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-292024-11-29$259.52$345.1626.56%23
2024-09-062024-10-04$210.73$250.084.34%21
2024-08-202024-08-30$221.10$214.11-7.57%9
2024-07-232024-07-24$246.38$215.99-2.24%2
2024-07-052024-07-22$251.52$251.51-3.11%12
2024-05-222024-05-30$180.11$178.79-5.77%6
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-052023-07-07$282.48$274.43-1.37%3
2023-06-302023-07-03$261.77$279.821.46%2
2023-06-282023-06-29$256.24$257.502.21%2
2023-05-312023-06-27$203.93$250.2119.59%19
2023-02-242023-02-27$196.88$207.63-2.77%2
2023-01-272023-02-23$177.90$202.0725.09%19
2022-08-152022-08-19$309.32$296.670.75%5
2022-07-292022-08-12$297.15$300.031.84%11
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-06-242021-07-12$226.61$228.57-0.14%12
2021-04-062021-04-29$230.54$225.670.28%18
2021-02-032021-02-04$284.90$283.33-2.27%2
2021-02-012021-02-02$279.94$290.935.63%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-092020-10-12$144.67$147.431.70%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-192020-09-08$125.24$110.0710.62%14
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-022020-07-27$80.58$102.6426.32%17
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-03-032020-03-04$49.70$49.970.05%2
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-312019-11-21$20.99$23.6611.59%16
2019-07-022019-07-26$14.97$15.200.52%18
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-052018-11-21$22.76$22.550.11%13
2018-08-072018-08-20$25.30$20.56-10.84%10
2018-06-152018-06-26$23.88$22.80-7.09%8
2017-12-122017-12-27$22.74$20.78-3.72%11
2017-10-122017-10-23$23.71$22.47-2.87%8
2017-09-132017-09-25$24.42$23.00-3.41%9
2017-08-042017-08-22$23.79$22.76-2.85%13
2017-07-252017-08-02$22.64$21.73-6.89%7
2017-05-312017-06-27$22.73$24.1612.43%20
2017-05-152017-05-16$21.06$21.13-2.95%2
2017-05-022017-05-04$21.26$19.70-3.85%3
2017-03-172017-04-21$17.43$20.3715.21%25
2017-02-092017-02-22$17.95$18.235.63%9
2017-01-052017-02-02$15.12$16.779.58%20
2016-07-222016-08-09$14.82$15.272.36%13
2016-06-082016-06-16$15.70$14.53-6.49%7
2016-03-082016-04-01$13.51$15.8411.70%18