Strategy Zoo / S0515

LongTermTrend_V0515

ARCHIVEDhybrid

parameterchanged ret_20d threshold 0.05 -> 0.1852

Fitness
0.5960
Generation
23
Complexity
13
Created
2026-09-22

Lineage

Parents (1)
LongTermTrend_V0488S0488 · gen 22ARCHIVEDparameter

added exit filter: vol_pctile < 0.1012

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0515  [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.1852):
    position = 1.0
if long and (macd_hist < 0.0 or vol_pctile < 0.1012):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR13.8%65.2%14.7%23.3%
Total Return181.3%350.9%65.8%2065.7%
Sharpe0.691.440.730.91
Sortino0.451.250.500.65
Calmar0.482.690.490.78
Volatility22.4%40.3%21.9%27.0%
Max DD-28.8%-24.2%-29.9%-29.9%
Win Rate55.1%71.9%44.8%57.3%
Avg Win8.2%9.3%9.4%8.9%
Avg Loss-3.4%-3.9%-3.7%-3.6%
Payoff2.452.402.572.51
Expectancy3.0%5.6%2.2%3.6%
Profit Factor3.006.122.083.36
Trades493229110
Avg Holding Days7.07.56.37.0
Turnover12.421.315.715.0
Exposure14.8%27.6%16.5%17.9%

Growth of $100

LongTermTrend_V0515 vs TSLA Buy & Hold
LongTermTrend_V0515 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
201618.9%1.45-6.6%3
201712.6%1.21-5.0%6
2018-0.7%0.01-12.1%4
20192.8%0.25-13.8%4
2020248.3%2.34-24.2%15
202125.8%0.96-16.8%11
20222.5%0.23-13.2%5

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 testDOWNTREND2689.2%0.893%
hidden testEXPENSIVE8332.3%0.9840%
hidden testEXTREME48151.9%3.2346%
hidden testHIGH VOLATILITY25433.7%1.1719%
hidden testLOW VOLATILITY42925.1%1.5513%
hidden testMEDIUM VOLATILITY249-17.6%-0.7820%
hidden testNORMAL8016.2%0.3512%
hidden testSIDEWAYS29310.1%0.6712%
hidden testUPTREND37125.7%0.8330%
trainDOWNTREND5182.4%0.432%
trainEXPENSIVE31115.3%0.5329%
trainEXTREME100266.1%3.8075%
trainHIGH VOLATILITY69930.3%0.8924%
trainLOW VOLATILITY7454.6%0.4811%
trainMEDIUM VOLATILITY56811.2%0.758%
trainNORMAL1,601-0.2%-0.028%
trainSIDEWAYS592-8.2%-0.569%
trainUPTREND90238.4%1.2426%
validationDOWNTREND12511.5%1.421%
validationEXPENSIVE13851.4%1.4834%
validationEXTREME144230.9%3.0269%
validationHIGH VOLATILITY25885.1%1.5330%
validationLOW VOLATILITY18316.3%1.318%
validationMEDIUM VOLATILITY31560.7%1.7037%
validationNORMAL4747.8%0.3813%
validationSIDEWAYS20612.5%0.4821%
validationUPTREND42594.2%1.8739%

Trades (full period)

latest 100 of 110
EntryExitEntry PxExit PxReturnDays
2026-05-292026-06-02$435.79$423.74-6.12%3
2026-05-082026-05-14$428.35$443.307.92%5
2025-12-172025-12-24$467.26$485.40-1.08%6
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-162025-10-06$421.62$453.254.62%15
2025-06-042025-06-05$332.05$284.70-3.75%2
2025-05-082025-06-03$284.82$344.2723.82%18
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-11-072024-11-29$296.91$345.1615.15%16
2024-10-072024-10-08$240.83$244.50-3.90%2
2024-09-062024-10-04$210.73$250.084.34%21
2024-07-232024-07-24$246.38$215.99-2.24%2
2024-07-032024-07-22$246.39$251.513.23%13
2024-05-202024-05-30$174.95$178.79-0.92%8
2023-11-292023-12-11$244.14$239.74-1.37%9
2023-09-152023-09-25$274.39$246.99-11.47%7
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-06-282023-06-29$256.24$257.502.21%2
2023-06-212023-06-27$259.46$250.21-12.35%5
2023-06-162023-06-20$260.54$274.451.61%2
2023-06-142023-06-15$256.79$255.90-0.94%2
2023-05-252023-06-13$184.47$258.7136.32%13
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-232022-04-11$333.04$325.312.96%14
2021-11-192021-11-22$379.02$385.623.51%2
2021-11-172021-11-18$363.00$365.463.05%2
2021-11-122021-11-15$344.47$337.80-3.03%2
2021-10-262021-11-11$339.48$354.504.00%13
2021-10-222021-10-25$303.23$341.621.55%2
2021-10-192021-10-20$288.09$288.60-0.87%2
2021-04-072021-04-29$223.66$225.670.20%17
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-052021-01-25$245.04$293.6015.78%14
2020-12-312021-01-04$235.22$243.261.37%2
2020-12-182020-12-23$231.67$215.33-2.56%4
2020-11-242020-12-17$185.13$218.6319.11%17
2020-10-072020-10-08$141.77$141.972.53%2
2020-09-152020-09-16$149.92$147.256.98%2
2020-09-102020-09-11$123.78$124.241.18%2
2020-08-192020-09-08$125.24$110.0710.62%14
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-04-142020-05-14$47.33$53.5621.28%23
2020-02-272020-02-28$45.27$44.53-13.00%2
2020-01-082020-02-26$32.81$51.9270.20%34
2019-12-312020-01-07$27.89$31.278.67%5
2019-12-272019-12-30$28.69$27.65-0.33%2
2019-12-242019-12-26$28.35$28.731.24%2
2019-10-252019-11-21$21.88$23.6617.31%20
2019-07-252019-07-26$15.25$15.20-13.80%2
2018-10-292018-11-21$22.32$22.554.80%18
2018-06-292018-07-02$22.86$22.34-2.19%2
2018-06-272018-06-28$22.97$23.330.53%2
2018-06-142018-06-26$23.85$22.80-3.60%9
2017-06-142017-06-27$25.38$24.160.21%10
2017-04-242017-04-25$20.54$20.920.59%2
2017-04-042017-04-21$20.25$20.371.14%13
2017-02-152017-02-16$18.65$17.93-0.63%2
2017-01-172017-01-31$15.71$16.805.21%11
2017-01-042017-01-13$15.13$15.855.60%8
2016-07-262016-07-27$15.30$15.23-0.42%2
2016-04-042016-04-14$16.47$16.796.92%9
2016-03-082016-04-01$13.51$15.8411.70%18
2015-09-232015-09-30$17.40$16.56-5.67%6
2015-05-182015-05-19$16.58$16.48-0.24%2
2015-04-282015-05-05$15.37$15.53-0.65%6
2014-09-032014-09-05$18.75$18.490.47%3
2014-08-182014-08-25$17.33$17.50-2.19%6
2014-08-142014-08-15$17.43$17.470.21%2
2014-03-202014-03-21$15.66$15.26-0.59%2
2014-03-142014-03-17$15.40$15.60-3.07%2
2014-03-122014-03-13$16.10$15.852.82%2
2014-02-102014-03-11$13.10$15.6327.79%21
2014-01-222014-02-06$11.90$11.89-1.48%12
2013-12-182014-01-10$9.87$9.71-3.43%16
2013-09-202013-10-04$12.23$12.07-2.78%11
2013-09-162013-09-17$11.11$11.080.43%2
2013-08-232013-09-10$10.79$11.092.09%12
2013-08-212013-08-22$9.86$10.47-1.35%2
2013-08-192013-08-20$9.66$9.971.84%2
2013-07-302013-08-15$8.78$9.313.31%13
2013-07-242013-07-25$8.11$8.27-1.05%2
2013-07-222013-07-23$8.16$8.182.10%2
2013-07-022013-07-17$7.85$8.02-7.12%11
2013-06-202013-06-21$6.71$6.64-4.05%2