OPEN-SOURCE SCRIPT

pips bar

Actualizado
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.
Notas de prensa
pip calculation method was changed.
pip = syminfo.mintick * (syminfo.type == "forex" ? 10 : 1)
Notas de prensa
chart was changed.
Notas de prensa
pip calculation was changed and pine version was updated to version 6
pip = syminfo.mintick * 10
Notas de prensa
Thanks for the improvement ideas. I have modified the indicator.
This indicator defines 1 pip as 10 times the minimum tick value of the chart. For 'OANDA:XAGUSD', where this standard method doesn't display the pips bar correctly, it automatically sets 1 pip to 0.01. For other cases where the standard method doesn't display correctly, I've made it possible to input the pip value manually.
Now, you can select the horizontal position. The default 'Right' setting displays it on the right side of the last chart bar as before. When 'Left' is selected, it displays the bar offset from the right side of the leftmost visible chart bar.
Volatility

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?

Exención de responsabilidad