Editors' picks
OPEN-SOURCE SCRIPT

OBV Traffic Lights

The idea with On-balance volume (OBV) is to see price movement based on volume instead of the distance between the open and close of a candle. This can be used to find the relationship between volume and price action much easier than normal volume bars.

This version spices the OBV up a bit by basing it off of the current and previous close of the Heikin Ashi of the current bar, as well as adding "traffic light"
moving averages to the mix to get a better grasp of trends and when volume has shifted direction as well as by how much.

Thanks to Peter Whipp for the original idea of using the OBV with traffic light moving averages, as well as the default settings for them.
Exponential Moving Average (EMA)traffic-lightsVolume Indicator

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer