OPEN-SOURCE SCRIPT
Updated Volatility Rainbow [Nic]

What is this
The volatility rainbow tracks divergences in a security and its volatility index. This can be used to identify periods of heightened implied (future) risk.
About Volatility
The volatility is calculated by looking at put / call ratios. When VIX goes up it means that puts are outpacing calls. This is a bearish signal.
About Correlation
When the security goes up while the VIX goes up, the divergence on the plot will increase and turn a color. This should be a warning.
Colors
RED - DIA
BLUE - SPX
GREEN - IWM
GOLD - GLD
YELLOW - QQQ
ORANGE - TLT
White- VVIX
Related
![Volatility Prism [Nic]](https://s3.tradingview.com/a/Anby0nOE_mid.png)
The volatility rainbow tracks divergences in a security and its volatility index. This can be used to identify periods of heightened implied (future) risk.
About Volatility
The volatility is calculated by looking at put / call ratios. When VIX goes up it means that puts are outpacing calls. This is a bearish signal.
About Correlation
When the security goes up while the VIX goes up, the divergence on the plot will increase and turn a color. This should be a warning.
Colors
RED - DIA
BLUE - SPX
GREEN - IWM
GOLD - GLD
YELLOW - QQQ
ORANGE - TLT
White- VVIX
Related
![Volatility Prism [Nic]](https://s3.tradingview.com/a/Anby0nOE_mid.png)
Release Notes
Added background colorsRelease Notes
Code cleanupOpen-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.