INVITE-ONLY SCRIPT

Relative Volume - VPA / VSA / Better Volume

Updated
Volume is important.

Volume is VERY important.

But all the existing methods of volume analysis and order flow analysis fall into the same trap: they're all extremely complicated, hard to learn, and difficult for the human brain to distill down to an actual, tradable signal.

The Relative Volume Gradient Paintbars indicator seeks to address this issue by reducing and simplifying concepts from Volume Price Analaysis (VPA), Volume Spread Analysis (VSA), and Market Profile / Volume Profile into a single indication with varying levels of intensity. Rather than adding more complex symbology and cluttering up your charts with arrows and signals and lines as many volume indicators do, relative volume intuitively takes advantage of the dimension of color, and plays to your brain's automatic recognition of color intensity to highlight areas of interest on a chart where large volumes are being traded. These areas can in turn point out levels of support and resistance, or show strength in a move, exposing the actions of larger market participants that are behind a move.

The Relative Volume indicator can calculate based on a time-segmented / time-based / bar-specific average of volume, adjusting for some of the typical spikes in volume that happen at the beginning and end of a trading day; Or it can be calculated based on any length and type of moving average of volume that is desired: simple, exponential, weighted, Wilders, price-weighted, Hull, or TEMA.

This indicator does more than just normal relative share volume. It can also do relative volume-per-range. The idea behind this setting is that when more volume is being traded but very little movement is happening, this can indicate substantial support or resistance, where a lot of trades are likely being absorbed by larger operators. You can choose your own range calculation for this setting, whether you prefer True Range, high-low range, candle body range, close to close range, or any of several other custom settings.

Moreover, the levels or thresholds at which the color intensity changes are completely user-controlled, so you can adjust them upward to tune out more noise, or downward to increase the level of sensitivity. In addition, all of the colors for each of the thresholds are completely user-controlled.

We hope to see TradingView add support for Richard Arms' CandleVolume or Equivolume before too long, as well as Tick Volume or Trade Count Volume data, all of which can add a lot of power to this method of trading.
Release Notes
Added options for dollar-based volume which can be good on longer term charts and cryptocurrency charts like BTCUSD:
  • $ Volume
  • $ Volume/Range
  • $ Volume / Range %
Release Notes
Added Candle Range + Wicks, ignoring gaps, as an option for the range calculation.
Release Notes
Fixed a negative value issue on HULL ma type.
Release Notes
Updated defaults.
Release Notes
Updated documentation and comments.
Release Notes
Fixed a small bug related to the threshold5 coloration.
Release Notes
Updated to Pine Script version 5, added some error handlers.
Release Notes
I use this set to show the relative volume divided by range. When this value is high, it indicates difficult movement ... i.e., lots of nearby support/resistance, a "thick" limit order book, etc. When this value is low it indicates ease of movement ... i.e., little nearby support/resistance, and a "thin" limit order book. This can be good for if you have an area of interest already and price is approaching that area, the relative volume per range can be good for confirming that support/resistance in real time.
Release Notes
2024-03-15 Updated script to include color selectors on the main input screen so they're easy to identify and edit based on threshold.
Release Notes
Update 2024-08-27 simple change, added checkbox to show/hide histogram so indicator can be used for paintbars functionality only, to save screen real estate.
bettervolumerelativevolumeVolume IndicatorvolumeanalysisvolumeindicatorvolumepriceanalysisVolume ProfilevolumespreadanalysisvpaVSA

Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact easycators for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases, you can find a good open-source alternative for free in our Community Scripts.

Author's instructions

To buy this script, simply use this Paypal link https://paypal.me/josiahredding/100 to send funds, and add your TradingView username in the comment field. I will then add your username to the access list within 1 day.

Want to use this script on a chart?

Warning: please read before requesting access.

Disclaimer