Plumptoiletduck

Premium/Discount (Input)

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.
הערות שחרור: Added percentage Delta as a checkbox option. Just ensure "numeric value" is un-ticked.

Updated default tickers to okex spot and futures.
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר סקריפט זה פרסם אותו עם קוד פתוח, כך שסוחרים יוכלו להבין ולאמת זאת. הידד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום הנו בכפוף ל כללי הבית . אתה יכול להגדירו כמועדף ולהשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?

תגובות

is there any way to keep plotting the past contracts in turn to check as historical ¿?
השב
@spiral_, No, unfortunately. I did request it from Tradingview quite a while ago. Something like BTC1! with 'current contract in front' would be very useful.
השב
hello how can we continue potting this scrip?
השב
@spiral_, You need to change the input as XBTZ19 has expired. Click the settings button on the indicator and change to "BITMEX:XBTM20" for example.
השב
spiral_ Plumptoiletduck
@Plumptoiletduck, i changed it already but doesn't work
השב
@spiral_, I just tried it and it works fine.
השב
spiral_ Plumptoiletduck
@Plumptoiletduck, yep , you right, it is working properly . Thanks for share. enjoy tiger!!
השב