Strategy Zoo / S0977

LongTermTrend_V0977

ARCHIVEDhybrid

parameterchanged ret_20d threshold 0.05 -> 0.1314

Fitness
0.6899
Generation
44
Complexity
11
Created
2026-10-01

Lineage

Parents (1)
LongTermTrend_V0822S0822 · gen 37ARCHIVEDparameter

changed cumret_252d threshold -0.1997 -> -0.4102

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0977  [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.4102) and ret_20d > 0.1314):
    position = 1.0
if long and ret_20d < -0.1003:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR29.5%120.0%15.9%40.6%
Total Return689.0%964.2%73.1%14866.3%
Sharpe0.921.750.591.06
Sortino1.042.030.591.16
Calmar0.583.000.440.80
Volatility34.7%53.1%36.2%39.5%
Max DD-50.7%-40.0%-36.3%-50.7%
Win Rate52.9%62.5%45.5%52.8%
Avg Win46.9%87.8%22.4%58.1%
Avg Loss-12.4%-14.6%-6.1%-10.5%
Payoff3.796.013.665.51
Expectancy19.0%49.4%6.8%25.7%
Profit Factor4.2710.003.056.16
Trades1781136
Avg Holding Days58.757.937.454.1
Turnover4.45.36.25.0
Exposure52.5%60.2%45.5%52.3%

Growth of $100

LongTermTrend_V0977 vs TSLA Buy & Hold
LongTermTrend_V0977 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
20161.8%0.19-25.0%2
201718.9%0.71-32.7%2
2018-13.3%-0.28-38.9%2
201970.1%1.74-24.7%1
2020842.7%3.35-33.7%2
202141.7%1.07-30.4%3
2022-23.8%-0.75-31.9%3

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 testDOWNTREND27521.7%1.1717%
hidden testEXPENSIVE8364.6%1.4173%
hidden testEXTREME48210.8%3.5375%
hidden testHIGH VOLATILITY25446.6%1.0243%
hidden testLOW VOLATILITY43438.2%1.3945%
hidden testMEDIUM VOLATILITY251-33.4%-0.8749%
hidden testNORMAL8085.6%0.1741%
hidden testSIDEWAYS293-8.9%-0.2647%
hidden testUPTREND37144.9%0.9765%
trainDOWNTREND5187.6%0.4616%
trainEXPENSIVE31182.1%1.9181%
trainEXTREME100416.1%5.63100%
trainHIGH VOLATILITY69957.6%1.3045%
trainLOW VOLATILITY74528.7%1.1160%
trainMEDIUM VOLATILITY5684.1%0.1351%
trainNORMAL1,601-2.0%-0.0744%
trainSIDEWAYS592-6.1%-0.2136%
trainUPTREND90270.5%1.5984%
validationDOWNTREND12540.1%2.076%
validationEXPENSIVE13896.2%1.5983%
validationEXTREME144378.9%4.4795%
validationHIGH VOLATILITY258123.8%1.8052%
validationLOW VOLATILITY18336.4%1.2769%
validationMEDIUM VOLATILITY315100.5%2.0562%
validationNORMAL4745.1%0.1543%
validationSIDEWAYS206-17.2%-0.4846%
validationUPTREND425161.9%2.4983%

Trades (full period)

37 trades
EntryExitEntry PxExit PxReturnDays
2026-08-24—$348.95—-2.86%27OPEN
2026-05-072026-06-10$411.79$381.59-0.71%24
2025-12-152026-01-16$475.31$437.50-4.63%23
2025-09-152025-11-21$410.04$391.09-0.38%50
2025-05-062025-07-02$275.35$315.657.08%40
2024-11-072025-01-17$296.91$426.5043.14%48
2024-09-062024-10-22$210.73$217.97-5.12%33
2024-05-172024-08-02$177.46$207.6723.79%53
2023-11-272024-01-17$236.08$215.55-6.79%35
2023-09-142023-10-20$276.04$211.99-19.03%27
2023-05-232023-08-03$185.77$259.3234.27%50
2023-01-312023-03-10$173.22$173.443.55%28
2022-07-202022-09-01$247.50$277.1612.03%32
2022-03-232022-04-27$333.04$293.84-12.00%25
2022-01-042022-01-25$383.20$306.13-22.64%15
2021-07-022021-12-03$226.30$338.3259.67%108
2021-04-062021-05-11$230.54$205.73-9.16%26
2020-10-072021-02-23$141.77$232.9572.25%95
2020-04-142020-09-30$47.33$143.00221.27%119
2019-09-162020-03-05$16.19$48.30205.05%119
2019-06-212019-08-15$14.79$14.38-0.20%39
2018-10-292019-01-03$22.32$20.02-6.47%45
2018-08-082018-08-31$24.69$20.11-20.30%18
2018-05-012018-07-16$19.99$20.678.28%53
2017-08-072017-11-03$23.68$20.41-16.32%64
2016-12-212017-07-07$13.85$20.8847.62%136
2016-07-252016-09-02$15.33$13.19-9.85%30
2016-03-072016-05-05$13.69$14.1010.49%43
2015-09-222015-10-12$17.40$14.37-16.64%15
2015-04-272015-08-12$15.44$15.888.46%76
2014-11-172014-12-09$16.93$14.46-17.30%16
2014-06-092014-10-01$13.69$16.0216.34%81
2013-12-182014-03-26$9.87$14.2044.30%67
2013-04-022013-10-24$2.96$11.54273.71%145
2012-11-142013-03-20$2.09$2.4010.75%86
2012-06-192012-07-27$2.14$1.97-11.83%28
2012-02-062012-04-25$2.12$2.191.95%56