OPEN-SOURCE SCRIPT

Closing Range

Indicator shows the closing range of each bar. Closing range is where the bar closes (high - close) relative to the length of the wick (high - low). A close at the top of the wick would be 100%, middle 50%, bottom 0%.

In addition, the indicator multiplies closing range by volume to weight toward high volume days.

A simple moving average is applied to visualize trend in volume-weighted closing range over time.

Options include changing the threshold of bullish closes. The default is 50%, but you can view a close above 40% as a bullish.

Simple moving average can be enabled/disabled as well as the length adjusted.
Candlestick AnalysisSimple Moving Average (SMA)Volume 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?


Also on:

Disclaimer