Strategy Zoo / S0393

Breakout20_V0393

ARCHIVEDbreakout

llmMade strategy regime-aware and added momentum confirmation and stronger risk exits: (1) require breakout_20 plus positive volume (rel_volume>1.2) and proximity to 20SMA; (2) add momentum confirmation (sma_50_slope>0 OR macd_hist>0) to reduce false breakouts; (3) broaden exits to include a fixed drawdown stop (8%) and a short-term loss (5d<-6%) in addition to close < sma_20; (4) add regime gates to allow only UPTREND/SIDEWAYS, avoid HIGH volatility and expensive bubble states; (5) lower base position to 0.7 and add volatility-based scaling (LOW=1.0, MED=0.6, HIGH=0.3) to reduce risk and improve walk-forward robustness.

Fitness
0.1794
Generation
18
Complexity
17
Created
2026-09-18

Lineage

Parents (1)
Breakout20_V0324S0324 · gen 15ARCHIVEDllm

reduce exposure to 30% during HIGH_VOLATILITY; swapped indicator vol_chg -> rel_volume

Children (0)
None

Strategy Logic (pseudocode)

# Breakout20_V0393  [breakout]
require regime.trend in ['UPTREND', 'SIDEWAYS']
require regime.volatility in ['LOW_VOLATILITY', 'MEDIUM_VOLATILITY']
require regime.bubble in ['NORMAL']
if flat and (breakout_20 == 1 and dist_sma_20 > -0.02 and rel_volume > 1.2 and (sma_50_slope > 0.0 or macd_hist > 0.0)):
    position = 0.7
if long and (close < sma_20 or drawdown > 0.08 or ret_5d < -0.06):
    position = 0.0  # exit to cash
if regime.volatility == "LOW_VOLATILITY": position *= 1.0
if regime.volatility == "MEDIUM_VOLATILITY": position *= 0.6
if regime.volatility == "HIGH_VOLATILITY": position *= 0.3

Backtest Metrics

MetricTrainValidationHidden TestFull
CAGR-1.4%5.9%2.7%1.1%
Total Return-10.7%18.9%10.3%17.0%
Sharpe-0.100.630.320.16
Sortino-0.050.380.150.08
Calmar-0.050.720.160.04
Volatility9.6%9.9%9.9%9.7%
Max DD-29.6%-8.3%-16.4%-29.6%
Win Rate25.0%28.6%40.0%29.3%
Avg Win7.3%12.8%8.9%8.7%
Avg Loss-2.9%-1.2%-3.8%-2.8%
Payoff2.5210.002.323.13
Expectancy-0.3%2.8%1.3%0.6%
Profit Factor0.844.271.551.30
Trades2471041
Avg Holding Days12.315.98.412.0
Turnover3.92.73.33.5
Exposure8.5%8.0%5.0%7.5%

Growth of $100

Breakout20_V0393 vs TSLA Buy & Hold
Breakout20_V0393 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-8.2%-1.47-10.9%3
201710.0%1.65-3.7%2
2018-2.2%-0.45-3.9%2
2019-6.0%-0.29-16.3%3
20200.0%0.000.0%0
202116.7%1.08-7.3%5
20221.9%0.28-8.3%2

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-0.9%-1.020%
hidden testEXPENSIVE8315.2%1.721%
hidden testEXTREME480.0%0.000%
hidden testHIGH VOLATILITY254-7.2%-1.430%
hidden testLOW VOLATILITY4299.6%0.809%
hidden testMEDIUM VOLATILITY2482.5%0.273%
hidden testNORMAL8002.1%0.206%
hidden testSIDEWAYS293-10.1%-1.147%
hidden testUPTREND37116.5%1.237%
trainDOWNTREND518-1.3%-1.120%
trainEXPENSIVE3111.2%0.860%
trainEXTREME1000.0%0.000%
trainHIGH VOLATILITY6991.7%0.180%
trainLOW VOLATILITY7455.7%0.5419%
trainMEDIUM VOLATILITY568-13.0%-1.605%
trainNORMAL1,601-1.4%-0.1311%
trainSIDEWAYS592-14.1%-1.309%
trainUPTREND9027.9%0.7013%
validationDOWNTREND1250.0%0.000%
validationEXPENSIVE1380.0%0.000%
validationEXTREME1440.0%0.000%
validationHIGH VOLATILITY258-5.0%-1.000%
validationLOW VOLATILITY18314.4%1.2722%
validationMEDIUM VOLATILITY31510.7%0.906%
validationNORMAL47410.0%0.8013%
validationSIDEWAYS2066.1%0.5811%
validationUPTREND4258.2%0.749%

Trades (full period)

41 trades
EntryExitEntry PxExit PxReturnDays
2026-05-122026-05-19$433.45$404.11-5.66%6
2026-04-202026-04-21$392.50$386.42-0.93%2
2025-12-152025-12-30$475.31$454.430.04%11
2025-09-122025-09-15$395.94$410.045.01%2
2024-09-062024-09-09$210.73$216.27-3.63%2
2024-06-182024-07-12$184.86$248.2318.10%17
2023-12-152024-01-04$253.50$237.93-3.61%13
2023-09-122023-09-22$267.48$244.88-2.84%9
2023-06-012023-06-27$207.52$250.2112.48%18
2023-04-032023-04-06$194.77$185.06-6.33%4
2022-08-022022-08-12$300.59$300.03-1.50%9
2022-03-212022-04-12$307.05$328.983.41%17
2021-09-272021-11-10$263.79$355.9822.13%33
2021-09-012021-09-21$244.70$246.46-0.63%14
2021-08-022021-08-17$236.56$221.90-0.20%12
2021-06-242021-07-15$226.61$216.87-0.41%15
2021-04-142021-04-28$244.08$231.47-3.24%11
2019-10-152019-10-25$17.19$21.8811.69%9
2019-09-122019-09-25$16.39$15.25-6.80%10
2019-07-252019-07-26$15.25$15.20-9.66%2
2018-12-042018-12-18$23.98$22.47-0.51%10
2018-01-182018-02-06$22.97$22.26-1.74%14
2017-12-122017-12-26$22.74$21.15-1.61%10
2016-12-282017-01-25$14.65$16.9610.82%19
2016-10-042016-10-06$14.09$13.40-1.86%3
2016-06-082016-06-13$15.70$14.52-4.22%4
2016-04-052016-04-29$17.03$16.05-0.35%19
2015-12-312016-01-05$16.00$14.90-4.44%3
2015-09-222015-09-29$17.40$16.44-3.58%6
2015-07-212015-07-22$17.78$17.86-2.39%2
2015-04-282015-07-09$15.37$17.196.99%51
2014-11-122014-11-24$16.61$16.45-1.44%9
2014-08-042014-09-16$15.90$17.386.17%31
2014-06-172014-07-08$15.44$14.60-0.68%15
2012-11-062012-12-24$2.08$2.295.47%34
2012-09-182012-09-21$2.09$2.00-2.21%4
2012-07-172012-07-19$2.22$2.15-4.59%3
2012-06-192012-06-25$2.14$2.212.53%5
2012-03-272012-04-05$2.53$2.30-2.34%8
2012-03-132012-03-23$2.41$2.27-3.27%9
2012-02-152012-03-07$2.24$2.21-0.23%15