Strategy Zoo / S1372

LongTermTrend_V1372

ARCHIVEDhybrid

llmAdded regime gates to require UPTREND and avoid HIGH volatility; tightened trend/momentum entry by increasing ret_20d trigger and requiring a recent 20-day breakout; added a volatility percentile gate to avoid buying into high-volatility regimes; replaced fragile single-point exit with a multi-condition exit (20d stop-loss, fall below sma_50, negative macd_hist, or significant drawdown); reduced base position to 0.7 to lower portfolio risk.

Fitness
0.4959
Generation
63
Complexity
16
Created
2026-10-09

Lineage

Parents (1)
LongTermTrend_V1216S1216 · gen 56ELITEllm

entry from LongTermTrend_V0909, exit from PriceMomentum_V0690

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1372  [hybrid]
if flat and (((close > sma_200 and sma_200_slope > 0.0) or ret_20d > 0.08) and ret_1d > -0.05 and cumret_252d > -0.6 and ret_20d > 0.03 and vol_pctile < 0.7 and breakout_20 > 0.0):
    position = 0.7
if long and (ret_20d < -0.05 or close < sma_50 or macd_hist < 0.0 or drawdown > 0.12):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR6.7%44.5%5.1%13.2%
Total Return67.3%201.6%20.6%521.0%
Sharpe0.481.500.400.75
Sortino0.351.390.280.59
Calmar0.242.680.240.48
Volatility16.2%26.9%15.4%18.8%
Max DD-27.3%-16.6%-21.4%-27.3%
Win Rate37.5%50.0%37.5%40.4%
Avg Win7.3%14.6%7.8%10.1%
Avg Loss-2.5%-2.7%-3.0%-2.7%
Payoff2.875.472.573.74
Expectancy1.1%6.0%1.0%2.5%
Profit Factor1.725.471.542.54
Trades48222494
Avg Holding Days9.711.38.39.8
Turnover8.510.39.08.9
Exposure14.9%20.9%13.0%15.6%

Growth of $100

LongTermTrend_V1372 vs TSLA Buy & Hold
LongTermTrend_V1372 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
20168.9%0.97-6.3%5
201718.3%1.29-10.7%11
2018-5.6%-0.97-6.4%4
201911.9%0.93-9.9%1
2020132.8%2.39-15.7%9
202122.9%1.08-11.9%9
20222.6%0.24-10.6%4

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-10.1%-1.264%
hidden testEXPENSIVE8341.3%1.9922%
hidden testEXTREME4839.6%1.7315%
hidden testHIGH VOLATILITY254-3.0%-0.206%
hidden testLOW VOLATILITY44121.5%1.4617%
hidden testMEDIUM VOLATILITY250-11.5%-0.6713%
hidden testNORMAL8140.6%0.0412%
hidden testSIDEWAYS2961.8%0.1218%
hidden testUPTREND37121.9%1.1116%
trainDOWNTREND5183.4%0.435%
trainEXPENSIVE31119.1%0.9225%
trainEXTREME100124.2%2.8231%
trainHIGH VOLATILITY6997.4%0.366%
trainLOW VOLATILITY74519.0%1.5124%
trainMEDIUM VOLATILITY568-6.6%-0.4613%
trainNORMAL1,601-1.7%-0.1612%
trainSIDEWAYS592-8.3%-0.6611%
trainUPTREND90220.8%0.9823%
validationDOWNTREND12513.1%1.383%
validationEXPENSIVE13855.7%2.0725%
validationEXTREME144131.7%2.8732%
validationHIGH VOLATILITY25829.0%0.8712%
validationLOW VOLATILITY18316.2%1.3923%
validationMEDIUM VOLATILITY31563.7%2.3227%
validationNORMAL4748.2%0.4816%
validationSIDEWAYS2064.8%0.3414%
validationUPTREND42565.7%1.9229%

Trades (full period)

94 trades
EntryExitEntry PxExit PxReturnDays
2026-09-232026-09-29$380.12$352.84-4.11%5
2026-09-042026-09-08$354.08$368.16-4.28%2
2026-09-012026-09-02$356.09$357.01-2.39%2
2026-08-242026-08-25$348.95$350.25-2.82%2
2026-05-082026-05-21$428.35$417.850.88%10
2026-04-202026-04-22$392.50$387.51-2.63%3
2025-12-152025-12-30$475.31$454.430.04%11
2025-11-042025-11-05$444.26$462.07-3.74%2
2025-10-292025-10-30$461.51$440.100.01%2
2025-09-122025-10-06$395.94$453.2511.37%17
2025-08-262025-09-03$351.67$334.09-3.62%6
2025-08-122025-08-22$340.84$340.01-4.06%9
2025-05-122025-06-03$318.38$344.2710.25%16
2024-12-102024-12-24$400.99$462.287.30%11
2024-09-242024-10-04$254.27$250.08-2.73%9
2024-09-062024-09-09$210.73$216.27-6.05%2
2024-06-272024-07-22$197.42$251.5115.02%17
2023-12-152024-01-02$253.50$248.42-0.80%11
2023-11-292023-12-14$244.14$251.05-2.24%12
2023-09-122023-09-22$267.48$244.88-4.72%9
2023-07-182023-07-19$293.34$291.260.57%2
2023-07-052023-07-07$282.48$274.43-0.95%3
2023-05-192023-06-27$180.14$250.2124.35%26
2023-02-092023-02-23$207.32$202.07-0.11%10
2022-08-162022-08-19$306.56$296.67-1.60%4
2022-07-222022-08-12$272.24$300.033.85%16
2022-03-212022-04-11$307.05$325.319.20%16
2022-01-042022-01-07$383.20$342.32-8.10%4
2021-10-132021-11-11$270.36$354.5022.27%22
2021-10-082021-10-11$261.83$263.98-0.86%2
2021-09-272021-10-07$263.79$264.540.62%9
2021-09-012021-09-21$244.70$246.46-0.63%14
2021-08-032021-08-17$236.58$221.90-2.43%11
2021-06-242021-07-12$226.61$228.57-0.06%12
2021-04-142021-04-29$244.08$225.67-6.38%12
2021-01-262021-01-27$294.36$288.050.04%2
2021-01-042021-01-25$243.26$293.6013.72%15
2020-12-182020-12-23$231.67$215.33-1.72%4
2020-11-182020-12-17$162.21$218.6327.56%21
2020-10-152020-10-20$149.63$140.65-4.79%4
2020-08-272020-09-08$149.25$110.07-1.82%8
2020-07-012020-07-27$74.64$102.6421.47%18
2020-06-092020-06-25$62.71$65.730.84%13
2020-06-012020-06-02$59.87$58.775.15%2
2020-05-222020-05-26$54.46$54.59-1.05%2
2019-12-132020-02-26$23.89$51.9277.49%50
2019-07-022019-07-26$14.97$15.200.67%18
2018-12-112018-12-18$24.45$22.47-3.32%6
2018-12-072018-12-10$23.86$24.34-1.12%2
2018-12-042018-12-06$23.98$24.200.10%2
2018-01-222018-02-05$23.44$22.21-1.37%11
2017-12-122017-12-27$22.74$20.78-2.59%11
2017-09-152017-09-25$25.32$23.00-5.08%7
2017-08-042017-08-21$23.79$22.52-0.03%12
2017-06-062017-06-27$23.52$24.165.92%16
2017-05-112017-05-12$21.54$21.65-0.60%2
2017-05-012017-05-04$21.52$19.70-0.80%4
2017-04-262017-04-27$20.68$20.58-0.95%2
2017-03-282017-04-21$18.50$20.378.19%18
2017-02-092017-02-22$17.95$18.233.96%9
2017-02-072017-02-08$17.17$17.47-0.22%2
2016-12-142017-02-02$13.25$16.7717.37%34
2016-10-042016-10-05$14.09$13.90-0.89%2
2016-07-262016-08-09$15.30$15.27-1.29%11
2016-06-082016-06-10$15.70$14.59-1.03%3
2016-04-052016-04-14$17.03$16.792.04%8
2016-03-152016-04-01$14.56$15.844.63%13
2016-01-042016-01-05$14.89$14.90-4.98%2
2015-09-222015-09-29$17.40$16.44-4.33%6
2015-07-212015-07-22$17.78$17.86-3.98%2
2015-06-242015-07-09$17.68$17.19-3.41%11
2015-06-092015-06-10$17.07$16.71-0.22%2
2015-05-292015-06-01$16.72$16.63-0.32%2
2015-04-092015-05-22$14.01$16.5212.43%32
2014-11-122014-11-24$16.61$16.45-2.43%9
2014-09-022014-09-12$18.94$18.612.65%9
2014-08-282014-08-29$17.59$17.980.02%2
2014-08-262014-08-27$17.45$17.55-0.36%2
2014-08-052014-08-25$15.90$17.505.20%15
2014-06-172014-07-07$15.44$14.841.36%14
2014-02-142014-03-11$13.22$15.6313.60%17
2014-01-242014-02-06$11.64$11.89-2.80%10
2013-09-202013-10-04$12.23$12.07-1.87%11
2013-07-022013-07-17$7.85$8.02-4.75%11
2013-06-282013-07-01$7.16$7.81-1.35%2
2013-04-302013-06-04$3.60$6.3245.89%25
2013-01-292013-02-14$2.53$2.550.66%13
2012-11-062012-12-14$2.08$2.254.61%28
2012-09-182012-09-26$2.09$1.84-10.75%7
2012-07-162012-07-23$2.40$2.04-5.12%6
2012-06-192012-07-03$2.14$2.04-3.21%11
2012-03-272012-04-05$2.53$2.30-4.58%8
2012-03-132012-03-16$2.41$2.35-2.10%4
2012-02-152012-02-29$2.24$2.231.23%10