Volume Cluster Support & Resistance

This indicator identifies potential Support and Resistance (S/R) levels on the chart using Volume-Based Point of Control (POC) Clustering. It offers extensive customization for calculation parameters, display styles, and visualization options, including S/R zones, color gradients, and historical reaction markers.
How It Works
Volume Based S/R:
Scans the specified Clustering Lookback period for "High Volume Bars", defined as bars where volume exceeds the average volume (over Volume Lookback Period) multiplied by the High Volume Threshold Multiplier.
Calculates the Point of Control (POC) for each high-volume bar using hl2.
Clusters these high-volume bar POCs: POCs within a proximity defined by Cluster Proximity (ATR) (Average True Range multiplier) are grouped together.
Filters these clusters, requiring a Min Bars in Cluster to form a valid S/R zone.
(Image showing the indicator being used on the Bitcoin 5min chart)
The center price of valid clusters determines the S/R level. Clusters above the current price become potential Resistance, and those below become potential Support.
Calculates the offset based on the most recent bar included in the cluster.
Level Selection & Display:
The indicator identifies multiple potential S/R levels.
It then selects and displays the top Number of S/R Levels to Display support levels below the current price and resistance levels above the current price.
(Image showing the indicator on the GBP/USD 5min chart)
ATR Usage:
The Average True Range (ta.atr(14)) is used in two key areas:
Determining the proximity threshold for grouping POCs in the 'Volume Based' clustering (clusterProximityAtr).
Calculating the width of the S/R zones when 'Use Zone Visualization' is enabled (zoneAtrMultiplier).
Key Features & Components
Dual Calculation Methods: Choose between Pivot-based S/R or Volume-based POC clustering.
Volume Confirmation: Pivots require volume confirmation; Volume method directly analyzes high-volume bars.
POC Clustering: Groups high-volume areas to identify significant price zones.
Configurable Lookbacks: Adjust periods for volume averaging, pivot detection, and clustering analysis.
Dynamic S/R Display: Shows a configurable number of the most relevant S/R levels relative to the current price.
Optional Zone Visualization: Display levels as filled zones with configurable width (ATR-based), fill transparency, and border transparency. Includes a dashed center line.
Optional Historical Reactions: Mark past price interactions (lows bouncing off support zones, highs rejecting from resistance zones) directly on the chart (Warning: Can significantly impact performance).
Customizable Styling: Control line style (Solid, Dashed, Dotted), width, color (separate for Support & Resistance), and horizontal extension (None, Left, Right, Both).
Price Labels: Toggle visibility of price labels next to each S/R level/zone.
Visual Elements Explained
S/R Lines/Zones: Plotted lines or filled zones representing calculated support and resistance levels. Color-coded for Support (default green) and Resistance (default magenta).
Line/Zone Borders: Appearance controlled by Style settings (Style, Width, Extension). Can have a gradient color effect based on age if enabled.
Zone Fills: Semi-transparent fills for zones (if enabled), with configurable transparency. Fill color matches the border color (including gradient effect if enabled).
Zone Center Line: A thin, dashed line indicating the exact calculated S/R price within a zone.
Price Labels: Text labels showing the exact price of the S/R level.
Historical Reactions: Small dot markers appearing on historical bars where price potentially reacted to a displayed zone (only if Show Historical Reactions is enabled).
Configuration Options
Users can adjust the following parameters in the indicator settings:
Calculation Method: Select "Pivot Based" or "Volume Based".
Volume Zone Settings (Volume Based): Threshold multiplier, clustering lookback, cluster proximity (ATR), minimum bars per cluster.
Display Options: Toggle S/R visibility, price tags, set the number of levels to show.
Volume Settings: Volume lookback period, volume multiplier (for Pivot confirmation).
Style Settings: Line style, width, extension, support/resistance text and line colors, enable gradient coloring, set gradient start/end colors.
Zone Visualization: Enable/disable zones, set zone width (ATR multiplier), fill and border transparency, enable/disable historical reaction markers (performance warning).
Interpretation Notes
This indicator identifies potential areas of support and resistance based on historical price action and volume analysis. These levels are not guaranteed reversal points.
The 'Volume Based' method focuses on areas where significant trading activity occurred, while the 'Pivot Based' method focuses on price turning points confirmed by volume.
Use the displayed levels in conjunction with other technical analysis tools, price action patterns, and risk management strategies.
Be mindful of the performance impact when enabling Show Historical Reactions, especially on longer timeframes or with large lookback periods. The default setting is false for optimal performance.
The max_bars_back setting is optimized for performance; increasing it significantly may slow down chart loading.
Risk Disclaimer
Trading involves significant risk. This indicator is provided for analytical and educational purposes only and does not constitute financial advice or a trading recommendation. Past performance is not indicative of future results. Always use sound risk management practices and never trade with capital you cannot afford to lose.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.
whop.com/velowaveindicator
Declinazione di responsabilità
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.
whop.com/velowaveindicator