OPEN-SOURCE SCRIPT
Updated

Uniform Volume Profile

28922
Uniform Volume Profile

The volume of a single candlestick is uniformly distributed by its range (high - low) along all the colliding volume profile bars.
For example, if a 10% of a candlestick intersects some volume bar (horizontal line) only the 10% of that candlestick volume will contribute to that profile.

Release Notes
V2. The lookback line is updated at every new candlestick. Updated Tags.
Release Notes
V3.
Requested by: ko_dori
Added input: color picker. Choose the color the volume bar.
Added input: max transparency. If higher value -> less important bars are more transparent.
Release Notes
V4.
Requested by @TraderX_Unkown
  • Added Input: Low color . Pick the color profile of the tightest profiles.
  • Remove Input: Max transparency. Obsolete by the previous input. You are free to select the transparency of the Lower profile.
  • Added Input: Gradient change. With this you can select different algorithms to control the gradient change between High-Low volume colors. Can be used to highlight the wider profiles.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.