OPEN-SOURCE SCRIPT

Up/Down Range

2672
Measuring the difference between the highs and lows from the average, this measure can serve as a proxy for the volatility, just like the ATR.

However, it breaks the range into an upward and a downward moving component, so it also gives information about the current trend direction.

In fact, I turned it into a momentum indicator here:
Up/Down Range Momentum

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.