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 open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?