DislikedI have a custom indicator that does that. I don't divulge specific code on those. However, given the way I use it with line trading, it is very much like ATR, so you can use that instead.
My custom indicator is calculated differently than ATR, and is more dynamic than ATR.Ignored