SpaghettiScott

Scott’s ATR volatility histogram with smoothing

ATR shows volatility. The sma of the ATR (default=14 period) shows the average volatility over the look-back period, (default=200 period.)
When volatility is higher than average, the histogram turns green. When volatility is less than average, the histogram turns red. This shows volatility expansion and contraction. Volatility expansion is a good confirmation for entering a trade position. Volatility contraction is a sign that a trend is not developing.
Now I have added an sma which acts as a smoothing of expanding or contracting volatility. When the histogram is higher than this smoothing (default=21) then volatility expansion momentum is creasing. WWhen the histogram is lower than the smoothing sma, volatility contraction momentum is increasing.
I introduce an idea that volatility momentum can be used as a substitute for volatility expansion and contraction.
Now we have volatility expansion momentum and volatility contraction momentum.
Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?