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.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.