OPEN-SOURCE SCRIPT
Updated ATR Volatility Spectrum

This indicator estimates price volatility and it is based on ATR only.
The advantage of this indicator is that it can be used with any pair, any time frame.
The fluctuations of a short period ATR with respect to a gently ATR with high period
are calculated.
The only parameters are the periods of the reference ATR and fast ATR, which could be
safely let untouched and modified by experts.
RED areas depict low volatility
GREEN areas depict high volatility.
When the clouds are outside the region delimited by the aqua lines we have
extreme conditions:
Extremely low volatility = red cloud outside the aqua bands
Extremely high volatility = green cloud outside the aqua bands
Vitelot/yanez/Vts December 2018.
Hitting the like button is free act of gratitude
Release Notes
Added the possibility to filter out extreme events in the calculation of ATR,i.e., those events outside 3 standard deviation.
This will clean the ATR signal from the contamination of occasional rare events (as the flash crash of Jan 3rd 2019).
January 2019
Release Notes
Changed the volatility threshold definition: it uses the more statistically sound standard deviation now.Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.