Strategy Zoo / S0461

LongTermTrend_V0461

ARCHIVEDhybrid

llmAdded regime gates to restrict entries to uptrends/normal-medium volatility; reduced base position to 0.8 and added volatility-based scaling (cut to 0.4 in high vol, full size in low vol); removed duplicate ret_20d check and tightened ret_20d threshold; added RSI and 20-day breakout filters to avoid overbought/weak setups; improved exits with a sharper short-term return stop, a hard drawdown stop, and an RSI-based exit.

Fitness
0.1179
Generation
21
Complexity
16
Created
2026-09-19

Lineage

Parents (1)
LongTermTrend_V0278S0278 · gen 13ARCHIVEDllm

changed cumret_252d threshold -0.1997 -> -0.6

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V0461  [hybrid]
require regime.trend in ['UPTREND']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL']
if flat and (((close > sma_200 and sma_200_slope > 0.0) or ret_20d > 0.04) and cumret_252d > -0.5 and rsi_14 < 80.0 and breakout_20 > 0.0):
    position = 0.8
if long and (ret_20d < 0.02 or drawdown < -0.12 or rsi_14 > 85.0):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-2.0%0.2%-0.7%-1.2%
Total Return-15.1%0.6%-2.4%-16.6%
Sharpe-0.240.06-0.04-0.12
Sortino-0.080.02-0.01-0.04
Calmar-0.110.01-0.05-0.06
Volatility7.4%8.3%8.3%7.8%
Max DD-19.2%-13.3%-14.2%-20.5%
Win Rate42.3%23.1%53.8%40.4%
Avg Win2.1%7.8%2.8%3.1%
Avg Loss-2.5%-2.0%-3.5%-2.5%
Payoff0.823.890.801.23
Expectancy-0.6%0.3%-0.1%-0.3%
Profit Factor0.601.170.930.83
Trades26131352
Avg Holding Days5.43.23.04.2
Turnover5.26.95.65.7
Exposure4.5%3.0%2.2%3.6%

Growth of $100

LongTermTrend_V0461 vs TSLA Buy & Hold
LongTermTrend_V0461 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
20162.8%0.52-4.7%4
20174.4%1.37-1.0%6
2018-7.2%-1.18-7.2%2
20194.7%0.91-0.4%1
20200.0%0.000.0%0
202115.9%1.27-6.7%9
2022-13.2%-1.87-13.2%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 testDOWNTREND2670.0%0.000%
hidden testEXPENSIVE8317.4%1.721%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-13.0%-1.431%
hidden testLOW VOLATILITY4292.6%0.344%
hidden testMEDIUM VOLATILITY2487.5%0.892%
hidden testNORMAL800-2.2%-0.263%
hidden testSIDEWAYS293-6.1%-1.071%
hidden testUPTREND3714.0%0.335%
trainDOWNTREND5180.0%0.000%
trainEXPENSIVE3115.7%1.131%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY6990.0%0.000%
trainLOW VOLATILITY7450.9%0.0910%
trainMEDIUM VOLATILITY568-7.5%-0.933%
trainNORMAL1,601-3.3%-0.426%
trainSIDEWAYS592-3.8%-1.111%
trainUPTREND902-1.5%-0.1410%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY2580.0%0.000%
validationLOW VOLATILITY1837.1%0.8910%
validationMEDIUM VOLATILITY315-2.9%-0.251%
validationNORMAL4740.8%0.085%
validationSIDEWAYS206-6.7%-1.120%
validationUPTREND4254.2%0.415%

Trades (full period)

52 trades
EntryExitEntry PxExit PxReturnDays
2026-07-022026-07-06$393.45$419.77-6.15%2
2025-12-152026-01-05$475.31$451.67-3.75%14
2025-12-082025-12-10$439.58$451.45-1.88%3
2025-09-122025-09-15$395.94$410.045.72%2
2024-09-262024-09-27$254.22$260.46-1.03%2
2024-09-242024-09-25$254.27$257.021.21%2
2024-09-162024-09-17$226.78$227.87-1.38%2
2024-09-062024-09-09$210.73$216.27-6.91%2
2024-07-022024-07-03$231.26$246.397.99%2
2023-07-182023-07-19$293.34$291.260.65%2
2023-07-052023-07-06$282.48$276.540.60%2
2023-06-062023-06-07$221.31$224.571.20%2
2023-06-022023-06-05$213.97$217.612.32%2
2022-09-202022-09-21$308.73$300.80-0.25%2
2022-08-162022-08-17$306.56$304.00-0.87%2
2022-08-052022-08-08$288.17$290.42-5.46%2
2022-04-052022-04-07$363.75$352.42-7.15%3
2021-10-082021-10-26$261.83$339.4822.68%13
2021-09-272021-10-01$263.79$258.41-0.04%5
2021-09-202021-09-21$243.39$246.46-3.25%2
2021-09-162021-09-17$252.33$253.16-0.04%2
2021-09-102021-09-13$245.42$247.67-2.13%2
2021-09-082021-09-09$251.29$251.62-0.06%2
2021-08-312021-09-01$245.24$244.700.37%2
2021-08-132021-08-16$239.06$228.72-0.72%2
2021-08-052021-08-06$238.21$233.030.26%2
2019-12-132019-12-17$23.89$25.274.69%3
2018-12-042018-12-18$23.98$22.47-2.37%10
2018-02-012018-02-06$23.28$22.26-4.95%4
2017-03-272017-03-28$18.01$18.501.98%2
2017-01-232017-01-24$16.59$16.971.21%2
2017-01-192017-01-20$16.25$16.321.65%2
2017-01-172017-01-18$15.71$15.89-0.89%2
2017-01-092017-01-10$15.42$15.320.63%2
2017-01-052017-01-06$15.12$15.27-0.24%2
2016-07-292016-08-01$15.65$15.331.29%2
2016-07-262016-07-27$15.30$15.23-0.33%2
2016-06-082016-06-09$15.70$15.290.93%2
2016-04-052016-04-11$17.03$16.660.87%5
2015-07-212015-07-23$17.78$17.81-4.23%3
2015-06-182015-07-09$17.46$17.19-1.77%15
2015-06-092015-06-11$17.07$16.76-1.90%3
2015-05-292015-06-01$16.72$16.63-0.37%2
2015-05-182015-05-19$16.58$16.48-0.19%2
2015-05-122015-05-13$16.32$16.211.59%2
2015-04-302015-05-01$15.07$15.07-2.36%2
2014-08-042014-09-16$15.90$17.387.00%31
2014-06-242014-07-08$15.50$14.60-5.07%10
2012-11-292012-12-14$2.25$2.250.79%12
2012-03-272012-04-10$2.53$2.16-9.26%10
2012-03-132012-03-20$2.41$2.33-2.45%6
2012-02-212012-02-22$2.30$2.28-1.23%2