OPEN-SOURCE SCRIPT

VIX EMA/SMA divergence

Here is a simple indicator that implements the idea in an article titled "The VIX is Very Predictable"

Read the indicator's script comments for the article location.

Published in tandem with this post tradingview.com/v/LrCG2SpT/

If you improve it please let me know.

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.