Strategy Zoo / S0380

LongTermTrend_V0380

ARCHIVEDhybrid

parameterchanged ret_20d threshold 0.05 -> 0.1314

Fitness
0.6235
Generation
17
Complexity
11
Created
2026-09-18

Lineage

Parents (1)
LongTermTrend_V0323S0323 · gen 15ARCHIVEDparameter

changed ret_20d threshold 0.05 -> 0.1

Children (0)
None

Strategy Logic (pseudocode)

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

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR17.1%85.7%18.6%29.3%
Total Return253.0%540.9%87.7%4270.8%
Sharpe0.701.530.730.93
Sortino0.601.490.540.79
Calmar0.332.540.750.57
Volatility28.3%48.1%29.3%33.5%
Max DD-51.6%-33.7%-24.7%-51.6%
Win Rate46.9%60.0%50.0%50.8%
Avg Win21.9%32.2%16.5%24.3%
Avg Loss-7.5%-7.1%-3.8%-6.7%
Payoff2.914.504.363.64
Expectancy6.3%16.4%6.4%9.1%
Profit Factor2.576.754.363.77
Trades32151259
Avg Holding Days19.322.519.820.4
Turnover8.110.06.88.1
Exposure29.4%42.7%26.3%31.4%

Growth of $100

LongTermTrend_V0380 vs TSLA Buy & Hold
LongTermTrend_V0380 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
201627.5%1.68-6.9%2
201719.9%1.04-13.2%4
2018-31.5%-1.77-34.3%4
20199.7%0.47-22.2%3
2020446.2%2.75-33.7%5
202127.1%0.90-20.6%6
2022-11.5%-0.33-24.4%4

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 testDOWNTREND2675.8%0.3611%
hidden testEXPENSIVE8354.3%1.3849%
hidden testEXTREME48183.4%3.2663%
hidden testHIGH VOLATILITY25413.3%0.3526%
hidden testLOW VOLATILITY42946.4%2.1625%
hidden testMEDIUM VOLATILITY248-13.7%-0.4528%
hidden testNORMAL8008.2%0.3222%
hidden testSIDEWAYS2931.4%0.0619%
hidden testUPTREND37148.4%1.2343%
trainDOWNTREND5182.8%0.384%
trainEXPENSIVE31122.8%0.6752%
trainEXTREME100380.3%5.2396%
trainHIGH VOLATILITY69943.3%1.1232%
trainLOW VOLATILITY74520.3%1.0137%
trainMEDIUM VOLATILITY568-10.1%-0.4716%
trainNORMAL1,601-3.4%-0.1721%
trainSIDEWAYS592-6.4%-0.3019%
trainUPTREND90246.5%1.2351%
validationDOWNTREND12540.1%2.076%
validationEXPENSIVE13886.0%1.6154%
validationEXTREME144299.5%3.6689%
validationHIGH VOLATILITY25879.7%1.2047%
validationLOW VOLATILITY18318.9%1.0327%
validationMEDIUM VOLATILITY315100.2%2.3849%
validationNORMAL4741.2%0.0525%
validationSIDEWAYS206-19.8%-0.7429%
validationUPTREND425128.6%2.1360%

Trades (full period)

60 trades
EntryExitEntry PxExit PxReturnDays
2026-08-24—$348.95—0.28%19OPEN
2026-05-072026-06-08$411.79$408.95-2.13%22
2025-12-152026-01-05$475.31$451.67-4.74%14
2025-09-152025-10-15$410.04$435.158.20%23
2025-05-062025-06-06$275.35$295.141.38%23
2024-11-072025-01-08$296.91$394.9436.41%42
2024-09-242024-10-11$254.27$217.80-4.68%14
2024-09-062024-09-18$210.73$227.20-1.21%9
2024-07-022024-08-01$231.26$216.8610.37%22
2024-05-172024-05-24$177.46$179.24-0.83%6
2023-11-272023-12-14$236.08$251.051.43%14
2023-09-142023-09-26$276.04$244.12-9.14%9
2023-05-242023-07-21$182.90$260.0241.23%40
2022-07-202022-08-29$247.50$284.8217.10%29
2022-03-232022-04-21$333.04$336.26-1.88%21
2022-01-132022-01-24$343.85$310.00-14.85%7
2022-01-042022-01-06$383.20$354.90-9.49%3
2021-10-192021-11-29$288.09$379.0024.09%29
2021-09-162021-10-06$252.33$260.923.07%15
2021-07-022021-07-20$226.30$220.17-4.87%12
2021-04-192021-04-30$238.21$236.48-8.67%10
2021-04-062021-04-08$230.54$227.93-3.10%3
2020-11-192021-02-09$166.42$283.1577.07%55
2020-10-072020-10-14$141.77$153.777.68%6
2020-08-192020-09-24$125.24$129.260.58%26
2020-06-022020-08-10$58.77$94.5761.43%49
2020-04-142020-05-27$47.33$54.6825.56%31
2019-12-202020-03-04$27.04$49.9784.15%50
2019-10-232019-11-25$16.98$22.4230.05%24
2019-09-162019-09-25$16.19$15.25-9.15%8
2019-07-162019-07-29$16.83$15.72-10.22%10
2018-10-292018-11-26$22.32$23.07-1.73%20
2018-08-082018-08-20$24.69$20.56-19.68%9
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-22$23.68$22.76-5.53%12
2017-06-052017-07-05$23.15$21.813.55%22
2017-04-042017-05-04$20.25$19.703.98%22
2016-12-212017-02-24$13.85$17.1322.36%44
2016-07-252016-08-09$15.33$15.271.55%12
2016-03-072016-04-20$13.69$16.6622.80%32
2015-09-222015-09-29$17.40$16.44-6.16%6
2015-07-062015-07-09$18.65$17.19-9.13%4
2015-04-272015-06-11$15.44$16.7614.55%33
2014-11-172014-11-24$16.93$16.45-6.34%6
2014-08-082014-09-16$16.54$17.380.38%27
2014-06-092014-07-16$13.69$14.485.27%27
2014-01-212014-03-25$11.78$14.7029.25%45
2013-12-182014-01-03$9.87$9.97-1.75%11
2013-10-082013-10-10$11.65$11.53-7.99%3
2013-07-022013-10-04$7.85$12.0747.61%67
2013-04-152013-06-26$2.89$7.05133.59%52
2013-04-022013-04-10$2.96$2.79-7.99%7
2013-01-302013-02-22$2.50$2.41-7.54%17
2012-11-142012-12-28$2.09$2.216.37%31
2012-07-162012-07-19$2.40$2.15-6.31%4
2012-06-192012-06-22$2.14$2.250.90%4
2012-03-292012-04-10$2.49$2.16-12.59%8
2012-03-132012-03-19$2.41$2.33-2.11%5
2012-02-062012-03-09$2.12$2.325.95%24