codypd

VIX EMA/SMA divergence

vix
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
If you improve it please let me know.

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?
study("VIX EMA", overlay=false)
VIX = security("VIX", "D", close)

// from https://marketsci.wordpress.com/2008/07/28/the-vix-is-very-predictable/
// published example here -> https://www.tradingview.com/v/LrCG2SpT/ 
// it is a start but doesn't find bottoms / tops.

length = input(11, minval=1)
vixema = ema(VIX, length)
vixsma = sma(VIX, length)

bgcolor(vixema >= vixsma ? red : green, transp=70)
plot(vixsma, color=white)
plot(vixema,color=red)