OPEN-SOURCE SCRIPT

pips bar

Updated
This indicator displays a line (pips bar) of lengths corresponding to the set number of pips on the chart. This pips bar serves as a reference for assessing the volatility of the displayed chart. One pip for currency pairs is distinguished for JPY pairs and for others.
The horizontal position of the pips bar is offset to the right of the latest bar by the specified bar amount, and the vertical position can be selected from Top, Middle, or Bottom, calculated using the maximum and minimum values visible on the chart.
Release Notes
pip calculation method was changed.
pip = syminfo.mintick * (syminfo.type == "forex" ? 10 : 1)
Release Notes
chart was changed.
Volatility

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer