OPEN-SOURCE SCRIPT

True_Range_%

Average True range percent show the the latest true range value as percentage of previous close.

Standard ATR shows the average of absolute value of True range. This is problem when price level changes over time. Because Stocks trading at higher price level e.g $1,000 will have high ATR value as compared to stocks trading $ 50. This may look like volatility has increase recently which is of-course not true. As you can see in the chart, ATR value of period before 2020 is lower than the recent period.

True Range Percentage solves value. With this script you can also find when there is a Volatility spike (1.5 time of avg) or Low volatility (0.7 times of avg).

Volatility is cyclic in nature. It oscillates between high and low. Observing this behavior can be extremely usefully in timing entry and exits.
Average True Range (ATR)

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