Strategy Zoo / S0221

LongTermTrend_V0221

ARCHIVEDhybrid

parameterchanged ret_20d threshold -0.03 -> 0.0728

Fitness
0.6470
Generation
10
Complexity
9
Created
2026-09-18

Lineage

Parents (1)
LongTermTrend_V0193S0193 · gen 9ARCHIVEDparameter

changed sma_200_slope threshold 0.0 -> -0.0024

Children (3)
LongTermTrend_V0300S0300 · gen 14ARCHIVEDstructural
PriceMomentum_V0315S0315 · gen 15ARCHIVEDcrossover
LongTermTrend_V0335S0335 · gen 15ARCHIVEDstructural

Strategy Logic (pseudocode)

# LongTermTrend_V0221  [hybrid]
if flat and (((close > sma_200 and sma_200_slope > -0.0024) or ret_20d > 0.05) and ret_20d > 0.05 and cumret_252d > -0.1997):
    position = 1.0
if long and ret_20d < 0.0728:
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR23.2%95.3%8.4%31.3%
Total Return429.7%644.6%34.7%5368.1%
Sharpe0.841.630.420.96
Sortino0.861.730.350.93
Calmar0.412.820.200.56
Volatility30.2%48.2%30.8%34.8%
Max DD-56.4%-33.7%-41.7%-56.4%
Win Rate41.0%51.1%34.6%41.6%
Avg Win8.8%13.9%8.5%10.3%
Avg Loss-2.7%-3.0%-3.0%-2.8%
Payoff3.214.622.863.61
Expectancy2.0%5.6%1.0%2.6%
Profit Factor2.234.821.512.58
Trades1224752221
Avg Holding Days7.08.66.67.3
Turnover30.731.328.230.1
Exposure36.7%47.0%31.0%37.4%

Growth of $100

LongTermTrend_V0221 vs TSLA Buy & Hold
LongTermTrend_V0221 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
201623.7%1.32-16.5%9
201728.8%1.26-14.0%13
2018-25.1%-1.13-28.6%16
2019-3.6%0.03-33.4%13
2020547.1%3.00-33.7%11
202117.8%0.64-29.0%25
2022-6.4%-0.14-17.1%11

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-23.1%-0.9921%
hidden testEXPENSIVE8344.6%1.0853%
hidden testEXTREME48183.4%3.2663%
hidden testHIGH VOLATILITY254-17.7%-0.4431%
hidden testLOW VOLATILITY42951.0%2.1132%
hidden testMEDIUM VOLATILITY248-21.9%-0.7329%
hidden testNORMAL800-0.7%-0.0327%
hidden testSIDEWAYS293-13.7%-0.5925%
hidden testUPTREND37159.6%1.5143%
trainDOWNTREND518-5.0%-0.4312%
trainEXPENSIVE31154.9%1.5463%
trainEXTREME100374.9%5.1795%
trainHIGH VOLATILITY69950.7%1.2437%
trainLOW VOLATILITY74528.9%1.4243%
trainMEDIUM VOLATILITY568-10.5%-0.4227%
trainNORMAL1,601-2.2%-0.1028%
trainSIDEWAYS592-6.2%-0.2630%
trainUPTREND90263.5%1.6056%
validationDOWNTREND12520.3%1.6210%
validationEXPENSIVE13892.1%1.7855%
validationEXTREME144320.6%3.9189%
validationHIGH VOLATILITY258101.5%1.5548%
validationLOW VOLATILITY18313.0%0.6140%
validationMEDIUM VOLATILITY31597.8%2.3250%
validationNORMAL4741.1%0.0432%
validationSIDEWAYS206-3.6%-0.1333%
validationUPTREND425135.5%2.2464%

Trades (full period)

latest 100 of 221
EntryExitEntry PxExit PxReturnDays
2026-09-162026-09-17$358.08$366.200.22%2
2026-08-212026-09-15$362.86$356.583.81%17
2026-07-132026-07-14$394.76$396.18-3.38%2
2026-06-032026-06-05$423.70$391.00-1.45%3
2026-05-212026-06-02$417.85$423.74-0.53%8
2026-05-042026-05-18$392.51$409.997.82%11
2026-04-292026-04-30$372.80$381.63-1.06%2
2026-04-202026-04-21$392.50$386.42-2.22%2
2025-12-312026-01-02$449.72$438.07-1.24%2
2025-12-152025-12-30$475.31$454.43-0.05%11
2025-11-062025-11-07$445.91$429.52-3.69%2
2025-11-032025-11-04$468.37$444.262.38%2
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-09-122025-10-13$395.94$435.9011.90%22
2025-09-082025-09-09$346.40$346.97-1.46%2
2025-09-042025-09-05$338.53$350.841.13%2
2025-08-272025-09-03$349.60$334.09-6.53%5
2025-08-252025-08-26$346.60$351.671.74%2
2025-08-152025-08-18$330.56$335.16-1.69%2
2025-08-132025-08-14$339.38$335.58-0.63%2
2025-08-112025-08-12$339.03$340.842.64%2
2025-08-072025-08-08$322.27$329.650.54%2
2025-08-052025-08-06$308.72$319.91-0.37%2
2025-07-312025-08-01$308.27$302.63-3.57%2
2025-05-122025-06-06$318.38$295.14-4.73%19
2025-05-052025-05-09$280.26$298.26-1.03%5
2025-04-292025-05-01$292.03$280.52-1.50%3
2025-04-152025-04-17$254.11$241.37-4.47%3
2025-04-102025-04-11$252.40$252.31-7.47%2
2025-04-082025-04-09$221.86$272.20-5.09%2
2024-11-072025-01-08$296.91$394.9436.41%42
2024-10-072024-10-10$240.83$238.77-3.81%4
2024-09-202024-10-04$238.25$250.08-1.54%11
2024-09-102024-09-17$226.17$227.874.65%6
2024-09-042024-09-09$219.41$216.27-0.13%4
2024-06-272024-07-31$197.42$232.0713.14%24
2024-05-282024-05-29$176.75$176.19-1.59%2
2024-05-142024-05-24$177.55$179.240.88%9
2024-05-032024-05-07$181.19$177.812.43%3
2024-04-302024-05-02$183.28$180.01-7.44%3
2024-04-152024-04-16$161.48$157.11-5.79%2
2024-02-292024-03-05$201.88$180.74-7.07%4
2024-02-262024-02-28$199.40$202.043.84%3
2023-12-272023-12-28$261.44$253.181.68%2
2023-12-222023-12-26$252.54$256.61-0.97%2
2023-12-182023-12-21$252.08$254.50-2.70%4
2023-12-062023-12-13$239.37$239.29-0.91%6
2023-11-172023-12-05$234.30$238.720.65%12
2023-09-122023-09-25$267.48$246.99-10.67%10
2023-07-262023-07-27$264.35$255.71-0.55%2
2023-05-242023-07-20$182.90$262.9056.47%39
2022-09-212022-09-22$300.80$288.59-2.77%2
2022-07-282022-08-26$280.90$288.097.52%22
2022-07-222022-07-27$272.24$274.82-4.92%4
2022-07-192022-07-21$245.53$271.712.69%3
2022-07-142022-07-18$238.31$240.551.07%3
2022-06-242022-06-28$245.71$232.663.99%3
2022-06-222022-06-23$236.09$235.07-0.60%2
2022-03-222022-04-21$331.33$336.265.88%22
2022-01-182022-01-21$343.50$314.63-5.27%4
2022-01-122022-01-14$368.74$349.87-3.28%3
2022-01-042022-01-06$383.20$354.90-9.49%3
2021-10-122021-11-29$268.57$379.0036.35%34
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-152021-09-22$251.94$250.65-0.88%6
2021-09-102021-09-13$245.42$247.67-2.66%2
2021-09-082021-09-09$251.29$251.62-0.07%2
2021-08-232021-08-27$235.43$237.312.87%5
2021-08-192021-08-20$224.49$226.75-2.45%2
2021-08-112021-08-17$235.94$221.90-3.55%5
2021-08-042021-08-09$236.97$237.92-1.70%4
2021-07-212021-07-22$218.43$216.42-0.99%2
2021-07-092021-07-19$218.98$215.41-1.51%7
2021-06-292021-07-08$226.92$217.60-6.59%7
2021-06-242021-06-28$226.61$229.572.13%3
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-05-032021-05-04$228.30$224.53-3.66%2
2021-04-192021-04-30$238.21$236.48-8.67%10
2021-04-142021-04-16$244.08$246.59-3.28%3
2021-04-052021-04-08$230.35$227.931.19%4
2020-11-192021-02-08$166.42$287.8174.78%54
2020-10-222020-10-26$141.93$140.09-0.67%3
2020-10-162020-10-19$146.56$143.61-2.25%2
2020-10-072020-10-13$141.77$148.886.63%5
2020-08-142020-09-23$110.05$126.7930.60%28
2020-08-062020-08-07$99.31$96.850.11%2
2020-06-012020-08-05$59.87$99.0077.74%47
2020-05-282020-05-29$53.72$55.67-1.96%2
2020-05-192020-05-27$53.87$54.680.44%6
2020-04-142020-05-18$47.33$54.2422.53%25
2020-03-032020-03-04$49.70$49.970.05%2
2019-12-172020-03-02$25.27$49.5774.74%51
2019-12-032019-12-04$22.41$22.200.20%2