OPEN-SOURCE SCRIPT

Bitmex BTC Backwardation / Contango

Updated
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.
Release Notes
Adding XBTM20 (June 26, 2020)
Release Notes
Removal of expired futures.
Release Notes
Removed expired futures & added XBTU20.
Release Notes
XBTZ20 Update
Release Notes
Add XBTH21
Release Notes
Futures update.
Release Notes
Futures update
Release Notes
Futures update
Release Notes
Update
Release Notes
Update
Release Notes
Script update
Release Notes
Update
backwardationbitmexBTCcontangofuturesOscillators

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer