Strategy Zoo / S0165

LongTermTrend_V0165

ARCHIVEDhybrid

crossoverentry from LongTermTrend_V0140, exit from PriceMomentum_V0160

Fitness
0.6566
Generation
8
Complexity
9
Created
2026-09-18

Lineage

Parents (2)
LongTermTrend_V0140S0140 · gen 6ARCHIVEDcrossover

added entry filter: cumret_252d > -0.1997

PriceMomentum_V0160S0160 · gen 7ARCHIVEDcrossover

changed ret_20d threshold -0.03 -> 0.0392

Children (10)
LongTermTrend_V0182S0182 · gen 9ARCHIVEDcrossover
LongTermTrend_V0244S0244 · gen 11ARCHIVEDstructural
LongTermTrend_V0252S0252 · gen 12REJECTEDstructural
LongTermTrend_V0278S0278 · gen 13ARCHIVEDparameter
LongTermTrend_V0287S0287 · gen 13ARCHIVEDstructural
LongTermTrend_V0331S0331 · gen 15REJECTEDstructural
LongTermTrend_V0349S0349 · gen 16ARCHIVEDstructural
LongTermTrend_V0428S0428 · gen 19ARCHIVEDparameter
LongTermTrend_V0476S0476 · gen 22ARCHIVEDcrossover
LongTermTrend_V0484S0484 · gen 22ARCHIVEDllm

Strategy Logic (pseudocode)

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

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR16.5%106.9%10.2%29.5%
Total Return239.5%785.8%43.0%4328.0%
Sharpe0.641.710.460.89
Sortino0.661.850.400.89
Calmar0.253.170.280.44
Volatility31.5%49.7%32.3%36.2%
Max DD-66.3%-33.7%-36.1%-66.3%
Win Rate35.4%51.7%30.3%37.6%
Avg Win14.7%23.3%13.0%17.3%
Avg Loss-4.0%-4.3%-3.6%-4.0%
Payoff3.665.393.654.36
Expectancy2.6%10.0%1.5%4.0%
Profit Factor2.015.771.592.63
Trades792933141
Avg Holding Days11.314.310.311.8
Turnover19.919.318.119.3
Exposure41.0%50.9%35.0%41.6%

Growth of $100

LongTermTrend_V0165 vs TSLA Buy & Hold
LongTermTrend_V0165 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
201619.3%1.09-18.6%7
201721.3%0.97-15.1%10
2018-42.1%-1.96-42.2%13
2019-2.1%0.08-32.6%8
2020550.7%2.96-33.7%8
202127.1%0.85-29.1%14
20222.8%0.24-19.9%7

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-26.1%-1.0924%
hidden testEXPENSIVE8361.7%1.4654%
hidden testEXTREME48183.4%3.2663%
hidden testHIGH VOLATILITY254-14.8%-0.3633%
hidden testLOW VOLATILITY42956.8%2.2437%
hidden testMEDIUM VOLATILITY248-27.2%-0.8233%
hidden testNORMAL800-0.0%-0.0031%
hidden testSIDEWAYS293-5.4%-0.2131%
hidden testUPTREND37160.5%1.4846%
trainDOWNTREND518-11.6%-0.8714%
trainEXPENSIVE31150.9%1.4066%
trainEXTREME100403.3%5.4797%
trainHIGH VOLATILITY69946.1%1.0939%
trainLOW VOLATILITY74528.0%1.2549%
trainMEDIUM VOLATILITY568-22.0%-0.8432%
trainNORMAL1,601-9.7%-0.3933%
trainSIDEWAYS592-11.7%-0.4635%
trainUPTREND90259.3%1.4461%
validationDOWNTREND12552.8%2.5712%
validationEXPENSIVE13877.2%1.4457%
validationEXTREME144340.3%4.0992%
validationHIGH VOLATILITY258106.4%1.5850%
validationLOW VOLATILITY18317.6%0.7649%
validationMEDIUM VOLATILITY315106.8%2.4553%
validationNORMAL4749.9%0.3337%
validationSIDEWAYS206-12.5%-0.4138%
validationUPTREND425141.9%2.3069%

Trades (full period)

latest 100 of 142
EntryExitEntry PxExit PxReturnDays
2026-08-21—$362.86—5.19%20OPEN
2026-07-132026-07-14$394.76$396.18-3.38%2
2026-05-042026-06-08$392.51$408.95-0.15%25
2026-04-292026-04-30$372.80$381.63-1.06%2
2026-04-202026-04-22$392.50$387.51-3.74%3
2025-12-152026-01-05$475.31$451.67-4.74%14
2025-11-062025-11-07$445.91$429.52-3.69%2
2025-11-032025-11-04$468.37$444.262.38%2
2025-10-242025-10-27$433.72$452.42-3.60%2
2025-09-122025-10-15$395.94$435.1516.16%24
2025-08-252025-09-10$346.60$347.791.84%12
2025-08-072025-08-18$322.27$335.163.12%8
2025-08-052025-08-06$308.72$319.91-0.37%2
2025-07-312025-08-01$308.27$302.63-3.57%2
2025-05-052025-06-06$280.26$295.14-1.07%24
2025-04-292025-05-02$292.03$287.21-2.07%4
2025-04-152025-04-17$254.11$241.37-4.47%3
2025-04-102025-04-14$252.40$252.35-7.50%3
2025-04-082025-04-09$221.86$272.20-5.09%2
2024-11-072025-01-08$296.91$394.9436.41%42
2024-09-202024-10-11$238.25$217.80-2.31%16
2024-09-042024-09-18$219.41$227.207.99%11
2024-06-272024-08-01$197.42$216.8617.94%25
2024-05-282024-05-29$176.75$176.19-1.59%2
2024-05-142024-05-24$177.55$179.240.88%9
2024-04-302024-05-08$183.28$174.72-8.56%7
2024-04-152024-04-16$161.48$157.11-5.79%2
2024-02-262024-03-05$199.40$180.74-2.19%7
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-07-262023-07-28$264.35$266.44-3.80%3
2023-05-242023-07-21$182.90$260.0241.23%40
2022-09-212022-09-22$300.80$288.59-2.77%2
2022-07-192022-08-29$245.53$284.8219.53%30
2022-07-142022-07-18$238.31$240.551.07%3
2022-06-222022-06-28$236.09$232.663.12%5
2022-03-222022-04-21$331.33$336.265.88%22
2022-01-122022-01-24$368.74$310.00-11.49%8
2022-01-042022-01-06$383.20$354.90-9.49%3
2021-10-082021-11-29$261.83$379.0036.05%36
2021-09-152021-10-06$251.94$260.924.64%16
2021-09-082021-09-13$251.29$247.67-2.41%4
2021-08-232021-08-27$235.43$237.312.87%5
2021-08-192021-08-20$224.49$226.75-2.45%2
2021-08-042021-08-18$236.97$229.66-6.39%11
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-11-192021-02-09$166.42$283.1577.07%55
2020-10-222020-10-26$141.93$140.09-0.67%3
2020-10-162020-10-19$146.56$143.61-2.25%2
2020-10-072020-10-14$141.77$153.777.68%6
2020-08-142020-09-24$110.05$129.2617.09%29
2020-06-012020-08-10$59.87$94.5773.64%50
2020-05-282020-05-29$53.72$55.67-1.96%2
2020-04-142020-05-27$47.33$54.6825.56%31
2019-12-172020-03-04$25.27$49.9795.02%53
2019-11-292019-12-06$22.00$22.39-0.48%6
2019-10-152019-11-25$17.19$22.4229.35%30
2019-09-272019-10-04$16.14$15.43-4.12%6
2019-09-122019-09-25$16.39$15.25-9.85%10
2019-07-312019-08-02$16.11$15.62-3.66%3
2019-07-162019-07-29$16.83$15.72-10.22%10
2019-04-042019-04-05$17.85$18.33-8.43%2
2019-02-282019-03-01$21.33$19.651.43%2
2018-12-132018-12-18$25.12$22.47-5.15%4
2018-12-062018-12-10$24.20$24.34-0.68%3
2018-11-292018-11-30$22.74$23.37-2.12%2
2018-10-292018-11-26$22.32$23.07-1.73%20
2018-10-042018-10-05$18.79$17.46-4.60%2
2018-08-222018-08-30$21.44$20.21-5.44%7
2018-08-032018-08-20$23.21$20.56-12.77%12
2018-06-122018-07-06$22.85$20.59-7.09%18
2018-06-072018-06-08$21.07$21.18-1.27%2
2018-04-272018-05-04$19.61$19.61-0.56%6
2018-03-132018-03-15$22.79$21.71-5.65%3
2018-01-222018-02-07$23.44$23.00-4.78%13
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-09-182017-09-22$25.67$23.41-3.70%5
2017-08-292017-09-01$23.16$23.692.76%4
2017-08-252017-08-28$23.20$23.04-1.58%2
2017-08-042017-08-22$23.79$22.76-2.85%13
2017-06-012017-07-05$22.69$21.813.20%24
2017-05-112017-05-18$21.54$20.87-6.06%6
2017-03-282017-05-04$18.50$19.7014.87%27
2016-12-142017-02-24$13.25$17.1328.93%49
2016-10-042016-10-06$14.09$13.40-2.65%3
2016-07-222016-08-09$14.82$15.272.36%13
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-082016-06-15$15.70$14.51-7.66%6
2016-04-212016-05-02$16.55$16.12-3.88%8