Strategy Zoo / S0263

LongTermTrend_V0263

ARCHIVEDhybrid

structuralswapped indicator sma_200_slope -> dist_sma_20; restricted to volatility regimes ['LOW_VOLATILITY']

Fitness
0.3802
Generation
12
Complexity
10
Created
2026-09-18

Lineage

Parents (1)
LongTermTrend_V0173S0173 · gen 8ARCHIVEDstructural

swapped indicator ret_20d -> ret_5d; changed sma_200_slope threshold 0.0 -> -0.0022

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0263  [hybrid]
require regime.volatility in ['LOW_VOLATILITY']
if flat and (((close > sma_200 and dist_sma_20 > -0.1741) or ret_5d > 0.0029) and ret_20d > 0.05 and cumret_252d > -0.1997):
    position = 1.0
if long and ret_20d < -0.03:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR6.9%21.9%12.6%11.5%
Total Return70.8%81.1%55.0%393.8%
Sharpe0.441.280.640.64
Sortino0.301.060.420.43
Calmar0.151.400.480.25
Volatility19.9%16.5%22.5%20.0%
Max DD-45.3%-15.6%-26.2%-45.3%
Win Rate51.4%66.7%50.0%52.5%
Avg Win8.3%21.8%13.3%12.2%
Avg Loss-5.8%-8.0%-5.7%-5.9%
Payoff1.432.712.332.05
Expectancy1.4%11.9%3.8%3.6%
Profit Factor1.515.422.332.27
Trades3761659
Avg Holding Days12.019.212.113.2
Turnover9.44.08.78.0
Exposure21.5%14.4%19.1%19.5%

Growth of $100

LongTermTrend_V0263 vs TSLA Buy & Hold
LongTermTrend_V0263 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-12.9%-0.99-17.3%8
2017-0.8%0.03-23.3%7
20182.7%0.58-3.1%2
2019-3.7%0.02-31.5%5
202041.1%2.10-2.8%2
202151.7%2.06-12.6%2
2022-15.6%-2.03-15.5%2

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-11.1%-0.669%
hidden testEXPENSIVE8358.9%2.3417%
hidden testEXTREME486.8%0.276%
hidden testHIGH VOLATILITY2540.0%0.000%
hidden testLOW VOLATILITY42949.4%1.8438%
hidden testMEDIUM VOLATILITY248-31.5%-1.255%
hidden testNORMAL80010.2%0.4720%
hidden testSIDEWAYS29314.9%0.7825%
hidden testUPTREND37132.4%1.1622%
trainDOWNTREND518-13.7%-1.098%
trainEXPENSIVE31123.9%1.2123%
trainEXTREME10023.4%1.3012%
trainHIGH VOLATILITY6994.0%0.231%
trainLOW VOLATILITY74533.0%1.3554%
trainMEDIUM VOLATILITY568-17.5%-1.114%
trainNORMAL1,6014.8%0.2422%
trainSIDEWAYS592-8.2%-0.5013%
trainUPTREND90232.6%1.3235%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13837.3%2.255%
validationEXTREME14427.2%1.724%
validationHIGH VOLATILITY2580.0%0.000%
validationLOW VOLATILITY18344.5%1.7258%
validationMEDIUM VOLATILITY31524.9%1.521%
validationNORMAL47414.6%0.8720%
validationSIDEWAYS206-8.7%-0.5818%
validationUPTREND42541.8%2.1617%

Trades (full period)

59 trades
EntryExitEntry PxExit PxReturnDays
2026-08-212026-09-08$362.86$368.162.39%12
2026-05-042026-06-08$392.51$408.95-0.15%25
2025-12-152026-01-07$475.31$431.41-5.85%16
2025-09-302025-10-03$444.72$429.83-1.82%4
2025-08-112025-09-26$339.03$440.4028.18%34
2025-05-302025-06-02$346.46$342.69-3.54%2
2025-05-272025-05-28$362.89$356.906.73%2
2024-12-162024-12-19$463.02$436.170.70%4
2024-10-072024-10-14$240.83$219.16-13.09%6
2024-06-272024-07-03$197.42$246.3917.53%5
2024-04-152024-04-16$161.48$157.11-5.79%2
2024-02-292024-03-07$201.88$178.65-12.80%6
2023-11-172024-01-10$234.30$233.940.39%36
2023-07-262023-07-31$264.35$267.430.24%4
2023-07-122023-07-21$271.99$260.02-2.75%8
2023-05-242023-07-05$182.90$282.4850.32%28
2022-09-212022-09-26$300.80$276.01-11.00%4
2022-08-192022-08-29$296.67$284.82-5.07%7
2021-08-042021-10-26$236.97$339.4844.11%59
2021-06-142021-07-26$205.90$219.215.28%30
2020-06-032020-06-11$58.86$64.8616.04%7
2019-11-222020-01-14$22.20$35.8647.61%35
2019-10-232019-10-25$16.98$21.8817.02%3
2019-09-132019-09-25$16.35$15.25-9.40%9
2019-07-162019-07-26$16.83$15.20-9.92%9
2019-04-042019-04-05$17.85$18.33-8.43%2
2019-02-282019-03-04$21.33$19.02-6.52%3
2018-12-132018-12-14$25.12$24.382.58%2
2018-01-292018-02-05$23.30$22.210.06%6
2017-12-222017-12-27$21.68$20.78-4.53%3
2017-12-142017-12-20$22.53$21.93-2.53%5
2017-06-162017-06-28$24.76$24.75-3.65%9
2017-06-082017-06-12$24.67$23.93-0.84%3
2017-05-032017-05-05$20.73$20.56-7.53%3
2017-03-282017-03-29$18.50$18.492.47%2
2016-12-292017-02-24$14.31$17.1316.26%39
2016-12-222016-12-28$13.90$14.655.48%4
2016-12-202016-12-21$13.92$13.852.79%2
2016-10-042016-10-17$14.09$12.93-8.23%10
2016-07-222016-08-23$14.82$14.990.90%23
2016-06-082016-06-13$15.70$14.52-6.02%4
2016-04-282016-04-29$16.51$16.05-1.69%2
2016-04-042016-04-05$16.47$17.033.75%2
2016-03-222016-03-24$15.62$15.18-6.79%3
2015-09-282015-10-02$16.56$16.50-6.82%5
2015-04-082015-07-21$13.84$17.7838.60%73
2015-02-102015-03-03$14.42$13.30-9.45%15
2014-08-052014-09-16$15.90$17.386.22%30
2014-06-092014-07-17$13.69$14.364.11%28
2014-02-182014-02-20$13.58$14.00-2.51%3
2014-01-062014-01-14$9.80$10.75-7.02%7
2013-09-092013-10-04$10.71$12.073.59%20
2013-07-112013-07-16$8.37$7.273.88%4
2013-05-062013-05-07$3.97$3.708.87%2
2013-03-262013-04-02$2.52$2.9616.82%5
2013-01-242013-02-22$2.47$2.41-2.53%21
2012-11-062013-01-11$2.08$2.196.23%46
2012-07-122012-07-13$2.18$2.283.57%2
2012-02-152012-04-04$2.24$2.3314.36%35