OPEN-SOURCE SCRIPT
Index Vs Futures for OKEX Quarterly Contracts 5.0

*****Please note that all old versions of this script are depreciated and will report incorrect data!*****
This "indicator" is made to display the history of the price difference between OKEX's quarterly contracts and the market that it is supposed to be tracking. Contango differences are natural, but it's nice to visualize how they change over time.
This update to this script brings in further functionality when OKEX changed the index that the futures contracts are based off of to remove chinese exchanges from the mix. This script reflects that change and crosses-over when that change was made.
The new index removed chinese exchanges which are (currently) trading at a significant discount which will give bad data when using my old code.
This "indicator" is made to display the history of the price difference between OKEX's quarterly contracts and the market that it is supposed to be tracking. Contango differences are natural, but it's nice to visualize how they change over time.
This update to this script brings in further functionality when OKEX changed the index that the futures contracts are based off of to remove chinese exchanges from the mix. This script reflects that change and crosses-over when that change was made.
The new index removed chinese exchanges which are (currently) trading at a significant discount which will give bad data when using my old code.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。