TradingView
giancapino
2 Jun 2018 pukul 13.22

MY_CME Open Interest 

Gold FuturesCOMEX

Deskripsi

end-of-day Open Interest as provided by CME for D interval.
Can select Commodity (Gold.Silver,Crude), year, contract (Feb,April,June,AugOct,Dec)

Catatan Rilis

Now uses QUANDL/CHRIS/CME_GCn continuous dataset
Actual dataset is #2 (eg SI2 silver), previous contract is #1 (eg SI1)
Automatically selects actual future from chart ticket,
can be overriden with a different commodity contract, eg.: GC3

Catatan Rilis

Plot e-o-d CME Open Interest + CFTC weekly COT Open Interest (optional) for contracts (Feb/Jun/Aug/Oct/Dec) years (2016/17/18/19) Gold/Silver/WTI

Catatan Rilis

Select the year via config.
Select the contracts months via config
Scripts tries to take ticker as base. Overridable via config, eg "GC" or "ES" or"CL"or "EC" etc
Dunno where to get all these codes thou, there's some mess out there
Database used is the CHRIS continuous by quandl, exported to tradingview:
quandl.com/data/CHRIS-Wiki-Continuous-Futures
(use previous link to search datasets and codes)
Load indicator multiple times to compare contracts over multiple years
Added codess for all 12 months contracts
CFTC total OI can also be plotted

Catatan Rilis

fixed needed confirmation for Year&Prod on startup

Catatan Rilis

better chart attached
+fixed def val for Year

Catatan Rilis

CFTC Open Interest fixed, now for Fut+Opt

Catatan Rilis

added more future years till 2023, source is there anyway
These are my five public views I use for trading:
Komentar
Ocelot_trader
Thank you my friend. For some reason, after I downloaded TradingView, charts on CME stopped showing Open Interest. This is very useful.
I expect TradingView should have it natively but am surprised because OI indicator they offer does NOT work.
Would you share where you pull this data from? Do you know latency?
thiyagukarunakaran
Hello All, Any idea how to make this scrip work for commodities from MCX, i put a symbol COPPERK2022 for May month contract and selected right year and months , still not working, support on this will be really helpful to me, Thanks in advance
Bovem
Hi, have your open interest data sources been updated this year? Thanks
ChenJunda
Hi , i tried to use your OI script, but nothing comes up. Any idea why?
giancapino
@ChenJunda,
For which ticker/future are u using it?
AT start, or by the * (asterisk) next toscript nale on chart, you have to select the year and the month contract you want the OI to be plotted for

thiyagukarunakaran
@giancapino, how do i use this script for Copper future, which i update symbol "COPPERK2022" its not working, any idea?
AriesMusa
Thanks for this.
Lebih lanjut