Strategy Zoo / S0342

LongTermTrend_V0342

ARCHIVEDhybrid

structuralrestricted to volatility regimes ['HIGH_VOLATILITY']; changed sma_200_slope threshold -0.0022 -> -0.0044

Fitness
0.3598
Generation
16
Complexity
10
Created
2026-09-18

Lineage

Parents (1)
LongTermTrend_V0253S0253 · gen 12ARCHIVEDstructural

changed ret_20d threshold 0.05 -> 0.1208

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0342  [hybrid]
require regime.volatility in ['HIGH_VOLATILITY']
if flat and (((close > sma_200 and sma_200_slope > -0.0044) or ret_5d > 0.0029) and ret_20d > 0.1208 and ret_20d > 0.0326):
    position = 1.0
if long and ret_20d < -0.03:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR17.9%8.3%16.5%15.5%
Total Return272.7%26.9%75.6%731.0%
Sharpe0.900.400.810.70
Sortino0.620.240.430.39
Calmar0.610.230.620.43
Volatility20.5%37.0%21.8%25.0%
Max DD-29.2%-35.9%-26.7%-35.9%
Win Rate62.5%58.3%66.7%62.2%
Avg Win20.4%13.0%16.1%17.0%
Avg Loss-5.9%-10.9%-8.4%-8.2%
Payoff3.451.191.922.07
Expectancy10.5%3.0%8.0%7.5%
Profit Factor5.761.663.833.40
Trades1612937
Avg Holding Days16.411.812.013.8
Turnover4.08.04.95.0
Exposure12.2%17.2%10.6%12.8%

Growth of $100

LongTermTrend_V0342 vs TSLA Buy & Hold
LongTermTrend_V0342 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
201613.2%1.89-1.7%1
20174.8%0.60-5.0%3
2018-26.1%-1.15-29.2%4
201918.2%1.46-4.5%1
202055.7%1.03-35.8%7
20219.3%1.02-5.1%2
2022-25.6%-1.97-25.5%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 testDOWNTREND26723.2%1.0410%
hidden testEXPENSIVE8314.4%0.5717%
hidden testEXTREME48163.7%3.4852%
hidden testHIGH VOLATILITY25451.2%1.2537%
hidden testLOW VOLATILITY429-0.9%-0.820%
hidden testMEDIUM VOLATILITY24815.2%1.882%
hidden testNORMAL8009.2%0.498%
hidden testSIDEWAYS29314.3%0.936%
hidden testUPTREND37116.2%0.6415%
trainDOWNTREND5184.5%0.732%
trainEXPENSIVE31122.3%1.1324%
trainEXTREME100319.3%4.7268%
trainHIGH VOLATILITY69949.2%1.4433%
trainLOW VOLATILITY7451.3%0.400%
trainMEDIUM VOLATILITY5683.1%0.532%
trainNORMAL1,601-1.0%-0.096%
trainSIDEWAYS592-6.9%-0.538%
trainUPTREND90243.2%1.5221%
validationDOWNTREND125-2.0%-0.212%
validationEXPENSIVE138-22.7%-0.647%
validationEXTREME144132.9%1.8066%
validationHIGH VOLATILITY25850.7%0.8147%
validationLOW VOLATILITY1830.0%0.000%
validationMEDIUM VOLATILITY315-6.0%-0.943%
validationNORMAL474-10.1%-0.815%
validationSIDEWAYS206-9.5%-0.518%
validationUPTREND42531.6%0.6726%

Trades (full period)

37 trades
EntryExitEntry PxExit PxReturnDays
2025-05-132025-05-19$334.07$342.099.71%5
2025-04-302025-05-12$282.16$318.381.93%9
2025-04-162025-04-22$241.55$237.97-10.66%4
2024-12-232025-01-14$430.60$396.36-4.40%14
2024-11-072024-12-11$296.91$424.7738.70%24
2024-09-112024-09-16$228.13$226.781.62%4
2024-07-122024-08-02$248.23$207.67-10.21%16
2024-05-172024-05-29$177.46$176.190.89%8
2023-01-252023-02-28$144.43$205.7144.01%24
2022-06-242022-06-29$245.71$228.49-1.22%4
2022-01-132022-01-24$343.85$310.00-14.85%7
2022-01-042022-01-12$383.20$368.74-11.46%7
2021-11-102021-11-23$355.98$369.6812.81%10
2021-04-062021-04-08$230.54$227.93-3.10%3
2020-10-072020-10-13$141.77$148.886.63%5
2020-09-012020-09-24$158.35$129.26-23.83%17
2020-08-272020-08-31$149.25$166.112.60%3
2020-08-192020-08-26$125.24$143.547.01%6
2020-07-062020-08-10$91.44$94.5719.97%26
2020-04-142020-05-27$47.33$54.6825.56%31
2020-01-312020-03-04$43.37$49.9716.11%23
2019-10-252019-11-22$21.88$22.2018.18%21
2018-10-292018-11-26$22.32$23.07-1.73%20
2018-08-032018-08-31$23.21$20.11-13.45%21
2018-06-132018-07-06$22.99$20.59-9.99%17
2018-05-012018-05-04$19.99$19.61-3.41%4
2017-08-072017-08-15$23.68$24.161.73%7
2017-04-212017-04-24$20.37$20.540.82%2
2017-04-042017-04-20$20.25$20.172.14%12
2016-03-042016-03-17$13.40$15.0913.16%10
2014-02-262014-03-20$16.87$15.66-5.09%17
2014-01-172014-02-13$11.33$13.3114.01%19
2013-12-182014-01-03$9.87$9.97-1.75%11
2013-07-182013-09-09$7.94$10.7138.57%37
2013-05-082013-06-26$3.72$7.0584.10%35
2013-04-022013-04-30$2.96$3.6024.81%21
2012-02-062012-02-15$2.12$2.246.27%8