Strategy Zoo / S1566

LongTermTrend_V1566

ARCHIVEDhybrid

structuralreplaced exit rule with: breakout_20 == 1

Fitness
0.3363
Generation
72
Complexity
12
Created
2026-10-14

Lineage

Parents (1)
LongTermTrend_V1402S1402 · gen 64ELITEstructural

changed ret_20d threshold 0.1 -> 0.0257

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1566  [hybrid]
require regime.bubble in ['EXPENSIVE', 'EXTREME']
if flat and ((((close > sma_200 and sma_200_slope > -0.0012) or ret_20d > 0.0257) and ret_20d > 0.05 and cumret_252d > -0.1997) and ret_20d > 0.05):
    position = 1.0
if long and breakout_20 == 1:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR14.1%28.1%2.5%13.9%
Total Return185.9%110.2%9.9%580.1%
Sharpe0.670.790.230.60
Sortino0.460.600.140.39
Calmar0.360.470.070.23
Volatility24.0%43.7%17.9%28.0%
Max DD-38.9%-60.0%-38.9%-60.0%
Win Rate78.8%86.0%81.8%81.4%
Avg Win3.7%5.2%3.5%4.1%
Avg Loss-6.2%-12.7%-11.4%-8.4%
Payoff0.610.410.310.49
Expectancy1.6%2.7%0.8%1.8%
Profit Factor2.242.511.392.16
Trades804322145
Avg Holding Days5.16.35.75.5
Turnover20.228.711.719.7
Exposure16.4%29.9%10.9%17.7%

Growth of $100

LongTermTrend_V1566 vs TSLA Buy & Hold
LongTermTrend_V1566 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
20160.0%0.000.0%0
2017-4.1%-0.01-19.6%24
20180.0%0.000.0%0
20191.2%0.24-4.0%3
2020117.9%1.44-60.0%38
2021-3.7%-0.13-11.2%4
20220.0%0.000.0%0

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 testDOWNTREND2790.0%0.000%
hidden testEXPENSIVE83-6.5%-0.1670%
hidden testEXTREME48180.6%3.3385%
hidden testHIGH VOLATILITY25421.8%0.9016%
hidden testLOW VOLATILITY44311.4%1.444%
hidden testMEDIUM VOLATILITY251-26.6%-1.1818%
hidden testNORMAL817-5.2%-0.970%
hidden testSIDEWAYS298-12.2%-1.302%
hidden testUPTREND37120.3%0.7426%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE31110.3%0.2478%
trainEXTREME100386.4%5.6074%
trainHIGH VOLATILITY69934.6%1.0222%
trainLOW VOLATILITY7451.3%0.1111%
trainMEDIUM VOLATILITY56812.4%0.5716%
trainNORMAL1,601-6.1%-1.061%
trainSIDEWAYS5920.7%0.066%
trainUPTREND90235.2%1.0232%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE138-50.8%-0.7879%
validationEXTREME144260.6%3.5980%
validationHIGH VOLATILITY25839.4%0.6142%
validationLOW VOLATILITY183-1.2%-0.0617%
validationMEDIUM VOLATILITY31551.2%1.6727%
validationNORMAL474-9.3%-0.800%
validationSIDEWAYS206-3.9%-0.157%
validationUPTREND42563.2%1.1450%

Trades (full period)

latest 100 of 145
EntryExitEntry PxExit PxReturnDays
2025-11-062025-11-13$445.91$401.99-7.00%6
2025-11-032025-11-04$468.37$444.262.38%2
2025-10-032025-10-29$429.83$461.515.42%19
2025-10-012025-10-02$459.46$436.003.11%2
2025-09-262025-09-30$440.40$444.724.48%3
2025-09-232025-09-25$425.85$423.391.77%3
2025-09-192025-09-22$426.07$434.212.01%2
2025-09-172025-09-18$425.86$416.850.80%2
2025-09-152025-09-16$410.04$421.623.36%2
2025-05-282025-06-02$356.90$342.69-4.72%4
2025-05-202025-05-22$343.82$341.04-2.38%3
2025-05-152025-05-19$342.82$342.090.46%3
2024-12-192025-02-26$436.17$290.80-31.34%45
2024-12-172024-12-18$479.86$440.133.43%2
2024-12-122024-12-16$418.10$463.022.49%3
2024-12-102024-12-11$400.99$424.772.67%2
2024-12-062024-12-09$389.22$389.795.13%2
2024-12-042024-12-05$357.93$369.491.65%2
2024-11-262024-12-03$338.23$351.425.25%5
2024-11-132024-11-25$330.24$338.597.11%9
2024-11-112024-11-12$350.00$328.498.75%2
2024-11-072024-11-08$296.91$321.222.70%2
2021-01-272021-02-19$288.05$260.43-11.02%17
2021-01-112021-01-26$270.40$294.36-0.12%11
2021-01-072021-01-08$272.01$293.347.74%2
2021-01-052021-01-06$245.04$251.990.53%2
2020-12-212021-01-04$216.62$243.261.33%9
2020-12-092020-12-18$201.49$231.670.72%8
2020-12-072020-12-08$213.92$216.636.92%2
2020-11-302020-12-04$189.20$199.681.10%5
2020-11-252020-11-27$191.33$195.253.15%2
2020-11-232020-11-24$173.95$185.136.38%2
2020-11-192020-11-20$166.42$163.202.39%2
2020-10-162020-11-18$146.56$162.21-1.82%24
2020-09-022020-10-15$149.12$149.63-3.09%31
2020-08-282020-09-01$147.56$158.3511.07%3
2020-08-242020-08-27$134.28$149.254.82%4
2020-08-202020-08-21$133.46$136.676.36%2
2020-08-182020-08-19$125.81$125.242.60%2
2020-07-222020-08-17$106.16$122.385.04%19
2020-07-172020-07-21$100.06$104.569.27%3
2020-07-132020-07-16$99.80$100.04-0.12%4
2020-07-092020-07-10$92.95$102.981.88%2
2020-07-072020-07-08$92.66$91.061.13%2
2020-07-022020-07-06$80.58$91.447.74%2
2020-06-122020-07-01$62.35$74.6410.77%14
2020-06-102020-06-11$68.34$64.868.76%2
2020-06-022020-06-09$58.77$62.715.56%6
2020-05-262020-06-01$54.59$59.872.01%5
2020-05-122020-05-22$53.96$54.461.81%9
2020-05-012020-05-11$46.75$54.094.58%7
2020-04-292020-04-30$53.37$52.133.88%2
2020-04-202020-04-28$49.76$51.275.74%7
2020-04-162020-04-17$49.68$50.261.91%2
2020-04-142020-04-15$47.33$48.668.85%2
2020-02-212020-03-19$60.07$28.51-59.92%20
2020-02-062020-02-20$49.93$59.9624.62%10
2020-02-042020-02-05$59.14$48.9813.51%2
2020-01-312020-02-03$43.37$52.001.32%2
2020-01-272020-01-30$37.20$42.722.66%4
2020-01-232020-01-24$38.15$37.650.26%2
2020-01-152020-01-22$34.57$37.971.52%5
2020-01-092020-01-14$32.09$35.866.43%4
2020-01-072020-01-08$31.27$32.813.68%2
2019-12-272020-01-06$28.69$30.102.60%6
2019-12-242019-12-26$28.35$28.731.24%2
2019-12-202019-12-23$27.04$27.950.18%2
2019-12-172019-12-19$25.27$26.942.85%3
2017-09-202017-09-26$24.93$23.02-8.21%5
2017-09-182017-09-19$25.67$25.011.17%2
2017-08-102017-09-14$23.69$25.180.54%25
2017-08-072017-08-09$23.68$24.242.12%3
2017-06-262017-08-04$25.17$23.79-9.66%29
2017-06-152017-06-23$25.02$25.560.31%7
2017-06-092017-06-14$23.82$25.381.40%4
2017-06-072017-06-08$23.98$24.671.73%2
2017-06-012017-06-06$22.69$23.521.65%4
2017-05-122017-05-31$21.65$22.733.51%13
2017-05-022017-05-11$21.26$21.540.54%8
2017-04-272017-05-01$20.58$21.521.05%3
2017-04-122017-04-26$19.79$20.681.44%10
2017-04-072017-04-11$20.17$20.584.38%3
2017-04-052017-04-06$19.67$19.91-3.06%2
2017-04-032017-04-04$19.90$20.257.06%2
2017-03-302017-03-31$18.53$18.55-0.01%2
2017-03-282017-03-29$18.50$18.492.47%2
2017-02-162017-02-28$17.93$16.67-12.16%8
2017-02-142017-02-15$18.73$18.65-0.06%2
2017-02-102017-02-13$17.95$18.71-0.19%2
2017-02-082017-02-09$17.47$17.951.58%2
2017-02-032017-02-07$16.76$17.172.27%3
2017-01-252017-01-31$16.96$16.80-1.76%5
2014-03-062014-04-11$16.86$13.59-19.35%27
2014-02-282014-03-05$16.32$16.840.71%4
2014-02-262014-02-27$16.87$16.841.81%2
2014-02-242014-02-25$14.51$16.533.64%2
2014-02-202014-02-21$14.00$13.978.22%2
2014-02-182014-02-19$13.58$12.912.56%2
2014-02-132014-02-14$13.31$13.222.00%2
2014-02-112014-02-12$13.11$13.02-0.17%2