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.

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?
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)