Strategy Zoo / S0543

LongTermTrend_V0543

ARCHIVEDhybrid

crossoverentry from LongTermTrend_V0531, exit from LongTermTrend_V0470

Fitness
0.6072
Generation
25
Complexity
27
Created
2026-09-22

Lineage

Parents (2)
LongTermTrend_V0470S0470 · gen 21ARCHIVEDcrossover

removed entry condition: cumret_252d > -0.1997; changed ret_20d threshold -0.03 -> -0.1474

LongTermTrend_V0531S0531 · gen 24ARCHIVEDcrossover

added entry filter: sma_20 < close; added entry filter: macd_hist > -2.6055

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0543  [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 ((macd_hist > 0.0 and close > sma_50) or ((breakout_50 == 1 and rel_volume > 1.5045) or ((macd_hist > 0.0 and close > sma_50) and sma_50 > sma_200)))) and sma_20 < close and macd_hist > -2.6055):
    position = 1.0
if long and ret_20d < -0.1474:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR22.9%122.2%-1.1%31.6%
Total Return417.8%997.6%-4.2%5506.4%
Sharpe0.711.720.200.83
Sortino0.942.130.271.08
Calmar0.343.13-0.020.47
Volatility40.8%55.4%45.3%45.3%
Max DD-66.8%-39.1%-51.4%-66.8%
Win Rate47.4%50.0%45.5%47.4%
Avg Win63.4%107.2%18.9%68.7%
Avg Loss-14.9%-8.2%-13.5%-13.1%
Payoff4.2610.001.405.24
Expectancy22.2%49.5%1.2%25.7%
Profit Factor3.8310.001.174.71
Trades1981138
Avg Holding Days78.365.862.973.3
Turnover4.95.36.25.2
Exposure76.8%68.5%75.2%74.8%

Growth of $100

LongTermTrend_V0543 vs TSLA Buy & Hold
LongTermTrend_V0543 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-9.8%-0.19-34.6%2
201718.9%0.69-32.7%2
2018-11.0%-0.08-35.3%3
201912.4%0.49-40.0%3
2020817.7%3.31-33.7%2
202139.6%1.01-29.3%3
2022-27.9%-0.69-32.6%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 testDOWNTREND268-13.9%-0.4440%
hidden testEXPENSIVE8365.5%1.1589%
hidden testEXTREME48185.0%2.93100%
hidden testHIGH VOLATILITY25422.2%0.4065%
hidden testLOW VOLATILITY42937.8%1.0777%
hidden testMEDIUM VOLATILITY249-53.8%-1.1182%
hidden testNORMAL801-7.3%-0.1772%
hidden testSIDEWAYS293-41.1%-0.9287%
hidden testUPTREND37165.4%1.2392%
trainDOWNTREND518-18.2%-0.5959%
trainEXPENSIVE31186.2%1.9586%
trainEXTREME100416.1%5.63100%
trainHIGH VOLATILITY69950.3%0.9867%
trainLOW VOLATILITY74538.1%1.2586%
trainMEDIUM VOLATILITY568-9.8%-0.2676%
trainNORMAL1,601-6.5%-0.1874%
trainSIDEWAYS592-4.2%-0.1172%
trainUPTREND90277.5%1.6590%
validationDOWNTREND12541.2%1.6419%
validationEXPENSIVE13891.2%1.5182%
validationEXTREME144378.9%4.4795%
validationHIGH VOLATILITY258120.0%1.7055%
validationLOW VOLATILITY18356.0%1.6987%
validationMEDIUM VOLATILITY31597.7%1.9069%
validationNORMAL47410.2%0.2657%
validationSIDEWAYS206-20.8%-0.5062%
validationUPTREND425167.3%2.5386%

Trades (full period)

39 trades
EntryExitEntry PxExit PxReturnDays
2026-08-24—$348.95—0.28%20OPEN
2026-07-012026-07-24$425.30$313.03-24.14%17
2026-04-162026-06-26$388.90$379.71-4.49%50
2025-04-282026-04-10$285.88$348.9521.05%240
2024-10-252025-02-12$269.19$336.5125.87%74
2024-08-202024-10-24$221.10$260.48-4.26%47
2024-04-302024-08-05$183.28$198.886.80%67
2023-11-162024-01-18$233.59$211.88-11.42%42
2023-08-302023-10-27$256.90$207.30-20.15%42
2023-05-222023-08-15$188.87$232.9632.84%59
2023-03-242023-04-26$190.41$153.75-16.58%23
2023-01-272023-03-13$177.90$174.488.01%31
2022-06-272022-10-06$244.92$238.13-2.19%72
2022-03-212022-04-27$307.05$293.84-3.39%27
2021-12-282022-01-26$362.82$312.47-16.21%21
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-082021-02-23$141.97$232.9567.66%94
2020-04-142020-09-30$47.33$143.00221.27%119
2019-09-112020-03-05$16.47$48.30217.58%122
2019-07-012019-08-16$15.14$14.66-3.69%34
2019-01-112019-04-29$23.15$16.10-31.97%74
2018-10-242019-01-04$19.23$21.181.91%49
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-27$22.74$18.61-7.70%72
2017-07-252017-11-03$22.64$20.41-12.81%73
2016-06-082017-07-10$15.70$21.0734.54%274
2016-03-042016-05-05$13.40$14.1013.48%44
2015-11-272016-01-27$15.44$12.54-15.88%41
2015-09-162015-10-13$17.48$14.62-15.15%20
2015-02-042015-08-26$14.57$14.990.56%142
2014-11-112014-12-11$16.74$13.93-13.43%22
2014-05-282014-10-13$14.02$14.9711.76%97
2013-12-132014-03-27$9.84$13.8244.12%71
2012-11-022013-10-29$1.93$10.96455.67%249
2012-08-142012-10-16$1.96$1.87-12.50%45
2012-06-192012-08-03$2.14$1.82-18.19%33
2012-01-312012-04-25$1.94$2.197.39%60