Strategy Zoo / S0682

LongTermTrend_V0682

ARCHIVEDhybrid

structuralswapped indicator macd_hist -> rsi_14; changed ret_20d threshold 0.085 -> 0.1653

Fitness
0.6956
Generation
31
Complexity
27
Created
2026-09-24

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_V0682  [hybrid]
if flat and (((((close > sma_200 and sma_200_slope > -0.0024) or ret_20d > 0.1653) 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 rsi_14 < 55.5243:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR26.9%90.1%8.1%32.6%
Total Return571.5%586.9%33.7%6246.8%
Sharpe0.901.610.400.97
Sortino0.931.590.390.97
Calmar0.692.340.170.68
Volatility32.1%46.6%33.0%35.8%
Max DD-39.2%-38.4%-48.2%-48.2%
Win Rate39.8%47.1%27.0%36.6%
Avg Win11.5%19.4%10.5%13.2%
Avg Loss-3.0%-2.8%-2.7%-2.9%
Payoff3.786.943.814.57
Expectancy2.7%7.6%0.8%3.0%
Profit Factor2.506.171.412.64
Trades1083474216
Avg Holding Days8.610.85.47.9
Turnover27.222.740.229.5
Exposure41.4%44.0%35.0%40.3%

Growth of $100

LongTermTrend_V0682 vs TSLA Buy & Hold
LongTermTrend_V0682 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
201624.1%1.32-16.6%6
201717.8%0.81-14.3%17
20186.6%0.38-13.3%16
201915.1%0.58-27.0%9
2020376.6%2.61-38.4%8
202123.6%0.82-21.6%18
202212.0%0.57-16.6%8

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 testDOWNTREND270-1.0%-0.0517%
hidden testEXPENSIVE8385.0%1.7359%
hidden testEXTREME48177.9%3.4454%
hidden testHIGH VOLATILITY25410.3%0.2438%
hidden testLOW VOLATILITY43049.9%1.9934%
hidden testMEDIUM VOLATILITY250-46.8%-1.4034%
hidden testNORMAL803-4.0%-0.1431%
hidden testSIDEWAYS293-17.0%-0.5838%
hidden testUPTREND37147.6%1.1446%
trainDOWNTREND518-3.7%-0.2314%
trainEXPENSIVE31157.3%1.5466%
trainEXTREME100383.5%5.2898%
trainHIGH VOLATILITY69960.4%1.4339%
trainLOW VOLATILITY74531.5%1.4050%
trainMEDIUM VOLATILITY568-13.2%-0.4734%
trainNORMAL1,6011.3%0.0533%
trainSIDEWAYS59216.5%0.6634%
trainUPTREND90255.8%1.3462%
validationDOWNTREND12528.6%1.327%
validationEXPENSIVE13865.6%1.2950%
validationEXTREME144276.9%3.4885%
validationHIGH VOLATILITY25839.3%0.6438%
validationLOW VOLATILITY18330.8%1.3748%
validationMEDIUM VOLATILITY315130.2%3.0747%
validationNORMAL47416.6%0.6130%
validationSIDEWAYS2062.8%0.1128%
validationUPTREND425123.9%2.1363%

Trades (full period)

latest 100 of 217
EntryExitEntry PxExit PxReturnDays
2026-09-22—$378.90—0.86%2OPEN
2026-09-182026-09-21$364.27$375.30-0.73%2
2026-09-142026-09-15$358.97$356.58-1.97%2
2026-09-092026-09-11$367.81$365.44-1.45%3
2026-09-042026-09-08$354.08$368.16-6.12%2
2026-09-012026-09-02$356.09$357.01-3.42%2
2026-07-072026-07-08$402.90$394.06-4.21%2
2026-07-012026-07-06$425.30$419.77-6.64%3
2026-05-222026-06-02$426.01$423.74-0.67%7
2026-05-202026-05-21$417.26$417.853.05%2
2026-05-072026-05-19$411.79$404.112.62%9
2026-05-042026-05-06$392.51$398.73-0.57%3
2026-04-162026-04-22$388.90$387.51-1.61%5
2025-12-102025-12-30$451.45$454.433.05%14
2025-12-042025-12-09$454.53$445.17-1.80%4
2025-11-062025-11-07$445.91$429.52-3.69%2
2025-11-032025-11-05$468.37$462.07-2.89%3
2025-10-242025-10-27$433.72$452.42-3.60%2
2025-09-052025-10-13$350.84$435.9021.90%27
2025-08-252025-09-02$346.60$329.36-2.00%6
2025-08-212025-08-22$320.11$340.01-1.37%2
2025-08-192025-08-20$329.31$323.90-1.94%2
2025-08-082025-08-18$329.65$335.162.37%7
2025-07-292025-07-30$321.20$319.04-1.55%2
2025-07-232025-07-25$332.56$316.06-8.26%3
2025-07-212025-07-22$328.49$332.11-0.55%2
2025-06-252025-06-26$327.55$325.78-3.99%2
2025-05-092025-06-05$298.26$284.7016.35%19
2025-05-072025-05-08$276.22$284.820.12%2
2025-04-282025-05-06$285.88$275.35-1.84%7
2024-11-062024-12-31$288.53$403.8465.70%38
2024-11-042024-11-05$242.84$251.44-2.66%2
2024-10-252024-11-01$269.19$248.98-4.27%6
2024-10-092024-10-10$241.05$238.77-1.61%2
2024-10-072024-10-08$240.83$244.50-3.90%2
2024-09-202024-10-04$238.25$250.08-1.54%11
2024-09-182024-09-19$227.20$243.92-0.49%2
2024-09-122024-09-17$229.81$227.87-0.79%4
2024-09-102024-09-11$226.17$228.134.37%2
2024-09-062024-09-09$210.73$216.27-8.64%2
2024-09-042024-09-05$219.41$230.173.98%2
2024-08-262024-08-27$213.21$209.21-3.42%2
2024-08-222024-08-23$210.66$220.32-5.84%2
2024-08-202024-08-21$221.10$223.27-0.93%2
2024-06-262024-07-25$196.37$220.2515.06%21
2024-06-242024-06-25$182.58$187.35-0.43%2
2024-06-172024-06-21$187.44$183.011.80%4
2024-05-282024-05-29$176.75$176.19-1.59%2
2024-05-222024-05-23$180.11$173.74-3.67%2
2024-05-202024-05-21$174.95$186.60-1.61%2
2024-05-162024-05-17$174.84$177.460.29%2
2024-05-142024-05-15$177.55$173.993.09%2
2024-05-092024-05-10$171.97$168.47-1.77%2
2024-04-302024-05-08$183.28$174.72-8.56%7
2023-12-222024-01-02$252.54$248.42-2.56%6
2023-12-152023-12-21$253.50$254.50-1.75%5
2023-12-082023-12-12$243.84$237.01-1.39%3
2023-12-062023-12-07$239.37$242.640.07%2
2023-12-042023-12-05$235.58$238.72-1.56%2
2023-11-292023-12-01$244.14$238.83-2.89%3
2023-11-272023-11-28$236.08$246.720.07%2
2023-11-222023-11-24$234.21$235.45-3.10%2
2023-11-202023-11-21$235.60$241.200.35%2
2023-11-162023-11-17$233.59$234.30-4.01%2
2023-10-102023-10-13$263.62$251.12-0.51%4
2023-10-062023-10-09$260.53$259.67-0.02%2
2023-09-122023-09-21$267.48$255.70-4.21%8
2023-09-062023-09-07$251.92$251.49-1.98%2
2023-08-302023-09-05$256.90$256.49-4.92%4
2023-05-222023-07-21$188.87$260.0245.66%42
2023-04-052023-04-06$185.52$185.06-3.86%2
2023-03-302023-04-04$195.28$192.580.26%4
2023-03-282023-03-29$189.19$193.88-1.56%2
2023-03-242023-03-27$190.41$191.81-1.14%2
2023-01-272023-03-03$177.90$197.7918.89%25
2022-09-152022-09-22$303.75$288.59-0.80%6
2022-09-132022-09-14$292.13$302.61-4.23%2
2022-07-212022-08-23$271.71$296.4516.91%24
2022-07-192022-07-20$245.53$247.501.87%2
2022-07-112022-07-12$234.34$233.07-6.74%2
2022-03-212022-04-11$307.05$325.3113.04%16
2022-01-122022-01-13$368.74$343.853.73%2
2022-01-042022-01-06$383.20$354.90-9.49%3
2021-12-282021-12-31$362.82$352.26-2.35%4
2021-11-112021-11-15$354.50$337.80-3.43%3
2021-09-232021-11-10$251.21$355.9835.84%35
2021-08-312021-09-21$245.24$246.46-0.30%15
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-022021-08-17$236.56$221.90-0.35%12
2021-07-122021-07-15$228.57$216.87-0.74%4
2021-07-082021-07-09$217.60$218.981.06%2
2021-06-242021-07-07$226.61$214.880.26%9
2021-06-222021-06-23$207.90$218.860.26%2
2021-06-182021-06-21$207.77$206.940.89%2
2021-06-142021-06-15$205.90$199.791.08%2
2021-04-262021-04-28$246.07$231.47-3.57%3
2021-04-212021-04-23$248.04$243.13-0.10%3
2021-04-142021-04-20$244.08$239.66-6.45%5
2021-04-062021-04-07$230.54$223.66-0.12%2