Strategy Zoo / S1290

LongTermTrend_V1290

ARCHIVEDhybrid

structuraladded exit filter: close < roll_high_50; replaced exit rule with: breakout_20 == 1

Fitness
0.3616
Generation
59
Complexity
27
Created
2026-10-08

Lineage

Parents (1)
LongTermTrend_V0531S0531 · gen 24ARCHIVEDstructural

added entry filter: sma_20 < close; added entry filter: macd_hist > -2.6055

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1290  [hybrid]
if flat and (((((close > sma_200 and sma_200_slope > -0.0024) or ret_20d > 0.085) and ret_20d > 0.05 and cumret_252d > -0.1997 and dist_sma_50 > -0.0774) or ((macd_hist > 0.0 and close > sma_50) or ((breakout_50 == 1 and rel_volume > 1.5045) or ((macd_hist > 0.0 and close > sma_50) and sma_50 > sma_200)))) and sma_20 < close and macd_hist > -2.6055):
    position = 1.0
if long and breakout_20 == 1:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR27.4%13.7%30.8%24.5%
Total Return590.3%46.9%173.5%2407.8%
Sharpe0.760.530.770.68
Sortino1.020.731.140.92
Calmar0.570.200.590.35
Volatility45.2%66.8%52.3%52.2%
Max DD-47.7%-69.9%-52.0%-70.2%
Win Rate83.8%84.6%82.3%83.4%
Avg Win2.7%4.3%4.1%3.2%
Avg Loss-6.9%-10.1%-10.2%-9.1%
Payoff0.380.420.410.36
Expectancy1.1%2.1%1.6%1.2%
Profit Factor1.992.331.891.78
Trades2047879361
Avg Holding Days8.78.711.39.5
Turnover51.252.342.249.0
Exposure77.9%89.0%86.3%82.4%

Growth of $100

LongTermTrend_V1290 vs TSLA Buy & Hold
LongTermTrend_V1290 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-5.1%0.02-35.8%20
2017-0.8%0.15-27.8%29
20181.6%0.30-30.4%23
201944.4%1.18-20.4%23
2020245.1%1.97-59.9%38
20217.0%0.39-36.5%25
2022-65.2%-1.32-69.0%13

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 testDOWNTREND27872.2%1.3178%
hidden testEXPENSIVE83140.0%2.1978%
hidden testEXTREME48101.3%1.9185%
hidden testHIGH VOLATILITY25494.1%1.3089%
hidden testLOW VOLATILITY44031.7%0.8784%
hidden testMEDIUM VOLATILITY2501.1%0.0289%
hidden testNORMAL81326.6%0.5287%
hidden testSIDEWAYS295-24.7%-0.5192%
hidden testUPTREND37168.4%1.2888%
trainDOWNTREND518-2.1%-0.0567%
trainEXPENSIVE31151.0%1.0485%
trainEXTREME100386.4%5.6074%
trainHIGH VOLATILITY69973.6%1.2377%
trainLOW VOLATILITY74529.2%0.9678%
trainMEDIUM VOLATILITY568-7.3%-0.1879%
trainNORMAL1,6019.1%0.2277%
trainSIDEWAYS59217.1%0.3882%
trainUPTREND90266.6%1.4381%
validationDOWNTREND125-102.9%-1.5196%
validationEXPENSIVE13812.1%0.1690%
validationEXTREME144260.4%3.5880%
validationHIGH VOLATILITY25885.1%0.9491%
validationLOW VOLATILITY18333.2%0.9787%
validationMEDIUM VOLATILITY315-4.6%-0.0889%
validationNORMAL474-26.5%-0.4392%
validationSIDEWAYS206-38.7%-0.6494%
validationUPTREND425111.6%1.6285%

Trades (full period)

latest 100 of 361
EntryExitEntry PxExit PxReturnDays
2026-09-242026-10-07$377.94$377.81-0.05%10
2026-09-092026-09-23$367.81$380.122.71%11
2026-09-022026-09-04$357.01$354.085.48%3
2026-08-252026-09-01$350.25$356.095.23%6
2026-07-072026-08-24$402.90$348.95-13.73%35
2026-05-152026-07-02$422.24$393.45-4.26%33
2026-05-132026-05-14$445.27$443.302.52%2
2026-05-112026-05-12$445.00$433.453.68%2
2026-04-212026-05-08$386.42$428.354.70%14
2025-12-182026-04-20$483.37$392.50-14.43%83
2025-12-162025-12-17$489.88$467.262.86%2
2025-12-092025-12-15$445.17$475.314.20%5
2025-11-062025-12-08$445.91$439.58-1.73%22
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-08-272025-09-12$349.60$395.944.66%12
2025-08-132025-08-26$339.38$351.671.49%10
2025-05-292025-08-12$358.43$340.84-5.20%52
2025-05-202025-05-28$343.82$356.905.87%6
2025-05-152025-05-19$342.82$342.090.46%3
2025-05-132025-05-14$334.07$347.684.72%2
2025-05-012025-05-12$280.52$318.385.49%8
2025-04-292025-04-30$292.03$282.161.95%2
2024-12-192025-04-28$436.17$285.88-35.39%87
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-122024-11-25$328.49$338.590.52%10
2024-11-082024-11-11$321.22$350.007.98%2
2024-10-292024-11-07$259.52$296.919.69%8
2024-10-012024-10-28$258.02$262.512.68%20
2024-09-272024-09-30$260.46$261.632.25%2
2024-09-252024-09-26$257.02$254.220.88%2
2024-09-232024-09-24$250.00$254.274.73%2
2024-09-172024-09-20$227.87$238.257.34%4
2024-09-102024-09-16$226.17$226.786.27%5
2024-07-112024-09-06$241.03$210.73-12.75%41
2024-07-092024-07-10$262.33$263.263.51%2
2024-07-052024-07-08$251.52$252.941.88%2
2024-07-022024-07-03$231.26$246.399.99%2
2024-06-282024-07-01$197.88$209.860.03%2
2024-06-202024-06-27$181.57$197.426.01%6
2024-04-302024-06-18$183.28$184.86-3.61%35
2023-12-292024-02-29$248.48$201.88-20.36%42
2023-12-212023-12-28$254.50$253.185.58%5
2023-12-182023-12-20$252.08$247.141.26%3
2023-11-302023-12-15$240.08$253.502.62%12
2023-11-172023-11-29$234.30$244.145.41%8
2023-09-182023-11-16$265.28$233.59-11.68%44
2023-09-132023-09-15$271.30$274.393.00%3
2023-07-192023-09-12$291.26$267.48-6.92%39
2023-07-062023-07-18$276.54$293.342.59%9
2023-06-212023-07-05$259.46$282.481.75%10
2023-06-142023-06-20$256.79$274.450.51%4
2023-06-122023-06-13$249.83$258.712.02%2
2023-06-082023-06-09$234.86$244.404.38%2
2023-06-062023-06-07$221.31$224.571.50%2
2023-06-022023-06-05$213.97$217.612.91%2
2023-05-312023-06-01$203.93$207.521.18%2
2023-05-242023-05-30$182.90$201.163.77%4
2023-05-222023-05-23$188.87$185.774.64%2
2023-04-042023-05-19$192.58$180.14-9.36%33
2023-02-162023-04-03$202.04$194.77-3.36%32
2023-02-132023-02-15$194.64$214.246.06%3
2023-02-092023-02-10$207.32$196.892.79%2
2023-02-072023-02-08$196.81$201.290.85%2
2023-02-032023-02-06$189.98$194.760.71%2
2023-01-312023-02-02$173.22$188.278.64%3
2023-01-272023-01-30$177.90$166.6610.79%2
2022-09-212023-01-24$300.80$143.89-53.53%86
2022-08-172022-09-20$304.00$308.730.62%24
2022-08-082022-08-16$290.42$306.567.13%7
2022-08-042022-08-05$308.63$288.170.20%2
2022-08-022022-08-03$300.59$307.400.91%2
2022-07-292022-08-01$297.15$297.285.58%2
2022-07-252022-07-28$268.43$280.900.74%4
2022-07-142022-07-22$238.31$272.2414.40%7
2022-04-062022-07-11$348.59$234.34-31.20%65
2022-03-302022-04-05$364.66$363.753.96%5
2022-03-282022-03-29$363.95$366.527.83%2
2022-03-242022-03-25$337.97$336.881.28%2
2022-03-222022-03-23$331.33$333.047.70%2
2022-01-052022-03-21$362.71$307.05-21.40%52
2021-11-052022-01-04$407.36$383.20-2.65%41
2021-11-022021-11-04$390.67$409.970.23%3
2021-10-292021-11-01$371.33$402.863.23%2
2021-10-272021-10-28$345.95$359.011.71%2
2021-10-252021-10-26$341.62$339.4812.45%2
2021-10-202021-10-22$288.60$303.233.23%3
2021-10-182021-10-19$290.04$288.093.01%2
2021-10-142021-10-15$272.77$281.010.69%2