ka66

ka66: Volatility Momentum

This is a 'monitoring' indicator to see if an instrument is viable enough to be traded, by virtue of volatility (or lack of volatility in context may lead to a break out), or may become so. It shows the following information:

Price Range (high - low) averaged across a set of bars: Useful gauging potential trading profits. This was its initial goal, to not measure bars manually!

ATR: As a comparison point for the price range above. Divergence between true range (TR) and plain price range might signal volatility changes occurring in the instrument.

Signal volatility line: a moving average of the larger of the average price range and ATR. This takes inspiration from other indicators like MACD and Stochastic, and is a way of comparing change in recent volatility --- this achieves the momentum part. The larger was chosen to keep things simple, and not have a signal line per range!

avgRange = movingAvg(high - low, avgPeriod)
atr = movingAvg(trueRange, avgPeriod)
signal = movingAvg(max(avgRange, atr), avgPeriod)

Configurable periods and averaging mechanism.
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?