OPEN-SOURCE SCRIPT
Updated

Correlation overlay

2 893
The script is intended to indicate when the correlation between VIX and VVIX gets below 0, on the selecteted security chart. It makes sense to plot it on indicies. This aims to present how the chart of a security looked like when the divergance between VIX and VVIX happened.
Release Notes
Added some improvements - the main change was to detect a situation when VVIX was falling while VIX rising and exclude such cases from calc. This would cause the correlation to break but that's not the alarming market environment. It is the opposite case - when implied vol of VIX is rising (VVIX) while VIX is resting.

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.