OPEN-SOURCE SCRIPT

True Range Score

True Range Score:

This study transforms the price similar to how z-score works. Instead of using the standard deviation to divide the difference of the source and the mean to determine the sources deviation from the mean we use the true range. This results in a score that directly relates to what multiplier you would be using with the Keltner Channel. This is useful for many applications.
One is the fact that it shows you the momentum of the price and how strong the price movement is. This is also a great metric of volatility. With this you can make a smart Keltner channel by multiplying the mean by the average true range 75th percentile of this score. I in fact do this in my automatic Keltner channel script. I hope this script is useful for you. Thank you for checking this out.

(Source - Mean)/True Range instead of (Source - Mean)/Standard Deviation
keltnerchannelKeltner Channels (KC)OscillatorsVolatility

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