OPEN-SOURCE SCRIPT

MY_CME Open Interest

Mis à jour
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)
Notes de version
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
Notes de version
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
Notes de version
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
Notes de version
fixed needed confirmation for Year&Prod on startup
Notes de version
better chart attached
+fixed def val for Year
Notes de version
CFTC Open Interest fixed, now for Fut+Opt
Notes de version
added more future years till 2023, source is there anyway
These are my five public views I use for trading:
Giancapino 5 views
CMECommitment of Traders (COT)COTOpen InterestTrend Analysis

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité