Strategy Zoo / S1617

LongTermTrend_V1617

ARCHIVEDhybrid

crossoverlogic of LongTermTrend_V1402 with risk overlay of PriceMomentum_V1554

Fitness
0.4734
Generation
75
Complexity
13
Created
2026-10-15

Lineage

Parents (2)
LongTermTrend_V1402S1402 · gen 64ELITEcrossover

changed ret_20d threshold 0.1 -> 0.0257

PriceMomentum_V1554S1554 · gen 71ELITEcrossover

changed ret_20d threshold -0.0674 -> -0.1083; reduce exposure to 62% during MEDIUM_VOLATILITY

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1617  [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):
    position = 1.0
if long and ret_20d < -0.1003:
    position = 0.0  # exit to cash
if regime.volatility == "HIGH_VOLATILITY": position *= 0.41
if regime.volatility == "MEDIUM_VOLATILITY": position *= 0.62

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR6.9%72.4%6.8%18.0%
Total Return70.2%412.3%28.0%1049.2%
Sharpe0.381.810.370.71
Sortino0.432.380.390.82
Calmar0.102.420.130.25
Volatility28.0%33.0%29.7%29.6%
Max DD-70.8%-29.9%-52.2%-70.8%
Win Rate34.6%50.0%50.0%42.0%
Avg Win26.2%52.9%15.7%32.6%
Avg Loss-9.4%-7.1%-10.2%-9.2%
Payoff2.787.471.543.54
Expectancy2.9%22.9%2.7%8.4%
Profit Factor1.477.471.542.57
Trades26101450
Avg Holding Days50.050.235.347.5
Turnover10.57.09.69.5
Exposure48.0%43.8%41.6%45.5%

Growth of $100

LongTermTrend_V1617 vs TSLA Buy & Hold
LongTermTrend_V1617 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-31.3%-1.44-44.8%4
20175.9%0.36-27.3%2
2018-7.6%-0.25-20.2%4
2019-2.2%0.09-40.3%3
2020321.5%3.74-14.8%2
202152.5%1.49-22.0%3
2022-22.5%-0.96-26.9%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 testDOWNTREND278-20.5%-0.8228%
hidden testEXPENSIVE8367.1%1.9750%
hidden testEXTREME4895.2%2.7437%
hidden testHIGH VOLATILITY254-5.2%-0.2121%
hidden testLOW VOLATILITY44548.6%1.5658%
hidden testMEDIUM VOLATILITY250-39.6%-1.2734%
hidden testNORMAL8180.3%0.0141%
hidden testSIDEWAYS3000.1%0.0049%
hidden testUPTREND37143.4%1.2746%
trainDOWNTREND518-28.8%-1.3632%
trainEXPENSIVE31159.5%1.8654%
trainEXTREME100194.0%5.4352%
trainHIGH VOLATILITY69923.7%0.8025%
trainLOW VOLATILITY74523.7%0.8673%
trainMEDIUM VOLATILITY568-22.8%-0.8545%
trainNORMAL1,601-10.4%-0.3947%
trainSIDEWAYS592-17.3%-0.6539%
trainUPTREND90251.4%1.6263%
validationDOWNTREND12533.2%1.979%
validationEXPENSIVE13873.0%1.8657%
validationEXTREME144209.2%5.0646%
validationHIGH VOLATILITY25859.4%1.9223%
validationLOW VOLATILITY18343.3%1.3879%
validationMEDIUM VOLATILITY31570.0%1.9640%
validationNORMAL47410.8%0.3939%
validationSIDEWAYS206-7.0%-0.2444%
validationUPTREND425100.2%2.6454%

Trades (full period)

51 trades
EntryExitEntry PxExit PxReturnDays
2026-08-21—$362.86—3.98%38OPEN
2026-07-132026-07-24$394.76$313.03-13.49%10
2026-04-202026-06-10$392.50$381.590.73%37
2025-12-152026-01-16$475.31$437.50-4.63%23
2025-07-312025-11-21$308.27$391.0925.42%81
2025-04-292025-07-02$292.03$315.650.81%45
2025-04-082025-04-23$221.86$250.741.45%11
2024-11-072025-01-17$296.91$426.5018.36%48
2024-09-042024-10-22$219.41$217.97-4.51%35
2024-04-302024-08-02$183.28$207.6724.46%66
2024-04-152024-04-19$161.48$147.05-11.67%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-15.62%29
2023-05-242023-08-03$182.90$259.3238.75%49
2022-09-212022-10-04$300.80$249.44-18.49%10
2022-07-142022-09-01$238.31$277.169.72%36
2022-06-222022-07-05$236.09$233.07-1.73%9
2022-03-222022-04-27$331.33$293.84-2.62%26
2022-01-042022-01-25$383.20$306.13-9.41%15
2021-06-142021-12-03$205.90$338.3270.13%122
2021-04-052021-05-11$230.35$205.73-3.17%27
2020-10-072021-02-23$141.77$232.9532.10%95
2020-04-142020-09-30$47.33$143.00102.79%119
2019-09-122020-03-05$16.39$48.30124.75%121
2019-07-162019-08-15$16.83$14.38-11.31%23
2019-04-042019-04-29$17.85$16.10-15.82%17
2019-02-282019-03-06$21.33$18.42-10.13%5
2018-10-292019-01-03$22.32$20.02-1.91%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.675.91%55
2017-12-122018-03-23$22.74$20.10-5.63%70
2017-08-042017-11-03$23.79$20.41-10.60%65
2016-10-042017-07-07$14.09$20.8822.08%191
2016-07-192016-09-02$15.02$13.19-10.07%34
2016-06-082016-06-24$15.70$12.88-15.51%13
2016-03-042016-05-05$13.40$14.100.24%44
2015-11-092016-01-19$15.02$13.65-7.68%48
2015-09-212015-10-12$17.61$14.37-15.02%16
2015-04-082015-08-12$13.84$15.8825.24%89
2015-02-102015-03-09$14.42$12.73-11.03%19
2014-11-112014-12-09$16.74$14.46-12.36%20
2014-05-282014-10-01$14.02$16.0218.69%89
2013-12-132014-03-26$9.84$14.2027.05%70
2013-03-262013-10-24$2.52$11.54117.35%149
2012-11-062013-03-20$2.08$2.4011.44%92
2012-09-182012-10-16$2.09$1.87-11.26%21
2012-08-242012-09-12$1.97$1.89-5.29%13
2012-06-192012-07-27$2.14$1.97-4.67%28
2012-02-022012-04-25$2.02$2.197.61%58