OPEN-SOURCE SCRIPT
Daily Deviations Version 3

Version 3 of Daily Deviations
Combines Lazy and Self Input version
HOW TO USE:
Select volatility index related to ticker. (Ex. Using SPY? Select VIX. Using QQQ? Select VXN. etc)
OR
Uncheck other volatility options and select "Use Custom Volatility" and input your own volatility.
Default setting is to use the previous close price as the "0 Level".
OR
Uncheck "Use Close Price" to enable a synthetic settlement price that is made by using the average of the daily open and close.
OR
Uncheck "Use Close Price" and select "Use Custom Settlement" and input your own settlement price.
Mess around and find the settings that you like the most.
Credits to /u/Living_Granger and /u/UberBotMan for the formulas and idea.
Combines Lazy and Self Input version
HOW TO USE:
Select volatility index related to ticker. (Ex. Using SPY? Select VIX. Using QQQ? Select VXN. etc)
OR
Uncheck other volatility options and select "Use Custom Volatility" and input your own volatility.
Default setting is to use the previous close price as the "0 Level".
OR
Uncheck "Use Close Price" to enable a synthetic settlement price that is made by using the average of the daily open and close.
OR
Uncheck "Use Close Price" and select "Use Custom Settlement" and input your own settlement price.
Mess around and find the settings that you like the most.
Credits to /u/Living_Granger and /u/UberBotMan for the formulas and idea.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.