MONEY_MEDITATION

Volume-Price Diff

Script is designed to analize volatility in real-time.

Once added to chart, script starting to collect 2 things:
  1. Ticks count (tc)
  2. Price changing ticks count (pctc)

The pctc/tc ratio may be interpret as a volatility measure.

Label above real-time bar shows:
  1. Ticks count
  2. Price changing ticks count
  3. Ratio between (2) and (1) in percents

Using this indicator trader may detect volatility spikes.
More the "Diff" - less the volatility and vice versa.
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?