Strategy Zoo / S0297

LongTermTrend_V0297

ARCHIVEDhybrid

structuralrestricted to trend regimes ['SIDEWAYS']

Fitness
0.1409
Generation
14
Complexity
9
Created
2026-09-18

Lineage

Parents (1)
LongTermTrend_V0287S0287 · gen 13ARCHIVEDstructural

removed entry condition: cumret_252d > -0.1997

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0297  [hybrid]
require regime.trend in ['SIDEWAYS']
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.0392:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR0.4%2.6%-2.4%0.1%
Total Return3.0%8.0%-8.4%1.9%
Sharpe0.100.24-0.080.08
Sortino0.050.13-0.050.04
Calmar0.010.12-0.110.00
Volatility14.7%15.5%15.0%15.0%
Max DD-40.1%-22.6%-22.1%-40.1%
Win Rate43.1%46.7%36.8%42.4%
Avg Win5.1%5.8%5.9%5.4%
Avg Loss-3.5%-3.6%-3.9%-3.6%
Payoff1.471.601.521.50
Expectancy0.2%0.8%-0.3%0.2%
Profit Factor1.121.400.891.10
Trades51151985
Avg Holding Days5.26.36.95.8
Turnover12.810.010.311.6
Exposure10.6%10.4%12.0%10.9%

Growth of $100

LongTermTrend_V0297 vs TSLA Buy & Hold
LongTermTrend_V0297 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-7.9%-0.71-11.0%7
20173.2%0.46-6.4%5
2018-5.3%-0.35-8.1%9
2019-0.6%0.10-23.2%7
20200.1%0.09-12.5%1
2021-14.6%-0.99-21.1%9
202226.4%1.50-5.4%5

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-2.5%-1.181%
hidden testEXPENSIVE839.2%0.986%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY2549.7%0.616%
hidden testLOW VOLATILITY4297.7%0.5416%
hidden testMEDIUM VOLATILITY248-28.0%-1.8412%
hidden testNORMAL800-2.4%-0.1513%
hidden testSIDEWAYS293-4.4%-0.1735%
hidden testUPTREND3712.1%0.322%
trainDOWNTREND518-5.2%-0.802%
trainEXPENSIVE31118.5%1.898%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY6992.0%0.129%
trainLOW VOLATILITY74510.1%0.9112%
trainMEDIUM VOLATILITY568-10.6%-0.7111%
trainNORMAL1,601-1.8%-0.1112%
trainSIDEWAYS592-6.5%-0.2832%
trainUPTREND90210.5%0.992%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1442.2%0.118%
validationHIGH VOLATILITY2585.5%0.365%
validationLOW VOLATILITY183-5.2%-0.4117%
validationMEDIUM VOLATILITY3157.5%0.4411%
validationNORMAL4745.3%0.3314%
validationSIDEWAYS206-3.3%-0.1135%
validationUPTREND4258.3%1.421%

Trades (full period)

85 trades
EntryExitEntry PxExit PxReturnDays
2026-07-132026-07-14$394.76$396.18-3.38%2
2026-06-012026-06-08$415.88$408.95-10.46%6
2026-05-082026-05-29$428.35$435.797.15%15
2026-04-202026-04-21$392.50$386.42-2.22%2
2025-09-052025-09-10$350.84$347.792.29%4
2025-08-252025-09-04$346.60$338.53-1.94%8
2025-08-112025-08-18$339.03$335.160.08%6
2025-08-052025-08-06$308.72$319.91-0.37%2
2025-05-122025-05-22$318.38$341.0411.97%9
2024-09-272024-10-03$260.46$240.66-2.24%5
2024-06-252024-07-02$187.35$231.2614.71%6
2024-06-182024-06-21$184.86$183.01-3.33%3
2023-12-222023-12-29$252.54$248.48-0.72%5
2023-12-182023-12-21$252.08$254.50-2.70%4
2023-11-172023-12-14$234.30$251.052.24%19
2023-09-122023-09-26$267.48$244.12-9.90%11
2023-05-312023-06-02$203.93$213.972.96%3
2023-04-102023-04-13$184.51$185.90-2.64%4
2023-02-102023-03-07$196.89$187.71-6.71%17
2022-08-222022-08-29$289.91$284.82-3.09%6
2022-08-082022-08-16$290.42$306.567.13%7
2022-08-022022-08-05$300.59$288.173.61%4
2022-03-222022-04-05$331.33$363.7524.11%11
2022-01-202022-01-24$332.09$310.00-5.39%3
2021-08-232021-08-24$235.43$236.163.62%2
2021-08-042021-08-05$236.97$238.21-0.03%2
2021-07-212021-07-23$218.43$214.46-1.90%3
2021-06-242021-07-20$226.61$220.17-1.77%18
2021-06-182021-06-23$207.77$218.860.95%4
2021-06-142021-06-16$205.90$201.62-1.92%3
2021-05-032021-05-04$228.30$224.53-3.66%2
2021-04-142021-04-30$244.08$236.48-11.37%13
2021-04-052021-04-08$230.35$227.931.19%4
2020-04-302020-05-15$52.13$53.280.15%12
2019-10-222019-10-25$17.04$21.8817.98%4
2019-10-152019-10-21$17.19$16.90-0.20%5
2019-09-262019-09-27$16.17$16.145.85%2
2019-09-122019-09-25$16.39$15.25-9.85%10
2019-07-302019-08-02$16.15$15.62-1.01%4
2019-07-222019-07-29$17.05$15.72-11.85%6
2019-02-282019-03-01$21.33$19.651.43%2
2018-11-202018-11-26$23.17$23.07-8.01%4
2018-10-292018-11-19$22.32$23.566.86%16
2018-08-282018-08-30$20.79$20.21-4.66%3
2018-07-052018-07-06$20.61$20.59-0.75%2
2018-06-122018-06-15$22.85$23.887.50%4
2018-03-132018-03-15$22.79$21.71-5.65%3
2018-02-062018-02-07$22.26$23.000.05%2
2018-01-222018-02-01$23.44$23.281.02%9
2018-01-092018-01-11$22.25$22.53-0.68%3
2017-12-222017-12-26$21.68$21.15-2.15%2
2017-12-122017-12-21$22.74$22.11-0.18%8
2017-08-292017-09-01$23.16$23.692.76%4
2017-08-252017-08-28$23.20$23.04-1.58%2
2016-12-282017-01-05$14.65$15.123.19%6
2016-10-042016-10-06$14.09$13.40-2.65%3
2016-07-222016-07-26$14.82$15.304.11%3
2016-07-192016-07-20$15.02$15.22-0.64%2
2016-06-162016-06-17$14.53$14.36-0.09%2
2016-06-092016-06-15$15.29$14.51-8.91%5
2016-03-282016-04-05$15.35$17.038.23%7
2016-03-212016-03-24$15.89$15.18-4.55%4
2015-12-022015-12-03$15.47$15.51-2.39%2
2015-11-092015-11-11$15.02$14.61-7.01%3
2015-09-212015-09-29$17.61$16.44-4.87%7
2015-05-012015-05-11$15.07$15.974.46%7
2015-04-282015-04-29$15.37$15.50-0.66%2
2015-04-202015-04-21$13.68$13.96-0.93%2
2015-04-142015-04-17$13.83$13.79-1.67%4
2014-11-252014-11-26$16.54$16.560.35%2
2014-11-112014-11-24$16.74$16.450.15%10
2014-06-092014-06-23$13.69$15.8110.07%11
2014-05-282014-05-29$14.02$14.02-0.82%2
2014-01-152014-01-24$10.94$11.6412.32%7
2014-01-062014-01-10$9.80$9.71-1.56%5
2013-12-132014-01-03$9.84$9.971.58%14
2012-12-142012-12-18$2.25$2.312.15%3
2012-11-062012-11-23$2.08$2.142.87%13
2012-09-182012-09-21$2.09$2.00-5.23%4
2012-08-242012-08-27$1.97$1.89-4.20%2
2012-06-282012-07-19$2.09$2.150.39%15
2012-06-252012-06-27$2.21$2.13-6.64%3
2012-06-192012-06-22$2.14$2.250.90%4
2012-02-222012-02-23$2.28$2.30-1.01%2
2012-02-022012-02-21$2.02$2.3017.99%13