OPEN-SOURCE SCRIPT
Growth Breakout Strategy v3 - EMA + RVOL + Stoch RSI

Growth Breakout Strategy v3 - EMA + RVOL + Stoch RSI
This strategy is designed to identify high-momentum breakout setups in growth stocks by combining trend structure, consolidation, relative volume, proximity to 52-week highs, and Stoch RSI momentum confirmation.
Strategy Logic
The core idea is to look for stocks that are already showing strength, consolidating near key moving averages, and then breaking out with above-average volume.
The strategy looks for:
1. Consolidation near the fast EMA
Price must be within a configurable percentage of the fast EMA, defaulted to the 20 EMA.
This is intended to identify stocks that are tightening near short-term support instead of chasing extended moves.
2. Proximity to 52-week highs
Price must be within a configurable percentage of its 52-week high.
The default setting requires price to be within 5% of the 52-week high.
This helps focus the strategy on stocks with strong relative strength and avoids weaker names trading far below prior highs.
3. Breakout above recent highs
Price must close above the highest high of the prior breakout lookback period.
The default lookback is 10 bars.
This acts as the actual breakout trigger.
4. Relative Volume confirmation
The breakout must occur with elevated volume.
The default RVOL threshold is 1.5x the recent average volume.
This helps confirm that the move has meaningful participation rather than being a low-volume false breakout.
5. EMA trend filter
The strategy includes an EMA-based trend confirmation filter.
By default, it allows entries when the fast EMA crosses above the slow EMA or when price is trading above the fast EMA.
This helps confirm short-term bullish momentum.
6. Stoch RSI confirmation
The strategy includes an optional Stoch RSI momentum filter.
By default, Stoch RSI must be bullish, with the K line above the D line, while remaining below the overbought threshold.
This is designed to avoid buying when momentum is already overly extended.
Entry Rules
A long entry is triggered when all enabled conditions are true:
- Price is consolidating near the fast EMA
- Price is near its 52-week high
- Price breaks above the recent breakout high
- Relative volume is above the selected threshold
- EMA filter passes
- Stoch RSI filter passes
The strategy is long-only.
Exit Rules
The script includes multiple configurable exit modes:
- 50 EMA Crossunder
- 20 EMA Crossunder
- Percent Stop
- Percent Stop + Target
- ATR Stop
- ATR Stop + Target
The default exit mode is 50 EMA Crossunder.
This means the strategy exits when price crosses below the slow EMA, using the 50 EMA as a trailing support reference.
Suggested Usage
This strategy is intended for growth stocks, momentum names, small caps, and tech stocks where breakout behavior and relative volume are especially important.
It can be used on daily charts for swing trading, or on shorter timeframes for more active trading, but settings should be adjusted based on the timeframe and volatility of the ticker.
Suggested starting settings:
- Fast EMA: 20
- Slow EMA: 50
- Consolidation threshold: 2%
- 52-week high proximity: within 5%
- Breakout lookback: 10 bars
- RVOL threshold: 1.5x
- Stoch RSI max: 80
- Exit mode: 50 EMA Crossunder
For cleaner but fewer signals, consider using:
- RVOL threshold: 2.0x
- Consolidation threshold: 1.5%
- 52-week high proximity: 3%
For more signals, consider using:
- RVOL threshold: 1.2x
- Consolidation threshold: 3%
- 52-week high proximity: 8% to 10%
Visuals
The strategy plots:
- Fast EMA
- Slow EMA
- Prior breakout high
- BREAKOUT labels on long entries
- SELL labels on EMA-based exits
- Optional background highlighting for valid setup bars
- Optional debug table showing whether each condition is passing
Best Practices
This strategy should not be used blindly.
Breakout strategies can perform well in strong trending markets but may struggle in choppy or mean-reverting environments.
Recommended workflow:
1. Use the strategy to scan for potential breakout setups.
2. Confirm the chart structure manually.
3. Check market conditions and sector strength.
4. Avoid low-liquidity names with unreliable volume.
5. Backtest and tune settings per ticker and timeframe.
6. Consider using stop-loss and target exits for more controlled risk.
Important Notes
This is not financial advice.
The strategy is provided for educational and research purposes only.
Past performance does not guarantee future results.
Always backtest thoroughly and use proper risk management before trading live.
This strategy is designed to identify high-momentum breakout setups in growth stocks by combining trend structure, consolidation, relative volume, proximity to 52-week highs, and Stoch RSI momentum confirmation.
Strategy Logic
The core idea is to look for stocks that are already showing strength, consolidating near key moving averages, and then breaking out with above-average volume.
The strategy looks for:
1. Consolidation near the fast EMA
Price must be within a configurable percentage of the fast EMA, defaulted to the 20 EMA.
This is intended to identify stocks that are tightening near short-term support instead of chasing extended moves.
2. Proximity to 52-week highs
Price must be within a configurable percentage of its 52-week high.
The default setting requires price to be within 5% of the 52-week high.
This helps focus the strategy on stocks with strong relative strength and avoids weaker names trading far below prior highs.
3. Breakout above recent highs
Price must close above the highest high of the prior breakout lookback period.
The default lookback is 10 bars.
This acts as the actual breakout trigger.
4. Relative Volume confirmation
The breakout must occur with elevated volume.
The default RVOL threshold is 1.5x the recent average volume.
This helps confirm that the move has meaningful participation rather than being a low-volume false breakout.
5. EMA trend filter
The strategy includes an EMA-based trend confirmation filter.
By default, it allows entries when the fast EMA crosses above the slow EMA or when price is trading above the fast EMA.
This helps confirm short-term bullish momentum.
6. Stoch RSI confirmation
The strategy includes an optional Stoch RSI momentum filter.
By default, Stoch RSI must be bullish, with the K line above the D line, while remaining below the overbought threshold.
This is designed to avoid buying when momentum is already overly extended.
Entry Rules
A long entry is triggered when all enabled conditions are true:
- Price is consolidating near the fast EMA
- Price is near its 52-week high
- Price breaks above the recent breakout high
- Relative volume is above the selected threshold
- EMA filter passes
- Stoch RSI filter passes
The strategy is long-only.
Exit Rules
The script includes multiple configurable exit modes:
- 50 EMA Crossunder
- 20 EMA Crossunder
- Percent Stop
- Percent Stop + Target
- ATR Stop
- ATR Stop + Target
The default exit mode is 50 EMA Crossunder.
This means the strategy exits when price crosses below the slow EMA, using the 50 EMA as a trailing support reference.
Suggested Usage
This strategy is intended for growth stocks, momentum names, small caps, and tech stocks where breakout behavior and relative volume are especially important.
It can be used on daily charts for swing trading, or on shorter timeframes for more active trading, but settings should be adjusted based on the timeframe and volatility of the ticker.
Suggested starting settings:
- Fast EMA: 20
- Slow EMA: 50
- Consolidation threshold: 2%
- 52-week high proximity: within 5%
- Breakout lookback: 10 bars
- RVOL threshold: 1.5x
- Stoch RSI max: 80
- Exit mode: 50 EMA Crossunder
For cleaner but fewer signals, consider using:
- RVOL threshold: 2.0x
- Consolidation threshold: 1.5%
- 52-week high proximity: 3%
For more signals, consider using:
- RVOL threshold: 1.2x
- Consolidation threshold: 3%
- 52-week high proximity: 8% to 10%
Visuals
The strategy plots:
- Fast EMA
- Slow EMA
- Prior breakout high
- BREAKOUT labels on long entries
- SELL labels on EMA-based exits
- Optional background highlighting for valid setup bars
- Optional debug table showing whether each condition is passing
Best Practices
This strategy should not be used blindly.
Breakout strategies can perform well in strong trending markets but may struggle in choppy or mean-reverting environments.
Recommended workflow:
1. Use the strategy to scan for potential breakout setups.
2. Confirm the chart structure manually.
3. Check market conditions and sector strength.
4. Avoid low-liquidity names with unreliable volume.
5. Backtest and tune settings per ticker and timeframe.
6. Consider using stop-loss and target exits for more controlled risk.
Important Notes
This is not financial advice.
The strategy is provided for educational and research purposes only.
Past performance does not guarantee future results.
Always backtest thoroughly and use proper risk management before trading live.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.