Strategy Zoo / S0405

LongTermTrend_V0405

ARCHIVEDhybrid

structuralchanged sma_200_slope threshold 0.0 -> 0.0006; restricted to trend regimes ['UPTREND']

Fitness
0.5765
Generation
18
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_V0405  [hybrid]
require regime.trend in ['UPTREND']
if flat and (((close > sma_200 and sma_200_slope > 0.0006) 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
CAGR15.2%84.1%15.2%27.0%
Total Return209.3%523.8%68.6%3250.4%
Sharpe0.651.540.660.91
Sortino0.571.430.400.73
Calmar0.331.860.460.59
Volatility27.1%46.6%26.8%32.0%
Max DD-46.0%-45.2%-32.8%-46.0%
Win Rate35.7%40.9%50.0%40.0%
Avg Win19.7%34.8%13.1%23.0%
Avg Loss-4.2%-4.8%-5.1%-4.5%
Payoff4.677.302.595.10
Expectancy4.3%11.4%4.0%6.5%
Profit Factor2.595.052.593.40
Trades42221680
Avg Holding Days13.614.211.613.5
Turnover10.614.78.710.9
Exposure26.9%38.4%18.3%27.1%

Growth of $100

LongTermTrend_V0405 vs TSLA Buy & Hold
LongTermTrend_V0405 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-4.6%-0.43-11.2%4
201717.3%0.86-14.1%6
2018-35.6%-1.96-35.5%8
201919.1%1.21-8.6%3
2020547.1%3.00-33.7%9
202148.2%1.39-17.6%7
2022-37.7%-2.58-37.6%6

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 testDOWNTREND2670.0%0.000%
hidden testEXPENSIVE8352.5%1.2748%
hidden testEXTREME48183.4%3.2663%
hidden testHIGH VOLATILITY254-1.9%-0.0521%
hidden testLOW VOLATILITY42936.6%2.0416%
hidden testMEDIUM VOLATILITY2485.4%0.1920%
hidden testNORMAL8004.2%0.2013%
hidden testSIDEWAYS293-16.9%-1.232%
hidden testUPTREND37157.9%1.4344%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE31132.3%0.9259%
trainEXTREME100403.3%5.4797%
trainHIGH VOLATILITY69945.8%1.2327%
trainLOW VOLATILITY74513.6%0.7334%
trainMEDIUM VOLATILITY568-11.4%-0.5517%
trainNORMAL1,601-9.2%-0.5316%
trainSIDEWAYS592-13.0%-1.502%
trainUPTREND90248.0%1.2159%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE13877.2%1.4457%
validationEXTREME144337.3%4.1784%
validationHIGH VOLATILITY25897.2%1.4843%
validationLOW VOLATILITY18320.8%1.0832%
validationMEDIUM VOLATILITY31580.8%2.1038%
validationNORMAL474-10.3%-0.4519%
validationSIDEWAYS206-10.6%-1.092%
validationUPTREND425133.0%2.1667%

Trades (full period)

80 trades
EntryExitEntry PxExit PxReturnDays
2026-05-292026-06-01$435.79$415.88-1.63%2
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-09-042025-09-05$338.53$350.841.13%2
2025-07-312025-08-01$308.27$302.63-3.57%2
2025-05-222025-06-06$341.04$295.14-15.09%11
2024-11-072025-01-08$296.91$394.9436.41%42
2024-10-032024-10-11$240.66$217.80-4.31%7
2024-09-202024-09-27$238.25$260.464.01%6
2024-09-042024-09-18$219.41$227.207.99%11
2024-07-022024-08-01$231.26$216.8610.37%22
2023-07-262023-07-28$264.35$266.44-3.80%3
2023-06-022023-07-21$213.97$260.0226.44%34
2022-09-212022-09-22$300.80$288.59-2.77%2
2022-08-162022-08-22$306.56$289.91-4.28%5
2022-08-052022-08-08$288.17$290.42-6.82%2
2022-04-052022-04-21$363.75$336.26-14.86%12
2022-01-122022-01-20$368.74$332.09-6.64%6
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-242021-08-27$236.16$237.31-0.93%4
2021-08-192021-08-20$224.49$226.75-2.45%2
2021-08-052021-08-18$238.21$229.66-6.55%10
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-05-152020-05-27$53.28$54.681.73%8
2020-04-142020-04-30$47.33$52.1322.74%13
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-252019-11-25$21.88$22.4210.92%22
2019-10-212019-10-22$16.90$17.04-1.54%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-11-192018-11-20$23.56$23.17-0.44%2
2018-08-222018-08-28$21.44$20.79-1.02%5
2018-08-032018-08-20$23.21$20.56-12.77%12
2018-06-152018-07-05$23.88$20.61-13.27%14
2018-02-012018-02-06$23.28$22.26-6.17%4
2017-09-182017-09-22$25.67$23.41-3.70%5
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
2017-01-052017-02-24$15.12$17.1312.55%35
2016-07-262016-08-09$15.30$15.27-1.87%11
2016-06-082016-06-09$15.70$15.291.17%2
2016-04-212016-05-02$16.55$16.12-3.88%8
2016-04-052016-04-20$17.03$16.66-0.04%12
2015-08-062015-08-07$16.41$16.17-9.08%2
2015-07-212015-07-22$17.78$17.86-5.68%2
2015-07-152015-07-17$17.54$18.310.19%3
2015-06-182015-07-09$17.46$17.19-2.29%15
2015-05-112015-06-11$15.97$16.765.74%23
2015-04-292015-05-01$15.50$15.07-2.12%3
2014-08-052014-09-16$15.90$17.386.22%30
2014-06-232014-07-16$15.81$14.48-4.55%17
2014-01-242014-03-25$11.64$14.7021.06%42
2013-10-142013-10-18$11.98$12.232.09%5
2013-10-072013-10-10$12.20$11.53-6.93%4
2013-07-012013-10-04$7.81$12.0761.12%68
2013-04-112013-06-26$2.91$7.05144.15%54
2013-03-262013-04-10$2.52$2.797.70%11
2013-01-242013-02-22$2.47$2.41-2.53%21
2012-12-182012-12-28$2.31$2.21-2.26%8
2012-11-232012-12-14$2.14$2.253.30%16
2012-03-272012-04-10$2.53$2.16-11.54%10
2012-03-122012-03-19$2.40$2.331.47%6
2012-02-232012-03-09$2.30$2.32-3.55%12
2012-02-212012-02-22$2.30$2.28-1.54%2