OPEN-SOURCE SCRIPT
Updated

Premium/Discount (Input)

25066
Used to show Contango or Backwardation in futures contracts vs spot price. You can input your own tickers so can technically can be used to compare anything.


* In this example I'm showing Okex Quarterly contract vs Okex spot index price because it showcases it better.

* If you are using this after 2019 the default setting will not work because I set it to Bitmex which does not currently have a "current contract in front" ticker available.



It should be fairly self explanatory, but just ask below if you have any questions.
Release Notes
Added percentage Delta as a checkbox option. Just ensure "numeric value" is un-ticked.

Updated default tickers to okex spot and futures.

Disclaimer

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.