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 - VXO
SP500 (3months) - VIX3M

XLE(energy sector) - VXXLE
EWZ(brazil etf) - VVXEWZ
EEM( emerging markets etf) -VVXEEM
EFA (MSCI ETF) - VVXEFA
FXI (Cina ETF) - VVXFXI
Bollinger Bands %B (%B)Bollinger Bands Width (BBW)Volatility

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明