Strategy Zoo / S1478

LongTermTrend_V1478

REJECTEDhybrid

llmReduce overfitting and add regime & volatility sensitivity: 1) simplified entry to require either price above sma_50 with rising sma_50_slope or strong 20d return (>6%) and require vol_pctile < 0.75 to avoid noisy periods. 2) tightened exit: add faster trend-break (close < sma_50) and a combined MACD-hist + falling sma_50_slope exit, and deeper hard stop at -12% ret_20d. 3) added regime gates to only trade in UPTREND and non-HIGH volatility, avoid bubble states (NORMAL only). 4) introduced position sizing: lower size in high vol (vol_pctile>0.7 -> 0.4) and full size when near 52w highs, base_position set to 0.8. These structural changes aim to improve robustness and reduce walk-forward collapse. | rejected: fitness 0.049 below threshold

Fitness
0.0489
Generation
68
Complexity
16
Created
2026-10-13

Lineage

Parents (1)
LongTermTrend_V1343S1343 · gen 61ELITEllm

changed cumret_252d threshold -0.1997 -> -0.4102

Children (0)
None

Strategy Logic (pseudocode)

# LongTermTrend_V1478  [hybrid]
require regime.trend in ['UPTREND']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL']
if flat and (((close > sma_50 and sma_50_slope > 0.0) or ret_20d > 0.06) and vol_pctile < 0.75):
    position = 0.8
if long and (ret_20d < -0.12 or close < sma_50 or (macd_hist < 0.0 and sma_50_slope < 0.0)):
    position = 0.0  # exit to cash

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-2.0%-11.7%——
Total Return-15.1%-31.1%——
Sharpe-0.10-0.64——
Sortino-0.06-0.31——
Calmar-0.05-0.23——
Volatility12.7%17.2%——
Max DD-37.0%-50.5%——
Win Rate35.5%15.4%——
Avg Win5.2%19.0%——
Avg Loss-3.5%-6.0%——
Payoff1.503.14——
Expectancy-0.4%-2.2%——
Profit Factor0.820.57——
Trades3113——
Avg Holding Days11.710.0——
Turnover6.26.9——
Exposure13.2%12.4%——

Walk-Forward Years

year-by-year stability matters more than any single year
YearCAGRSharpeMax DDTrades
No walk-forward results

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
No regime results

Trades (full period)

0 trades
EntryExitEntry PxExit PxReturnDays
No trades recorded