Strategy Zoo / S0029

LongTermTrend_V0029

ARCHIVEDtrend_following

structuralremoved entry condition: close > sma_200; added exit filter: dist_sma_200 < 0.1009

Fitness
0.5147
Generation
1
Complexity
4
Created
2026-09-18

Lineage

Parents (1)
LongTermTrend_V0008S0008 · gen 0ARCHIVEDstructural

seed strategy

Children (3)
PriceMomentum_V0060S0060 · gen 3ARCHIVEDcrossover
LongTermTrend_V0076S0076 · gen 3ARCHIVEDstructural
LongTermTrend_V0083S0083 · gen 4ARCHIVEDcrossover

Strategy Logic (pseudocode)

# LongTermTrend_V0029  [trend_following]
if flat and sma_200_slope > 0.0:
    position = 1.0
if long and (close < sma_200 or dist_sma_200 < 0.1009):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR7.7%98.0%-13.1%15.8%
Total Return81.0%675.8%-40.5%759.7%
Sharpe0.381.39-0.220.55
Sortino0.461.79-0.260.67
Calmar0.101.61-0.250.21
Volatility36.7%63.9%35.7%43.5%
Max DD-75.5%-60.7%-52.9%-75.5%
Win Rate43.1%59.6%47.9%47.4%
Avg Win4.3%14.4%2.7%5.8%
Avg Loss-2.2%-3.2%-2.9%-2.5%
Payoff1.944.450.922.33
Expectancy0.6%7.3%-0.2%1.4%
Profit Factor1.486.550.852.10
Trades29989169557
Avg Holding Days4.37.13.54.6
Turnover75.059.391.575.9
Exposure50.4%71.6%45.5%53.6%

Growth of $100

LongTermTrend_V0029 vs TSLA Buy & Hold
LongTermTrend_V0029 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-20.8%-1.82-24.9%34
201735.6%1.11-19.5%26
2018-34.6%-2.13-37.4%39
2019-15.6%-0.58-35.6%26
2020585.4%2.65-60.7%1
202149.8%1.03-36.2%48
2022-36.4%-0.96-42.7%40

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 testDOWNTREND267-15.2%-0.5424%
hidden testEXPENSIVE8382.0%1.4292%
hidden testEXTREME48185.0%2.93100%
hidden testHIGH VOLATILITY25443.8%1.0633%
hidden testLOW VOLATILITY429-16.2%-0.5749%
hidden testMEDIUM VOLATILITY248-45.8%-1.1452%
hidden testNORMAL800-28.6%-0.9638%
hidden testSIDEWAYS293-38.8%-1.2048%
hidden testUPTREND37122.2%0.5260%
trainDOWNTREND518-30.1%-1.7218%
trainEXPENSIVE31183.3%1.6194%
trainEXTREME100416.1%5.63100%
trainHIGH VOLATILITY69932.5%0.7047%
trainLOW VOLATILITY74515.1%0.6049%
trainMEDIUM VOLATILITY568-10.2%-0.2957%
trainNORMAL1,601-24.5%-0.8839%
trainSIDEWAYS5923.4%0.1043%
trainUPTREND90246.4%1.0374%
validationDOWNTREND125-29.5%-1.0715%
validationEXPENSIVE13884.2%1.1099%
validationEXTREME144384.0%4.30100%
validationHIGH VOLATILITY258118.5%1.3379%
validationLOW VOLATILITY18364.2%2.3257%
validationMEDIUM VOLATILITY31578.7%1.4774%
validationNORMAL4740.4%0.0155%
validationSIDEWAYS2069.2%0.1863%
validationUPTREND425162.2%2.1592%

Trades (full period)

latest 100 of 557
EntryExitEntry PxExit PxReturnDays
2026-07-172026-07-20$380.84$369.57-2.81%2
2026-07-152026-07-16$394.46$391.06-0.63%2
2026-07-132026-07-14$394.76$396.18-3.38%2
2026-07-092026-07-10$406.55$407.762.97%2
2026-07-072026-07-08$402.90$394.06-4.21%2
2026-07-022026-07-06$393.45$419.77-7.68%2
2026-06-302026-07-01$420.60$425.301.93%2
2026-06-262026-06-29$379.71$411.841.02%2
2026-06-242026-06-25$375.53$375.12-1.79%2
2026-06-222026-06-23$405.05$381.610.94%2
2026-06-172026-06-18$396.38$400.49-2.24%2
2026-06-152026-06-16$411.15$404.660.96%2
2026-06-112026-06-12$399.15$406.434.40%2
2026-06-092026-06-10$396.68$381.59-3.20%2
2026-06-052026-06-08$391.00$408.95-6.75%2
2026-06-032026-06-04$423.70$418.45-0.21%2
2026-06-012026-06-02$415.88$423.74-4.76%2
2026-05-282026-05-29$442.10$435.790.19%2
2026-05-262026-05-27$433.59$440.361.58%2
2026-05-212026-05-22$417.85$426.01-0.06%2
2026-05-192026-05-20$404.11$417.26-1.63%2
2026-05-152026-05-18$422.24$409.99-4.95%2
2026-05-132026-05-14$445.27$443.302.52%2
2026-05-112026-05-12$445.00$433.453.68%2
2026-05-072026-05-08$411.79$428.353.07%2
2026-05-052026-05-06$389.37$398.73-1.00%2
2026-05-012026-05-04$390.82$392.512.21%2
2026-04-292026-04-30$372.80$381.63-1.06%2
2026-04-272026-04-28$378.67$376.020.43%2
2026-04-232026-04-24$373.72$376.30-3.75%2
2026-04-212026-04-22$386.42$387.51-1.75%2
2026-04-172026-04-20$400.62$392.502.81%2
2026-04-152026-04-16$391.95$388.907.41%2
2026-04-132026-04-14$352.42$364.200.79%2
2026-04-092026-04-10$345.62$348.950.49%2
2026-04-072026-04-08$346.65$343.25-1.95%2
2026-04-022026-04-06$360.59$352.82-5.62%2
2026-03-312026-04-01$371.75$381.264.43%2
2026-03-272026-03-30$361.83$355.28-2.96%2
2026-03-252026-03-26$385.95$372.110.56%2
2026-03-232026-03-24$380.85$383.033.30%2
2026-03-192026-03-20$380.30$367.96-3.37%2
2026-03-172026-03-18$399.27$392.780.74%2
2026-03-132026-03-16$391.20$395.56-1.16%2
2026-03-112026-03-12$407.82$395.011.95%2
2026-03-092026-03-10$398.68$399.240.29%2
2026-03-052026-03-06$405.55$396.73-0.30%2
2026-03-032026-03-04$392.43$405.94-2.90%2
2026-02-272026-03-02$402.51$403.32-1.68%2
2026-02-252026-02-26$417.40$408.581.76%2
2026-02-232026-02-24$399.83$409.38-3.11%2
2026-02-192026-02-20$411.71$411.82-0.11%2
2026-02-172026-02-18$410.63$411.32-1.83%2
2026-02-102026-02-13$425.21$417.44-0.26%4
2026-02-062026-02-09$411.11$417.323.30%2
2025-09-122026-02-05$395.94$397.219.87%101
2025-09-102025-09-11$347.79$368.810.04%2
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-282025-08-29$345.98$333.87-1.23%2
2025-08-262025-08-27$351.67$349.601.26%2
2025-08-222025-08-25$340.01$346.606.01%2
2025-08-202025-08-21$323.90$320.11-1.84%2
2025-08-182025-08-19$335.16$329.311.19%2
2025-08-142025-08-15$335.58$330.56-1.32%2
2025-08-122025-08-13$340.84$339.380.33%2
2025-08-082025-08-11$329.65$339.032.09%2
2025-08-062025-08-07$319.91$322.273.42%2
2025-08-042025-08-05$309.26$308.721.99%2
2025-07-312025-08-01$308.27$302.63-3.57%2
2025-07-292025-07-30$321.20$319.04-1.55%2
2025-07-252025-07-28$316.06$325.593.32%2
2025-07-232025-07-24$332.56$305.30-0.06%2
2025-07-212025-07-22$328.49$332.11-0.55%2
2025-07-172025-07-18$319.41$329.65-0.90%2
2025-07-152025-07-16$310.78$321.67-2.13%2
2025-07-112025-07-14$313.51$316.900.97%2
2025-07-092025-07-10$295.88$309.87-0.85%2
2025-07-072025-07-08$293.94$297.81-6.98%2
2025-07-022025-07-03$315.65$315.354.76%2
2025-06-302025-07-01$317.66$300.71-2.04%2
2025-06-262025-06-27$325.78$323.63-0.74%2
2025-06-232025-06-25$348.68$327.555.48%3
2025-06-182025-06-20$322.05$322.161.60%2
2025-06-162025-06-17$329.13$316.350.97%2
2025-06-122025-06-13$319.11$325.31-2.44%2
2025-06-102025-06-11$326.09$326.435.47%2
2025-06-062025-06-09$295.14$308.583.46%2
2025-05-132025-06-05$334.07$284.704.09%17
2025-05-092025-05-12$298.26$318.384.51%2
2025-05-072025-05-08$276.22$284.820.12%2
2025-05-052025-05-06$280.26$275.35-2.62%2
2025-05-012025-05-02$280.52$287.21-0.78%2
2025-04-292025-04-30$292.03$282.161.95%2
2025-04-252025-04-28$284.95$285.889.59%2
2025-04-232025-04-24$250.74$259.515.16%2
2025-04-212025-04-22$227.50$237.97-5.94%2
2025-04-162025-04-17$241.55$241.37-5.14%2
2025-04-142025-04-15$252.35$254.11-0.18%2