bafshinpour

VolatilityFlex Levels

bafshinpour Updated   
The VolatilityFlex Levels indicator computes the degree of change (or sigma) by leveraging the selected Volatility Index (such as VIX or any user-specified volatility index). It utilizes this information to graphically represent distinct levels for a designated financial instrument. These levels include -sigma, -3/4sigma, -1/2sigma, -1/4sigma, 1/4sigma, 1/2sigma, 3/4sigma, and sigma.
Release Notes:
The VolatilityFlex Levels indicator computes the degree of change (or sigma) by leveraging the selected Volatility Index (such as VIX or any user-specified volatility index). It utilizes this information to graphically represent distinct levels for a designated financial instrument. These levels include -sigma, -3/4sigma, -1/2sigma, -1/4sigma, 1/4sigma, 1/2sigma, 3/4sigma, and sigma.
Release Notes:
The following bugs are fixed:
1) The extra unnecessary lookback parameter is removed.
2) The correct data for previous day close is used.
3) The correct data for previous VIX close is used.
Also,
1) Colors can be modified.
Release Notes:
Now it plots from -3sigma to 3sigma with the steps of 1/4
The TV limitation is 50 plots so we can only plot 50 lines for now. Will provide an update to circumvent this limitation.
Release Notes:
plot the -3sigma to 3sigma by step of 1/4 for all previous days.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?