Strategy Zoo / S1527

LongTermTrend_V1527

ARCHIVEDhybrid

structuralreplaced exit rule with: dist_sma_20 < 0.0475

Fitness
0.5174
Generation
70
Complexity
13
Created
2026-10-13

Lineage

Parents (1)
LongTermTrend_V1383S1383 · gen 63ARCHIVEDstructural

changed ret_20d threshold 0.184 -> 0.2657

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1527  [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.05) or ret_20d > 0.2657):
    position = 1.0
if long and dist_sma_20 < 0.0475:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR13.6%72.4%19.3%25.5%
Total Return177.4%412.7%94.2%2743.3%
Sharpe0.611.410.760.87
Sortino0.561.450.680.81
Calmar0.402.140.570.74
Volatility26.7%46.1%28.5%32.0%
Max DD-34.5%-33.8%-33.9%-34.5%
Win Rate45.9%54.3%40.9%47.1%
Avg Win4.9%7.2%7.7%6.3%
Avg Loss-2.4%-2.9%-3.0%-2.7%
Payoff2.042.502.562.37
Expectancy1.0%2.6%1.4%1.6%
Profit Factor1.732.971.782.11
Trades1598166306
Avg Holding Days4.74.84.94.8
Turnover40.054.035.141.5
Exposure29.4%40.5%27.1%31.1%

Growth of $100

LongTermTrend_V1527 vs TSLA Buy & Hold
LongTermTrend_V1527 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
201617.1%1.11-14.8%11
201728.3%1.36-11.3%24
2018-7.9%-0.30-14.3%20
2019-3.9%-0.06-22.9%9
2020298.6%2.37-33.8%27
202123.6%0.81-20.3%40
2022-0.0%0.12-16.2%14

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 testDOWNTREND278-6.4%-0.3015%
hidden testEXPENSIVE8340.9%1.0549%
hidden testEXTREME48197.3%3.5558%
hidden testHIGH VOLATILITY25439.8%1.0533%
hidden testLOW VOLATILITY44338.9%1.8226%
hidden testMEDIUM VOLATILITY250-27.1%-0.9624%
hidden testNORMAL8169.4%0.3823%
hidden testSIDEWAYS29814.0%0.6726%
hidden testUPTREND37148.9%1.3337%
trainDOWNTREND5184.9%0.695%
trainEXPENSIVE31131.3%0.9653%
trainEXTREME100323.7%4.7187%
trainHIGH VOLATILITY69942.3%1.1832%
trainLOW VOLATILITY7459.4%0.5034%
trainMEDIUM VOLATILITY568-6.7%-0.3120%
trainNORMAL1,601-5.8%-0.3021%
trainSIDEWAYS592-1.7%-0.0826%
trainUPTREND90234.6%0.9846%
validationDOWNTREND12531.2%2.066%
validationEXPENSIVE13866.5%1.3650%
validationEXTREME144258.6%3.2381%
validationHIGH VOLATILITY25858.2%0.9340%
validationLOW VOLATILITY18333.9%1.7232%
validationMEDIUM VOLATILITY31588.9%2.1846%
validationNORMAL4745.9%0.2226%
validationSIDEWAYS206-4.4%-0.1728%
validationUPTREND425108.8%1.8757%

Trades (full period)

latest 100 of 306
EntryExitEntry PxExit PxReturnDays
2026-09-112026-09-14$365.44$358.970.32%2
2026-09-092026-09-10$367.81$363.56-0.29%2
2026-09-032026-09-08$376.37$368.16-1.01%3
2026-09-012026-09-02$356.09$357.01-3.42%2
2026-08-282026-08-31$348.75$367.95-1.91%2
2026-08-242026-08-27$348.95$354.81-4.89%4
2026-06-042026-06-05$418.45$391.00-1.44%2
2026-06-022026-06-03$423.74$423.701.69%2
2026-05-262026-06-01$433.59$415.882.09%5
2026-05-212026-05-22$417.85$426.01-0.06%2
2026-05-072026-05-19$411.79$404.112.62%9
2026-05-052026-05-06$389.37$398.73-1.00%2
2026-04-202026-04-22$392.50$387.51-3.74%3
2025-12-302025-12-31$454.43$449.72-1.33%2
2025-12-152025-12-29$475.31$459.643.33%10
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-10-142025-10-15$429.24$435.15-1.73%2
2025-10-092025-10-10$435.54$413.49-0.92%2
2025-10-072025-10-08$433.09$438.69-4.64%2
2025-09-122025-10-06$395.94$453.2516.32%17
2025-09-082025-09-09$346.40$346.97-1.46%2
2025-09-042025-09-05$338.53$350.841.13%2
2025-09-022025-09-03$329.36$334.09-1.55%2
2025-08-252025-08-29$346.60$333.871.55%5
2025-08-112025-08-15$339.03$330.561.60%5
2025-06-042025-06-05$332.05$284.70-3.75%2
2025-05-122025-06-03$318.38$344.2714.67%16
2025-04-302025-05-08$282.16$284.82-5.61%7
2025-04-162025-04-17$241.55$241.37-5.14%2
2025-01-072025-01-08$394.36$394.94-4.26%2
2025-01-032025-01-06$410.44$411.058.01%2
2024-12-312025-01-02$403.84$379.28-3.45%2
2024-11-072024-12-30$296.91$417.4149.31%36
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-232024-10-03$250.00$240.664.32%9
2024-09-112024-09-17$228.13$227.870.07%5
2024-09-062024-09-09$210.73$216.27-8.64%2
2024-07-292024-07-30$232.10$222.625.39%2
2024-07-252024-07-26$220.25$219.801.77%2
2024-07-232024-07-24$246.38$215.99-2.24%2
2024-06-272024-07-22$197.42$251.5121.57%17
2024-05-212024-05-23$186.60$173.742.75%3
2024-05-172024-05-20$177.46$174.951.30%2
2024-05-152024-05-16$173.99$174.84-2.20%2
2024-04-302024-05-09$183.28$171.97-10.15%8
2023-12-272023-12-29$261.44$248.48-1.53%3
2023-12-222023-12-26$252.54$256.61-0.97%2
2023-12-202023-12-21$247.14$254.50-4.11%2
2023-12-182023-12-19$252.08$257.22-0.76%2
2023-12-122023-12-13$237.01$239.29-1.34%2
2023-12-082023-12-11$243.84$239.740.29%2
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-172023-12-01$234.30$238.832.57%10
2023-09-252023-09-26$246.99$244.120.66%2
2023-09-212023-09-22$255.70$244.88-2.82%2
2023-09-122023-09-20$267.48$262.59-2.78%7
2023-07-262023-07-27$264.35$255.71-0.55%2
2023-07-182023-07-21$293.34$260.02-9.64%4
2023-07-122023-07-13$271.99$277.900.61%2
2023-06-282023-07-11$256.24$269.797.54%9
2023-05-242023-06-27$182.90$250.2129.50%23
2023-01-272023-02-24$177.90$196.8825.84%20
2022-08-242022-08-25$297.10$296.070.02%2
2022-08-152022-08-19$309.32$296.670.75%5
2022-08-112022-08-12$286.63$300.03-2.82%2
2022-07-222022-08-10$272.24$294.364.07%14
2022-07-192022-07-20$245.53$247.501.87%2
2022-06-242022-06-27$245.71$244.924.32%2
2022-04-192022-04-20$342.72$325.732.17%2
2022-04-142022-04-18$328.33$334.76-3.85%2
2022-04-122022-04-13$328.98$340.790.93%2
2022-03-222022-04-11$331.33$325.3111.11%15
2022-01-202022-01-21$332.09$314.63-0.14%2
2022-01-182022-01-19$343.50$331.88-2.02%2
2022-01-122022-01-14$368.74$349.87-3.28%3
2022-01-042022-01-07$383.20$342.32-11.44%4
2021-11-262021-11-29$360.64$379.00-3.25%2
2021-11-232021-11-24$369.68$372.00-4.33%2
2021-11-192021-11-22$379.02$385.623.51%2
2021-11-172021-11-18$363.00$365.463.05%2
2021-11-152021-11-16$337.80$351.58-2.14%2
2021-11-112021-11-12$354.50$344.47-0.62%2
2021-10-142021-11-10$272.77$355.9825.94%20
2021-10-122021-10-13$268.57$270.361.54%2
2021-10-082021-10-11$261.83$263.98-1.22%2
2021-10-042021-10-05$260.51$260.200.61%2
2021-09-302021-10-01$258.49$258.41-0.95%2
2021-09-272021-09-29$263.79$260.440.21%3
2021-09-232021-09-24$251.21$258.130.03%2
2021-09-212021-09-22$246.46$250.651.06%2
2021-09-172021-09-20$253.16$243.390.13%2
2021-09-152021-09-16$251.94$252.331.32%2
2021-09-082021-09-13$251.29$247.67-2.41%4
2021-08-252021-08-26$237.07$233.720.18%2
2021-08-232021-08-24$235.43$236.163.62%2
2021-08-192021-08-20$224.49$226.75-2.45%2