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 aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?