OPEN-SOURCE SCRIPT
Volume-Price Diff

Script is designed to analize volatility in real-time.
Once added to chart, script starting to collect 2 things:
The pctc/tc ratio may be interpret as a volatility measure.
Label above real-time bar shows:
Using this indicator trader may detect volatility spikes.
More the "Diff" - less the volatility and vice versa.
Once added to chart, script starting to collect 2 things:
- Ticks count (tc)
- Price changing ticks count (pctc)
The pctc/tc ratio may be interpret as a volatility measure.
Label above real-time bar shows:
- Ticks count
- Price changing ticks count
- 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 creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.