OPEN-SOURCE SCRIPT
Обновлено Volume Breakout

Volume Breakout
Volume Breakout is an educational chart indicator designed to identify strong bullish volume candles, classify them by market context, and display structured setup reference levels with optional entry, stop-loss, and target lines.
This script is an indicator, not a strategy. It does not place trades, does not simulate orders, and does not provide backtested performance results. The signals and levels shown by the script are analytical references only and should not be interpreted as financial advice or automatic trade instructions.
What the indicator does
The indicator classifies bullish volume events into three main signal types:
1. REV — Reversal Volume Signal
REV is designed to identify an early bullish volume candle near a lower part of the recent price range, before full trend confirmation is present.
A REV signal requires:
* A bullish candle.
* Volume to be the highest within the selected volume lookback.
* Volume to be above the selected volume moving-average multiple.
* Candle body size to meet the selected minimum body percentage.
* RSI to be within the selected acceptable range.
* Price to be near the lower zone of the recent lookback range.
* The market not to be in the defined bullish EMA trend condition.
REV is intended to mark possible early reversal pressure. It is not a confirmed entry signal by itself.
2. VOL — Trend Volume Signal
VOL is designed to identify strong bullish volume candles when the market is already in a bullish trend condition.
A VOL signal uses the same raw volume-spike logic as REV, but it requires the trend condition to be bullish.
The trend condition is based on:
* Price above the fast EMA.
* Price above the slow EMA.
* Fast EMA above the slow EMA.
VOL is intended to show bullish volume participation inside an existing trend. It is not automatically a confirmed entry.
3. BUY — Confirmed Setup Signal
BUY is the most selective signal in the script.
A BUY signal requires:
* A valid VOL signal.
* Breakout confirmation, if enabled.
* Risk percentage to be within the selected maximum risk limit, if enabled.
* Candle range not to be overextended relative to ATR, if enabled.
* Cooldown period since the previous BUY signal to be satisfied.
The BUY label marks a confirmed setup according to the script’s rules. It does not guarantee continuation or profitability.
Core logic
The script starts by identifying a raw bullish volume spike. A raw volume spike requires a bullish candle with strong volume, strong body size, and RSI inside the selected range.
After that, the script classifies the candle based on context:
* If the candle appears near the lower part of the recent range and the EMA trend is not yet bullish, it can become a REV signal.
* If the candle appears while the EMA trend is already bullish, it can become a VOL signal.
* If a VOL signal also satisfies breakout, risk, ATR, and cooldown filters, it can become a BUY signal.
This layered structure is intended to separate early reversal pressure, trend-volume participation, and confirmed breakout-style setups.
Entry, stop, and target reference levels
When a BUY signal appears, the script stores and displays the latest setup levels:
* Entry reference: the high of the BUY candle.
* Stop-loss reference: the low of the BUY candle.
* Target reference: entry plus the selected risk-reward multiple.
These levels are visual references only. They are not orders and are not strategy backtest calculations.
Risk and reward display
The script calculates the risk percentage from the BUY candle high to the BUY candle low.
If the risk filter is enabled, BUY signals are allowed only when this risk percentage is below the selected maximum risk percentage.
The dashboard also displays the last recorded risk and reward percentages for the most recent BUY setup.
Breakout confirmation
When enabled, the breakout filter requires price to close above the highest high of the selected breakout lookback period.
This is intended to reduce signals that occur before price has cleared nearby resistance, but it can also reduce the number of signals.
ATR extension filter
When enabled, the ATR filter blocks BUY signals if the candle range is too large compared with ATR.
This is intended to avoid overextended candles where the distance between the entry reference and stop reference may be too wide.
Cooldown filter
The cooldown setting requires a minimum number of bars between BUY signals.
This is intended to reduce repeated BUY labels during clustered volume activity.
Dashboard
The dashboard summarizes the current setup context, including:
* Trend status.
* RSI value.
* Whether REV is active.
* Whether VOL is active.
* Whether breakout confirmation is satisfied.
* Whether risk is acceptable.
* Last BUY entry reference.
* Last BUY stop-loss and target references.
* Last risk and reward percentages.
* Last BUY age in bars.
The Last BUY Age row helps identify whether the most recent BUY setup is still fresh according to the selected Fresh BUY Max Age Bars setting.
Visual elements
The indicator can display:
* REV labels.
* VOL labels.
* BUY labels.
* Optional fast and slow EMA lines.
* Latest BUY entry, stop-loss, and target reference lines.
* Optional volume label on the last BUY candle.
* Optional box around the latest BUY candle.
* Dashboard panel.
Alerts
The script includes alert conditions for:
* REV Signal.
* VOL Signal.
* BUY Confirmed.
Alerts are informational only. They should not be treated as automatic trade instructions.
Inputs
Volume Settings
* Volume Lookback: number of bars used to check whether volume is the highest in the recent window.
* Volume MA Length: moving average length for volume comparison.
* Min Volume x Average: required volume multiple above average volume.
Candle Strength
* Min Body Size %: minimum candle body size relative to the full candle range.
Trend Settings
* Fast EMA: fast EMA used for bullish trend confirmation.
* Slow EMA: slow EMA used for bullish trend confirmation.
RSI Settings
* RSI Length: RSI calculation length.
* Min RSI For REV / VOL: minimum RSI value allowed for volume signals.
* Max RSI For REV / VOL: maximum RSI value allowed for volume signals.
Signal Control
* Cooldown Bars For BUY: minimum number of bars required between BUY signals.
* Risk Reward: multiplier used for the target reference level.
* Fresh BUY Max Age Bars: number of bars used to classify the latest BUY as fresh.
REV Reversal Volume Settings
* Use REV Reversal Volume Signal: enables or disables REV signals.
* REV Low Lookback: lookback range used to define the lower price zone.
* REV Near Low Zone %: controls how close price must be to the lower part of the recent range.
Breakout Confirmation
* Use Breakout Confirmation For BUY: requires price to break above the selected lookback high.
* Breakout Lookback: number of bars used for breakout confirmation.
Risk Filter
* Use Max Risk % Filter For BUY: enables or disables the maximum risk filter.
* Max Risk %: maximum allowed risk between the BUY candle high and low.
ATR Filter
* Avoid Over-Extended Candles For BUY: enables or disables the ATR extension filter.
* ATR Length: ATR calculation length.
* Max Candle Range x ATR: maximum allowed candle range relative to ATR.
Display Settings
* Show REV Signals.
* Show VOL Signals.
* Show BUY Confirmed Signals.
* Show Last BUY Entry / SL / TP.
* Show Dashboard.
* Show Box On Last BUY Candle.
* Show EMAs.
* Show Last BUY Volume Label.
How to use it
A practical workflow is:
1. Use REV to identify early bullish volume activity near the lower part of a recent range.
2. Use VOL to identify strong bullish volume participation inside an established bullish EMA trend.
3. Use BUY as the most selective setup marker after breakout, risk, ATR, and cooldown filters are satisfied.
4. Review the displayed entry, stop, and target reference levels.
5. Check the dashboard to confirm whether the setup is fresh and whether risk conditions are acceptable.
6. Confirm any setup with your own market structure, liquidity levels, higher-timeframe trend, and risk management.
Important limitations
This indicator does not predict future price movement.
A REV, VOL, or BUY signal does not guarantee continuation, reversal, or profitability.
The entry, stop-loss, and target lines are reference levels only.
Volume signals can be less reliable on illiquid symbols, abnormal news candles, pre-market data, or instruments with inconsistent volume data.
Breakout filters can still produce false breakouts.
ATR filters can block some valid moves and allow some weak moves depending on volatility conditions.
EMA trend filters are lagging by nature.
Users should test the indicator across multiple symbols, timeframes, and market conditions before using it in any decision-making process.
Recommended use
Volume Breakout is used as a structured volume-and-breakout analysis tool. It is designed to help traders organize volume spikes, trend context, breakout confirmation, and risk-reference levels in one chart view.
Volume Breakout is an educational chart indicator designed to identify strong bullish volume candles, classify them by market context, and display structured setup reference levels with optional entry, stop-loss, and target lines.
This script is an indicator, not a strategy. It does not place trades, does not simulate orders, and does not provide backtested performance results. The signals and levels shown by the script are analytical references only and should not be interpreted as financial advice or automatic trade instructions.
What the indicator does
The indicator classifies bullish volume events into three main signal types:
1. REV — Reversal Volume Signal
REV is designed to identify an early bullish volume candle near a lower part of the recent price range, before full trend confirmation is present.
A REV signal requires:
* A bullish candle.
* Volume to be the highest within the selected volume lookback.
* Volume to be above the selected volume moving-average multiple.
* Candle body size to meet the selected minimum body percentage.
* RSI to be within the selected acceptable range.
* Price to be near the lower zone of the recent lookback range.
* The market not to be in the defined bullish EMA trend condition.
REV is intended to mark possible early reversal pressure. It is not a confirmed entry signal by itself.
2. VOL — Trend Volume Signal
VOL is designed to identify strong bullish volume candles when the market is already in a bullish trend condition.
A VOL signal uses the same raw volume-spike logic as REV, but it requires the trend condition to be bullish.
The trend condition is based on:
* Price above the fast EMA.
* Price above the slow EMA.
* Fast EMA above the slow EMA.
VOL is intended to show bullish volume participation inside an existing trend. It is not automatically a confirmed entry.
3. BUY — Confirmed Setup Signal
BUY is the most selective signal in the script.
A BUY signal requires:
* A valid VOL signal.
* Breakout confirmation, if enabled.
* Risk percentage to be within the selected maximum risk limit, if enabled.
* Candle range not to be overextended relative to ATR, if enabled.
* Cooldown period since the previous BUY signal to be satisfied.
The BUY label marks a confirmed setup according to the script’s rules. It does not guarantee continuation or profitability.
Core logic
The script starts by identifying a raw bullish volume spike. A raw volume spike requires a bullish candle with strong volume, strong body size, and RSI inside the selected range.
After that, the script classifies the candle based on context:
* If the candle appears near the lower part of the recent range and the EMA trend is not yet bullish, it can become a REV signal.
* If the candle appears while the EMA trend is already bullish, it can become a VOL signal.
* If a VOL signal also satisfies breakout, risk, ATR, and cooldown filters, it can become a BUY signal.
This layered structure is intended to separate early reversal pressure, trend-volume participation, and confirmed breakout-style setups.
Entry, stop, and target reference levels
When a BUY signal appears, the script stores and displays the latest setup levels:
* Entry reference: the high of the BUY candle.
* Stop-loss reference: the low of the BUY candle.
* Target reference: entry plus the selected risk-reward multiple.
These levels are visual references only. They are not orders and are not strategy backtest calculations.
Risk and reward display
The script calculates the risk percentage from the BUY candle high to the BUY candle low.
If the risk filter is enabled, BUY signals are allowed only when this risk percentage is below the selected maximum risk percentage.
The dashboard also displays the last recorded risk and reward percentages for the most recent BUY setup.
Breakout confirmation
When enabled, the breakout filter requires price to close above the highest high of the selected breakout lookback period.
This is intended to reduce signals that occur before price has cleared nearby resistance, but it can also reduce the number of signals.
ATR extension filter
When enabled, the ATR filter blocks BUY signals if the candle range is too large compared with ATR.
This is intended to avoid overextended candles where the distance between the entry reference and stop reference may be too wide.
Cooldown filter
The cooldown setting requires a minimum number of bars between BUY signals.
This is intended to reduce repeated BUY labels during clustered volume activity.
Dashboard
The dashboard summarizes the current setup context, including:
* Trend status.
* RSI value.
* Whether REV is active.
* Whether VOL is active.
* Whether breakout confirmation is satisfied.
* Whether risk is acceptable.
* Last BUY entry reference.
* Last BUY stop-loss and target references.
* Last risk and reward percentages.
* Last BUY age in bars.
The Last BUY Age row helps identify whether the most recent BUY setup is still fresh according to the selected Fresh BUY Max Age Bars setting.
Visual elements
The indicator can display:
* REV labels.
* VOL labels.
* BUY labels.
* Optional fast and slow EMA lines.
* Latest BUY entry, stop-loss, and target reference lines.
* Optional volume label on the last BUY candle.
* Optional box around the latest BUY candle.
* Dashboard panel.
Alerts
The script includes alert conditions for:
* REV Signal.
* VOL Signal.
* BUY Confirmed.
Alerts are informational only. They should not be treated as automatic trade instructions.
Inputs
Volume Settings
* Volume Lookback: number of bars used to check whether volume is the highest in the recent window.
* Volume MA Length: moving average length for volume comparison.
* Min Volume x Average: required volume multiple above average volume.
Candle Strength
* Min Body Size %: minimum candle body size relative to the full candle range.
Trend Settings
* Fast EMA: fast EMA used for bullish trend confirmation.
* Slow EMA: slow EMA used for bullish trend confirmation.
RSI Settings
* RSI Length: RSI calculation length.
* Min RSI For REV / VOL: minimum RSI value allowed for volume signals.
* Max RSI For REV / VOL: maximum RSI value allowed for volume signals.
Signal Control
* Cooldown Bars For BUY: minimum number of bars required between BUY signals.
* Risk Reward: multiplier used for the target reference level.
* Fresh BUY Max Age Bars: number of bars used to classify the latest BUY as fresh.
REV Reversal Volume Settings
* Use REV Reversal Volume Signal: enables or disables REV signals.
* REV Low Lookback: lookback range used to define the lower price zone.
* REV Near Low Zone %: controls how close price must be to the lower part of the recent range.
Breakout Confirmation
* Use Breakout Confirmation For BUY: requires price to break above the selected lookback high.
* Breakout Lookback: number of bars used for breakout confirmation.
Risk Filter
* Use Max Risk % Filter For BUY: enables or disables the maximum risk filter.
* Max Risk %: maximum allowed risk between the BUY candle high and low.
ATR Filter
* Avoid Over-Extended Candles For BUY: enables or disables the ATR extension filter.
* ATR Length: ATR calculation length.
* Max Candle Range x ATR: maximum allowed candle range relative to ATR.
Display Settings
* Show REV Signals.
* Show VOL Signals.
* Show BUY Confirmed Signals.
* Show Last BUY Entry / SL / TP.
* Show Dashboard.
* Show Box On Last BUY Candle.
* Show EMAs.
* Show Last BUY Volume Label.
How to use it
A practical workflow is:
1. Use REV to identify early bullish volume activity near the lower part of a recent range.
2. Use VOL to identify strong bullish volume participation inside an established bullish EMA trend.
3. Use BUY as the most selective setup marker after breakout, risk, ATR, and cooldown filters are satisfied.
4. Review the displayed entry, stop, and target reference levels.
5. Check the dashboard to confirm whether the setup is fresh and whether risk conditions are acceptable.
6. Confirm any setup with your own market structure, liquidity levels, higher-timeframe trend, and risk management.
Important limitations
This indicator does not predict future price movement.
A REV, VOL, or BUY signal does not guarantee continuation, reversal, or profitability.
The entry, stop-loss, and target lines are reference levels only.
Volume signals can be less reliable on illiquid symbols, abnormal news candles, pre-market data, or instruments with inconsistent volume data.
Breakout filters can still produce false breakouts.
ATR filters can block some valid moves and allow some weak moves depending on volatility conditions.
EMA trend filters are lagging by nature.
Users should test the indicator across multiple symbols, timeframes, and market conditions before using it in any decision-making process.
Recommended use
Volume Breakout is used as a structured volume-and-breakout analysis tool. It is designed to help traders organize volume spikes, trend context, breakout confirmation, and risk-reference levels in one chart view.
Информация о релизе
First Update Notes
This is the first update of Volume Breakout.
This update improves the setup-management, alert monitoring, and dashboard customization features while keeping the original REV, VOL, and BUY signal logic unchanged.
What has been added in this update:
* TP1 and TP2 reference levels instead of a single target reference.
* Separate risk-reward inputs for TP1 and TP2.
* Alert condition for Entry Line Break.
* Alert condition for Stop Loss Line Break.
* Alert condition for TP1 Reached.
* Alert condition for TP2 Reached.
* Optional alert-control inputs inside the indicator settings.
* A redesigned high-contrast dashboard for better readability on both light and dark chart backgrounds.
* Dashboard display for Last SL / TP1 / TP2.
* Dashboard display for Risk / TP1 / TP2 percentages.
* Dashboard Position setting, allowing users to place the dashboard in different chart locations.
* Dashboard Size setting, allowing users to choose between Small, Normal, and Large dashboard text sizes.
The original signal structure remains unchanged. This update focuses on improving level tracking, target monitoring, alert control, dashboard readability, and dashboard customization.
Markets and Timeframes
Volume Breakout can be used on any timeframe supported by TradingView, including intraday, daily, weekly, and higher timeframes.
The indicator is designed to work on different liquid markets such as stocks, crypto, forex, indices, futures, and other instruments available on TradingView, as long as reliable volume data is available.
Because the script relies heavily on volume, results may vary between asset classes. It may perform differently on markets with centralized exchange volume, such as stocks and many crypto pairs, compared with markets where volume data may be broker-dependent or tick-based, such as some forex symbols.
The indicator does not use fixed market-specific rules. Its signals are generated only when the selected conditions are met, including volume strength, candle body size, RSI range, EMA trend context, breakout confirmation, ATR extension filter, risk filter, and cooldown settings.
Users should adjust the inputs according to the selected market, timeframe, volatility, and liquidity conditions.
Информация о релизе
Update 1 — Settings Documentation ImprovementThis update improves the user experience inside the indicator settings panel.
What’s new:
Added detailed tooltips beside all major input fields.
Each setting now includes a clear explanation of what it controls and how it affects the indicator.
Organized the inputs into clearer sections such as Volume Breakout Engine, Candle Body Filter, Trend Filter, RSI Filter, BUY Confirmation, Risk / Targets, REV Reversal Volume, ATR Filter, Display, Alerts, and Colors.
Improved readability for users who want to understand the logic behind each setting before adjusting the values.
This update does not change the core signal logic.
The main purpose is to make the indicator easier to understand, configure, and use correctly.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.