Strategy Zoo / S0339

LongTermTrend_V0339

ARCHIVEDhybrid

crossoverentry = LongTermTrend_V0235 OR PriceMomentum_V0227

Fitness
0.5917
Generation
16
Complexity
16
Created
2026-09-18

Lineage

Parents (2)
PriceMomentum_V0227S0227 · gen 11ARCHIVEDcrossover

logic of PriceMomentum_V0186 with risk overlay of PriceMomentum_V0160

LongTermTrend_V0235S0235 · gen 11ARCHIVEDcrossover

added entry filter: dist_sma_50 > -0.0774

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0339  [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.1997 and dist_sma_50 > -0.0774) or (ret_20d > 0.05 and rel_volume > 1.2635)):
    position = 1.0
if long and (ret_20d < -0.1357 or roll_high_50 < sma_20):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR19.1%118.8%13.2%33.4%
Total Return302.9%947.6%58.3%6780.6%
Sharpe0.641.700.500.88
Sortino0.832.080.641.11
Calmar0.262.740.280.46
Volatility38.9%54.9%42.9%43.6%
Max DD-72.7%-43.4%-47.0%-72.7%
Win Rate38.1%62.5%60.0%48.7%
Avg Win67.8%87.0%16.2%63.3%
Avg Loss-13.3%-13.2%-9.3%-12.5%
Payoff5.116.601.745.08
Expectancy17.6%49.4%6.0%24.4%
Profit Factor3.1410.002.614.83
Trades2181039
Avg Holding Days63.665.560.865.3
Turnover5.45.35.75.4
Exposure69.1%68.3%66.3%68.3%

Growth of $100

LongTermTrend_V0339 vs TSLA Buy & Hold
LongTermTrend_V0339 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-27.2%-1.00-48.6%4
201715.7%0.61-34.5%2
2018-21.6%-0.41-41.1%3
201933.6%1.01-28.7%3
2020842.7%3.35-33.7%2
202144.7%1.10-29.3%3
2022-26.5%-0.64-31.4%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 testDOWNTREND267-0.6%-0.0237%
hidden testEXPENSIVE8387.2%1.8475%
hidden testEXTREME48189.8%3.1188%
hidden testHIGH VOLATILITY25428.1%0.5158%
hidden testLOW VOLATILITY42945.9%1.3771%
hidden testMEDIUM VOLATILITY248-27.2%-0.6267%
hidden testNORMAL8004.7%0.1164%
hidden testSIDEWAYS293-20.0%-0.5173%
hidden testUPTREND37170.4%1.4282%
trainDOWNTREND518-15.6%-0.5747%
trainEXPENSIVE31183.7%1.9283%
trainEXTREME100416.1%5.63100%
trainHIGH VOLATILITY69950.1%1.0357%
trainLOW VOLATILITY74530.8%1.0580%
trainMEDIUM VOLATILITY568-13.9%-0.3870%
trainNORMAL1,601-10.9%-0.3264%
trainSIDEWAYS592-24.4%-0.6960%
trainUPTREND90280.6%1.7688%
validationDOWNTREND12548.7%1.8722%
validationEXPENSIVE13896.2%1.5983%
validationEXTREME144378.9%4.4795%
validationHIGH VOLATILITY258113.0%1.6256%
validationLOW VOLATILITY18356.0%1.6987%
validationMEDIUM VOLATILITY31599.2%1.9367%
validationNORMAL4745.9%0.1556%
validationSIDEWAYS206-22.9%-0.5562%
validationUPTREND425162.9%2.4985%

Trades (full period)

40 trades
EntryExitEntry PxExit PxReturnDays
2026-08-24—$348.95—0.15%19OPEN
2026-04-202026-06-26$392.50$379.71-6.55%48
2025-04-302026-04-09$282.16$345.6217.30%237
2025-04-082025-04-23$221.86$250.741.80%11
2024-11-072025-01-28$296.91$398.0937.37%54
2024-09-042024-10-23$219.41$213.653.30%36
2024-04-302024-08-05$183.28$198.886.80%67
2023-11-172024-01-18$234.30$211.88-7.91%41
2023-09-122023-10-20$267.48$211.99-19.71%29
2023-05-242023-08-14$182.90$239.7630.36%56
2023-01-302023-03-10$166.66$173.44-3.00%29
2022-06-222022-10-06$236.09$238.131.39%75
2022-03-222022-04-27$331.33$293.84-5.04%26
2022-01-042022-01-26$383.20$312.47-23.61%16
2021-06-142021-12-06$205.90$336.3466.09%123
2021-04-062021-05-12$230.54$196.63-10.87%27
2020-10-072021-02-23$141.77$232.9572.25%95
2020-04-142020-09-30$47.33$143.00221.27%119
2019-09-122020-03-05$16.39$48.30202.71%121
2019-07-052019-08-15$15.54$14.38-6.69%30
2019-02-282019-03-07$21.33$18.44-12.41%6
2018-10-292019-01-04$22.32$21.18-9.41%46
2018-08-032018-09-05$23.21$18.72-17.50%23
2018-04-302018-07-30$19.59$19.340.85%64
2017-12-122018-03-26$22.74$20.28-8.50%71
2017-08-042017-11-03$23.79$20.41-13.95%65
2016-10-042017-07-07$14.09$20.8844.23%191
2016-07-192016-09-06$15.02$13.52-12.76%35
2016-06-082016-06-27$15.70$13.24-17.03%14
2016-03-042016-05-05$13.40$14.1013.48%44
2015-11-302016-01-21$15.35$13.33-14.38%36
2015-09-212015-10-13$17.61$14.62-17.45%17
2015-02-112015-08-26$14.19$14.991.52%137
2014-11-112014-12-11$16.74$13.93-13.43%22
2014-05-282014-10-01$14.02$16.0214.48%89
2013-12-132014-03-27$9.84$13.8244.12%71
2012-11-062013-10-29$2.08$10.96415.98%247
2012-08-242012-10-16$1.97$1.87-11.25%37
2012-06-192012-08-02$2.14$1.74-17.72%32
2012-02-022012-04-25$2.02$2.197.36%58