Breakout Volume
Nov 7, 2020

The Breakout Volume indicator identifies significant surges in trading activity by comparing the current volume to the highest volume recorded over a specified historical period. This tool helps traders pinpoint potential trend exhaustion or the beginning of strong price movements by highlighting when volume "breaks out" above recent peaks.
Usage
The indicator displays volume as a series of columns. When the current volume exceeds the highest volume level of the preceding lookback period, the column changes color (defaulting to blue) to signify a volume breakout. A horizontal line is also plotted to represent the current threshold that must be surpassed for a breakout to occur.
Traders can use this tool to:
- Confirm price breakouts with supporting high volume.
- Identify potential "climax" volume that may precede a reversal.
- Filter out market noise by focusing only on periods of anomalous trading activity.
Details
The script utilizes the ta.highest function to track the peak volume over a user-defined length. The core logic compares the current bar's volume against the highest volume of the previous n bars (highestVol[1]). By checking against the previous high rather than the current one, the indicator ensures that the threshold is an objective level set by past data, making it easier to visualize the exact moment the breakout occurs.
Settings
- Length: Determines the number of bars used to calculate the historical volume peak. A larger length requires more significant volume to trigger a breakout, while a shorter length makes the indicator more sensitive to recent fluctuations.
FAQ
How do I interpret the color changes in the volume columns?
A color change indicates that the current bar's volume is higher than any volume recorded within the specified lookback period (Length), suggesting a surge in market participation.
Can I use this for assets other than stocks?
Yes, the Breakout Volume indicator can be used on any instrument that provides volume data, including Forex (tick volume), Crypto, and Futures.
How can I access this tool?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.