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

If you improve it please let me know.
Remove from Favorite Scripts Add to Favorite Scripts
study("VIX EMA", overlay=false)
VIX = security("VIX", "D", close)

// from
// published example here -> 
// 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)
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out