Recreation of TTR – “Trending True Range” – original by alexgrover(TV) – description also
Display a smoothed true range during trending markets, thus filtering any measurement occurring during ranging markets. Whether the market is trending or ranging is determined by the position of the efficiency ratio relative to its Wilder moving average.
Length : period of the efficiency ratio and the Wilder moving averages used in the script
If you are not interested in volatility during ranging markets, this indicator might result useful to you. An interesting aspect is that it both measures volatility , but also determine whether the market is trending or ranging, with a zero value indicating a ranging market.