This is the same previous script but without the calculation of the Deribit index (for BITMEX users for example) that can give problems due to no connection with any of the 6 exchanges. Now use 'close' as source.
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.