This script offers an SMI index of
VIX ,
SPY , and NDX. Rather than overlaying
VIX , NDX and
SPY on the same chart.
It's much easier to see the correlation between VIX's price and NDX /
SPY price in this manner.
Thanks to Buckkets & William Blau for the TSI smoothing method.