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
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.