OPEN-SOURCE SCRIPT
已更新 Bitmex BTC Backwardation / Contango

This indicator calculates difference between price of Bitmex's XBTUSD, and Bitmex's two nearest futures.
If the difference is negative, then it is backwardation.
If the difference is positive, then it is contango.
This script will be updated every about 3 months, when the nearest Bitmex future will be expired.
This is an updated script of https://www.tradingview.com/script/mkYvSQ5J-Most-short-term-Bitmex-future-contract-Bitmex-perpetual/, with better description.
If the difference is negative, then it is backwardation.
If the difference is positive, then it is contango.
This script will be updated every about 3 months, when the nearest Bitmex future will be expired.
This is an updated script of https://www.tradingview.com/script/mkYvSQ5J-Most-short-term-Bitmex-future-contract-Bitmex-perpetual/, with better description.
版本注释
Adding XBTM20 (June 26, 2020)版本注释
Removal of expired futures.版本注释
Removed expired futures & added XBTU20.版本注释
XBTZ20 Update版本注释
Add XBTH21版本注释
Futures update.版本注释
Futures update版本注释
Futures update版本注释
Update版本注释
Update版本注释
Script update版本注释
Update版本注释
Now this script uses Binance instead of Bitmex.开源脚本
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.
免责声明
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.
开源脚本
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.
免责声明
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.