Strategy Zoo / S0407

LongTermTrend_V0407

ARCHIVEDhybrid

crossoverentry from LongTermTrend_V0287, exit from PriceMomentum_V0201

Fitness
0.5982
Generation
19
Complexity
8
Created
2026-09-18

Lineage

Parents (2)
PriceMomentum_V0201S0201 · gen 9ARCHIVEDcrossover

changed ret_20d threshold -0.03 -> -0.1657

LongTermTrend_V0287S0287 · gen 13ARCHIVEDcrossover

removed entry condition: cumret_252d > -0.1997

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0407  [hybrid]
if flat and (((close > sma_200 and sma_200_slope > 0.0) or ret_20d > 0.05) and ret_20d > 0.05):
    position = 1.0
if long and ret_20d < -0.1657:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR26.2%97.2%4.9%32.3%
Total Return542.3%667.0%19.4%5957.7%
Sharpe0.751.490.340.82
Sortino1.051.790.471.10
Calmar0.451.990.070.48
Volatility43.8%56.3%48.0%47.7%
Max DD-58.8%-48.9%-65.8%-67.3%
Win Rate41.7%57.1%60.0%51.7%
Avg Win81.4%135.8%16.0%76.7%
Avg Loss-9.8%-14.3%-16.5%-12.7%
Payoff8.309.480.976.05
Expectancy28.2%71.4%3.0%33.6%
Profit Factor5.9310.001.466.48
Trades1271029
Avg Holding Days136.276.672.2102.4
Turnover3.14.75.74.0
Exposure84.4%70.0%78.6%80.0%

Growth of $100

LongTermTrend_V0407 vs TSLA Buy & Hold
LongTermTrend_V0407 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-16.7%-0.44-37.9%2
201743.6%1.20-22.3%0
2018-3.8%0.16-37.3%2
201927.2%0.77-39.3%2
2020657.6%2.99-33.8%1
202147.8%1.15-27.8%3
2022-34.5%-0.88-38.0%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.5%-0.0157%
hidden testEXPENSIVE8333.9%0.6881%
hidden testEXTREME48185.0%2.93100%
hidden testHIGH VOLATILITY25450.0%0.8266%
hidden testLOW VOLATILITY42932.8%0.8983%
hidden testMEDIUM VOLATILITY248-46.9%-0.9483%
hidden testNORMAL8004.3%0.0977%
hidden testSIDEWAYS293-27.0%-0.6089%
hidden testUPTREND37162.5%1.2387%
trainDOWNTREND518-12.9%-0.3672%
trainEXPENSIVE31180.8%1.6993%
trainEXTREME100416.1%5.63100%
trainHIGH VOLATILITY69956.4%1.0179%
trainLOW VOLATILITY74537.8%1.1991%
trainMEDIUM VOLATILITY568-2.9%-0.0783%
trainNORMAL1,601-0.5%-0.0182%
trainSIDEWAYS592-5.2%-0.1380%
trainUPTREND90284.0%1.7095%
validationDOWNTREND12548.5%1.8722%
validationEXPENSIVE13887.1%1.4186%
validationEXTREME144352.1%4.0298%
validationHIGH VOLATILITY25886.0%1.1860%
validationLOW VOLATILITY18356.0%1.6987%
validationMEDIUM VOLATILITY31598.3%1.9168%
validationNORMAL4741.4%0.0457%
validationSIDEWAYS206-30.3%-0.6964%
validationUPTREND425149.6%2.2487%

Trades (full period)

30 trades
EntryExitEntry PxExit PxReturnDays
2026-08-21—$362.86—5.45%20OPEN
2025-04-082026-07-28$221.86$307.4432.28%327
2024-11-072025-02-12$296.91$336.5113.63%65
2024-09-042024-10-24$219.41$260.481.25%37
2024-04-302024-08-05$183.28$198.886.80%67
2024-04-152024-04-23$161.48$144.68-17.13%7
2024-02-262024-03-18$199.40$173.80-14.96%16
2023-11-172024-01-22$234.30$208.80-9.34%43
2023-09-122023-10-30$267.48$197.36-24.38%35
2023-05-192023-08-15$180.14$232.9635.27%60
2023-01-252023-04-27$144.43$160.196.64%65
2022-06-222022-10-07$236.09$223.070.26%76
2022-03-222022-04-27$331.33$293.84-5.04%26
2022-01-042022-01-28$383.20$282.12-31.04%18
2021-06-142021-12-06$205.90$336.3466.09%123
2021-04-052021-05-12$230.35$196.63-6.91%28
2020-04-142021-02-24$47.33$247.34435.76%219
2019-09-122020-03-10$16.39$43.02145.56%124
2019-06-182019-08-22$14.98$14.81-2.06%47
2018-10-042019-05-01$18.79$15.60-19.20%143
2018-04-272018-09-06$19.61$18.73-1.85%92
2016-06-082018-03-28$15.70$17.1919.92%455
2016-03-042016-05-06$13.40$14.337.85%45
2015-11-092016-01-28$15.02$12.65-19.23%55
2015-09-212015-10-15$17.61$14.75-16.95%19
2015-02-102015-08-26$14.42$14.990.97%138
2014-05-282014-12-15$14.02$13.60-2.35%141
2013-12-132014-03-28$9.84$14.1640.30%72
2012-06-192013-11-08$2.14$9.20338.10%351
2012-02-022012-05-21$2.02$1.92-7.01%76