Strategy Zoo / S1577

LongTermTrend_V1577

ARCHIVEDhybrid

crossoverlogic of LongTermTrend_V1513 with risk overlay of PriceMomentum_V1423

Fitness
0.4408
Generation
73
Complexity
13
Created
2026-10-14

Lineage

Parents (2)
PriceMomentum_V1423S1423 · gen 65ARCHIVEDcrossover

swapped indicator ret_20d -> ret_1d

LongTermTrend_V1513S1513 · gen 69ELITEcrossover

added entry filter: sma_50_slope > -0.005

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1577  [hybrid]
if flat and ((((close > sma_200 and sma_200_slope > -0.0012) or ret_20d > 0.0257) and ret_20d > 0.05 and cumret_252d > -0.1997) and ret_20d > 0.05 and sma_50_slope > -0.005):
    position = 1.0
if long and ret_20d < -0.1003:
    position = 0.0  # exit to cash
if regime.volatility == "HIGH_VOLATILITY": position *= 0.41

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR4.4%85.5%2.7%17.1%
Total Return41.4%538.3%10.6%927.7%
Sharpe0.291.700.250.63
Sortino0.332.160.240.71
Calmar0.061.790.050.23
Volatility31.8%41.2%33.1%34.3%
Max DD-73.3%-47.8%-55.1%-73.3%
Win Rate34.6%55.6%30.8%37.5%
Avg Win27.4%66.9%26.6%43.3%
Avg Loss-11.1%-12.1%-9.5%-10.7%
Payoff2.475.552.804.04
Expectancy2.2%31.8%1.6%9.5%
Profit Factor1.316.931.252.42
Trades2691348
Avg Holding Days49.854.036.748.6
Turnover10.38.08.49.3
Exposure55.4%52.4%46.2%52.5%

Growth of $100

LongTermTrend_V1577 vs TSLA Buy & Hold
LongTermTrend_V1577 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
2016-26.8%-1.04-46.0%4
201712.2%0.53-31.6%2
2018-10.4%-0.28-23.0%4
2019-5.5%-0.00-45.1%3
2020533.1%3.93-15.9%2
202151.8%1.24-25.3%3
2022-36.4%-1.40-39.4%4

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 testDOWNTREND279-26.8%-1.0329%
hidden testEXPENSIVE8378.3%1.9065%
hidden testEXTREME48103.9%2.7541%
hidden testHIGH VOLATILITY254-20.3%-0.6719%
hidden testLOW VOLATILITY44351.8%1.6459%
hidden testMEDIUM VOLATILITY251-39.7%-1.0551%
hidden testNORMAL817-4.5%-0.1445%
hidden testSIDEWAYS298-7.1%-0.2352%
hidden testUPTREND37146.9%1.2154%
trainDOWNTREND518-33.1%-1.3339%
trainEXPENSIVE31168.1%1.7863%
trainEXTREME100211.4%5.2959%
trainHIGH VOLATILITY69920.1%0.6126%
trainLOW VOLATILITY74524.4%0.8875%
trainMEDIUM VOLATILITY568-23.5%-0.6766%
trainNORMAL1,601-14.6%-0.4954%
trainSIDEWAYS592-16.3%-0.5546%
trainUPTREND90250.6%1.3971%
validationDOWNTREND12518.7%1.385%
validationEXPENSIVE13898.5%1.9577%
validationEXTREME144277.5%5.4154%
validationHIGH VOLATILITY25876.3%2.0723%
validationLOW VOLATILITY18341.1%1.3079%
validationMEDIUM VOLATILITY31582.2%1.6861%
validationNORMAL474-0.9%-0.0345%
validationSIDEWAYS206-21.7%-0.6052%
validationUPTREND425130.0%2.7167%

Trades (full period)

49 trades
EntryExitEntry PxExit PxReturnDays
2026-08-21—$362.86—9.43%37OPEN
2026-07-132026-07-24$394.76$313.03-20.89%10
2026-04-202026-06-10$392.50$381.59-1.18%37
2025-12-152026-01-16$475.31$437.50-4.63%23
2025-07-312025-11-21$308.27$391.0923.63%81
2025-05-072025-07-02$276.22$315.65-4.58%39
2024-11-072025-01-17$296.91$426.5020.07%48
2024-09-042024-10-22$219.41$217.97-0.40%35
2024-04-302024-08-02$183.28$207.6726.23%66
2024-04-152024-04-19$161.48$147.05-12.53%5
2024-02-262024-03-15$199.40$163.57-15.52%15
2023-11-172024-01-17$234.30$215.55-6.04%40
2023-09-122023-10-20$267.48$211.99-19.71%29
2023-05-242023-08-03$182.90$259.3236.51%49
2022-09-212022-10-04$300.80$249.44-21.64%10
2022-07-222022-09-01$272.24$277.161.23%30
2022-03-232022-04-27$333.04$293.84-12.00%25
2022-01-042022-01-25$383.20$306.13-8.75%15
2021-06-142021-12-03$205.90$338.3265.06%122
2021-04-052021-05-11$230.35$205.73-5.87%27
2020-10-072021-02-23$141.77$232.9565.68%95
2020-04-142020-09-30$47.33$143.00141.57%119
2019-09-122020-03-05$16.39$48.30154.11%121
2019-07-162019-08-15$16.83$14.38-11.31%23
2019-04-042019-04-29$17.85$16.10-20.62%17
2019-02-282019-03-06$21.33$18.42-12.31%5
2018-10-292019-01-03$22.32$20.02-4.27%45
2018-10-042018-10-09$18.79$17.52-6.42%4
2018-08-032018-08-31$23.21$20.11-5.43%21
2018-04-272018-07-16$19.61$20.677.18%55
2017-12-122018-03-23$22.74$20.10-6.54%70
2017-08-042017-11-03$23.79$20.41-13.15%65
2016-10-042017-07-07$14.09$20.8838.66%191
2016-07-192016-09-02$15.02$13.19-10.07%34
2016-06-082016-06-24$15.70$12.88-15.57%13
2016-03-042016-05-05$13.40$14.105.43%44
2015-11-092016-01-19$15.02$13.65-11.92%48
2015-09-212015-10-12$17.61$14.37-15.49%16
2015-04-082015-08-12$13.84$15.8817.84%89
2015-02-102015-03-09$14.42$12.73-11.03%19
2014-11-112014-12-09$16.74$14.46-11.57%20
2014-05-282014-10-01$14.02$16.0214.48%89
2013-12-202014-03-26$9.55$14.2038.64%65
2013-03-262013-10-24$2.52$11.54112.25%149
2012-11-062013-03-20$2.08$2.4011.27%92
2012-09-182012-10-16$2.09$1.87-18.97%21
2012-08-242012-09-12$1.97$1.89-5.22%13
2012-06-192012-07-27$2.14$1.97-8.37%28
2012-02-022012-04-25$2.02$2.190.43%58