Volume Based Support & Resistance
Feb 25, 2023

The Volume Based Support & Resistance indicator identifies significant price levels by analyzing historical volume spikes to find high-conviction support and resistance zones across the entire visible chart. It utilizes a dynamic logic that categorizes levels into major and variable lines based on their proximity to previous price action and the intensity of trading activity.
Usage
The tool automatically plots horizontal lines on the chart where significant volume occurred. These lines serve as psychological barriers and liquidity zones:
- Major Lines: Solid lines representing primary structural levels. These are established when volume exceeds a specific threshold relative to a lookback period.
- Variable Lines: Dashed lines representing secondary levels that exist between major zones.
- Proximity Styling: Lines change color and style based on their distance from current price action. Levels close to the current price are solid and colored according to market bias (Bullish/Bearish), while distant levels become neutral and dashed to reduce chart clutter.
This tool is versatile and can be adapted for different timeframes by adjusting the percentage distance between lines. For example, a 10% distance is suitable for Daily charts (standard for assets like Bitcoin), while 5% may be more appropriate for lower timeframes like 1h or 15m.
Details
The script operates by tracking volume spikes using a highest(volume, length) calculation multiplied by a user-defined divider. When a volume condition is met, the script determines whether the current price represents a new major level or falls within a "variable" zone between existing lines. It uses Pine Script arrays to store, manage, and update these levels dynamically, ensuring that lines can be updated or extended as price interacts with them again.
Settings
Easy Settings
- Major Supp/Res Lines difference %: Sets the minimum percentage distance required between major support and resistance levels.
Pro Settings
- Variable S/R Distance From Main: Determines the relative distance from a major line where a secondary "variable" line can be formed.
- Variable S/R Distance From Eachother: Defines the minimum gap required between multiple variable lines.
Volume Settings
- Volume Highest Length: The lookback period used to find the highest volume peak.
- Volume Divider: A multiplier applied to the highest volume peak to set the threshold for identifying significant volume candles.
Labels (Debug)
- Show variable lines change point label: Displays a label when a variable line's price is updated.
- Show lines number label: Displays a summary label at the end of the chart showing the total count of major and variable levels.
FAQ
How do I access the Volume Based Support & Resistance indicator?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Why do some lines disappear or change to dashed?
The script uses a "Proximity" logic. To keep the chart clean, lines that are significantly far away from the current price are rendered as neutral dashed lines, while those near the current price remain solid.
Can I use this for intraday trading?
Yes. For intraday trading, it is recommended to lower the "Major Supp/Res Lines difference %" setting (e.g., to 1% or 2%) to capture more frequent price pivots relevant to shorter timeframes.
Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.
Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.
Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.
As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.
Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.
Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.
This does not represent our full Disclaimer. Please read our full disclaimer.
© 2026 LuxAlgo Global, LLC.

