Strategy Zoo / S1274

LongTermTrend_V1274

ARCHIVEDhybrid

parameterchanged ret_20d threshold -0.0017 -> 0.0536

Fitness
0.7064
Generation
58
Complexity
9
Created
2026-10-07

Lineage

Parents (1)
LongTermTrend_V1249S1249 · gen 57ELITEparameter

removed entry condition: ((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)))

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1274  [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.0541):
    position = 1.0
if long and ret_20d < 0.0536:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR23.4%101.3%-1.2%29.1%
Total Return434.5%715.5%-4.5%4186.4%
Sharpe0.881.680.080.94
Sortino0.861.800.060.86
Calmar0.593.00-0.040.74
Volatility28.2%48.6%26.1%33.0%
Max DD-39.3%-33.7%-34.0%-39.3%
Win Rate40.7%55.9%38.5%44.5%
Avg Win14.4%17.5%6.3%14.4%
Avg Loss-3.2%-4.0%-3.8%-3.5%
Payoff4.534.421.684.12
Expectancy4.0%8.0%0.1%4.5%
Profit Factor3.115.601.053.30
Trades593426119
Avg Holding Days11.712.09.411.4
Turnover14.922.713.916.2
Exposure32.0%49.3%23.2%33.3%

Growth of $100

LongTermTrend_V1274 vs TSLA Buy & Hold
LongTermTrend_V1274 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
201615.6%1.11-10.5%2
201714.2%0.72-15.1%11
2018-25.1%-1.47-25.4%8
201911.7%0.99-7.5%1
2020550.6%3.01-33.7%9
202127.6%0.87-26.5%17
2022-5.8%-0.09-19.9%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 testDOWNTREND278-26.2%-1.3813%
hidden testEXPENSIVE8344.6%1.0853%
hidden testEXTREME48183.4%3.2663%
hidden testHIGH VOLATILITY254-3.4%-0.1022%
hidden testLOW VOLATILITY43933.8%1.5927%
hidden testMEDIUM VOLATILITY250-47.6%-1.9118%
hidden testNORMAL812-12.8%-0.6218%
hidden testSIDEWAYS2942.9%0.1322%
hidden testUPTREND37123.0%0.7032%
trainDOWNTREND5180.2%0.033%
trainEXPENSIVE31149.2%1.3765%
trainEXTREME100401.1%5.4496%
trainHIGH VOLATILITY69956.2%1.5131%
trainLOW VOLATILITY74522.2%1.1137%
trainMEDIUM VOLATILITY568-10.2%-0.4226%
trainNORMAL1,601-3.3%-0.1722%
trainSIDEWAYS5927.9%0.4123%
trainUPTREND90250.2%1.2954%
validationDOWNTREND12534.4%2.2610%
validationEXPENSIVE13893.7%1.8156%
validationEXTREME144320.1%3.8991%
validationHIGH VOLATILITY258106.1%1.6148%
validationLOW VOLATILITY18320.5%0.9146%
validationMEDIUM VOLATILITY31597.5%2.2852%
validationNORMAL4745.9%0.2035%
validationSIDEWAYS206-8.5%-0.2836%
validationUPTREND425139.5%2.3068%

Trades (full period)

latest 100 of 119
EntryExitEntry PxExit PxReturnDays
2026-08-242026-09-15$348.95$356.58-1.27%16
2026-05-212026-06-05$417.85$391.000.08%11
2026-05-052026-05-19$389.37$404.114.24%11
2026-04-202026-04-22$392.50$387.51-3.74%3
2025-12-152026-01-02$475.31$438.07-2.21%13
2025-11-062025-11-07$445.91$429.52-3.69%2
2025-11-032025-11-04$468.37$444.262.38%2
2025-10-242025-10-27$433.72$452.42-3.60%2
2025-10-142025-10-15$429.24$435.15-1.73%2
2025-09-122025-10-13$395.94$435.9011.90%22
2025-08-252025-09-09$346.60$346.971.68%11
2025-08-112025-08-15$339.03$330.561.60%5
2025-05-122025-06-06$318.38$295.14-4.73%19
2025-05-062025-05-09$275.35$298.261.42%4
2025-04-302025-05-01$282.16$280.52-3.58%2
2025-04-162025-04-17$241.55$241.37-5.14%2
2025-04-102025-04-11$252.40$252.31-7.47%2
2024-11-072025-01-08$296.91$394.9436.41%42
2024-09-302024-10-04$261.63$250.08-7.79%5
2024-05-152024-05-24$173.99$179.24-2.34%8
2024-05-062024-05-08$184.76$174.72-2.06%3
2024-04-302024-05-03$183.28$181.19-7.43%4
2023-12-222023-12-29$252.54$248.48-0.72%5
2023-12-182023-12-21$252.08$254.50-2.70%4
2023-11-172023-12-14$234.30$251.052.24%19
2023-06-142023-07-21$256.79$260.021.42%26
2022-09-212022-09-22$300.80$288.59-2.77%2
2022-07-222022-08-29$272.24$284.825.82%27
2022-07-192022-07-21$245.53$271.712.69%3
2022-07-142022-07-18$238.31$240.551.07%3
2022-06-242022-06-28$245.71$232.663.99%3
2022-03-222022-04-21$331.33$336.265.88%22
2022-01-122022-01-24$368.74$310.00-11.49%8
2022-01-042022-01-06$383.20$354.90-9.49%3
2021-10-082021-11-29$261.83$379.0036.05%36
2021-09-232021-10-06$251.21$260.923.60%10
2021-09-152021-09-22$251.94$250.65-0.88%6
2021-09-082021-09-13$251.29$247.67-2.41%4
2021-08-232021-08-27$235.43$237.312.87%5
2021-08-192021-08-20$224.49$226.75-2.45%2
2021-08-112021-08-18$235.94$229.66-6.42%6
2021-08-042021-08-10$236.97$236.660.37%5
2021-07-212021-07-22$218.43$216.42-0.99%2
2021-06-242021-07-19$226.61$215.41-2.07%17
2021-06-182021-06-23$207.77$218.860.95%4
2021-06-142021-06-15$205.90$199.791.08%2
2021-05-032021-05-04$228.30$224.53-3.66%2
2021-04-192021-04-30$238.21$236.48-8.67%10
2021-04-142021-04-16$244.08$246.59-3.28%3
2021-04-052021-04-08$230.35$227.931.19%4
2020-11-192021-02-08$166.42$287.8174.78%54
2020-10-222020-10-26$141.93$140.09-0.67%3
2020-10-162020-10-19$146.56$143.61-2.25%2
2020-10-072020-10-14$141.77$153.777.68%6
2020-08-142020-09-23$110.05$126.7930.60%28
2020-06-012020-08-10$59.87$94.5773.64%50
2020-05-282020-05-29$53.72$55.67-1.96%2
2020-04-142020-05-27$47.33$54.6825.56%31
2020-03-032020-03-04$49.70$49.970.05%2
2019-12-182020-03-02$26.21$49.5775.91%50
2019-10-282019-11-25$21.85$22.421.29%21
2018-12-132018-12-18$25.12$22.47-5.15%4
2018-12-062018-12-10$24.20$24.34-0.68%3
2018-11-292018-11-30$22.74$23.37-2.12%2
2018-11-022018-11-26$23.09$23.07-5.55%16
2018-08-032018-08-16$23.21$22.36-3.30%10
2018-03-132018-03-15$22.79$21.71-5.65%3
2018-01-222018-02-06$23.44$22.26-5.02%12
2018-01-092018-01-11$22.25$22.53-0.68%3
2017-12-222017-12-26$21.68$21.15-2.15%2
2017-12-122017-12-21$22.74$22.11-0.18%8
2017-09-182017-09-22$25.67$23.41-3.70%5
2017-08-292017-09-01$23.16$23.692.76%4
2017-08-252017-08-28$23.20$23.04-1.58%2
2017-08-042017-08-22$23.79$22.76-2.85%13
2017-06-012017-07-05$22.69$21.813.20%24
2017-05-172017-05-18$20.41$20.87-3.63%2
2017-05-112017-05-16$21.54$21.13-3.07%4
2017-03-282017-05-04$18.50$19.7014.87%27
2017-01-092017-02-24$15.42$17.1311.56%33
2016-04-212016-05-02$16.55$16.12-3.88%8
2016-03-082016-04-20$13.51$16.6620.26%31
2015-12-172015-12-21$15.56$15.50-1.92%3
2015-08-062015-08-07$16.41$16.17-9.08%2
2015-07-212015-07-22$17.78$17.86-5.68%2
2015-07-152015-07-16$17.54$17.78-1.14%2
2015-07-012015-07-08$17.94$17.00-0.34%5
2015-06-242015-06-30$17.68$17.88-2.31%5
2015-06-182015-06-23$17.46$17.84-0.44%4
2015-06-092015-06-11$17.07$16.76-2.38%3
2015-04-282015-06-08$15.37$17.097.38%29
2014-11-252014-11-26$16.54$16.560.35%2
2014-11-112014-11-24$16.74$16.450.15%10
2014-08-052014-09-16$15.90$17.386.22%30
2014-06-092014-07-16$13.69$14.485.27%27
2014-05-282014-05-29$14.02$14.02-0.82%2
2014-01-152014-03-25$10.94$14.7036.25%48
2014-01-082014-01-10$10.09$9.71-1.42%3
2014-01-062014-01-07$9.80$9.96-1.91%2
2013-12-132014-01-03$9.84$9.971.58%14