OPEN-SOURCE SCRIPT
Bollinger Bands %B Compare Vix

This imple script converts your chosen chart price and outputs it as a percentage in relation to the Vix percentage.
If price (Blue line) is higher than 0.60 and vix (Red Line) is lower than 0. 40 then there is lower volatility and this is good for buying.
If price (Blue line) is lower than 0. 40 and vix (Red Line) is higher than 0.60 then there is higher volatility and this is good for selling, exiting and cash only.
If you like risk you can enter as soon as the price and vix cross in either direction
This is my first script, please give me a lot of critique, I won't cry hahaha :)
For greater accuracy, you use these Vix products for their specific stocks/Indicies:
Apple - VVXAPL
Google - VVXGOG
Amazon - VVXAZN
IBM - VVXIBM
Goldman Sachs - VVXGS
NASDAQ 100 =
VXN
SP100 - $CBOE:VXO
SP500 (3months) -
VIX3M
XLE(energy sector) - $CBOE:VXXLE
EWZ(brazil etf) - VVXEWZ
EEM( emerging markets etf) -VVXEEM
EFA (MSCI ETF) - VVXEFA
FXI (Cina ETF) - $CBOE:VXFXI
If price (Blue line) is higher than 0.60 and vix (Red Line) is lower than 0. 40 then there is lower volatility and this is good for buying.
If price (Blue line) is lower than 0. 40 and vix (Red Line) is higher than 0.60 then there is higher volatility and this is good for selling, exiting and cash only.
If you like risk you can enter as soon as the price and vix cross in either direction
This is my first script, please give me a lot of critique, I won't cry hahaha :)
For greater accuracy, you use these Vix products for their specific stocks/Indicies:
Apple - VVXAPL
Google - VVXGOG
Amazon - VVXAZN
IBM - VVXIBM
Goldman Sachs - VVXGS
NASDAQ 100 =
SP100 - $CBOE:VXO
SP500 (3months) -
XLE(energy sector) - $CBOE:VXXLE
EWZ(brazil etf) - VVXEWZ
EEM( emerging markets etf) -VVXEEM
EFA (MSCI ETF) - VVXEFA
FXI (Cina ETF) - $CBOE:VXFXI
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。