OPEN-SOURCE SCRIPT
已更新 MY_CME Open Interest

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)
Can select Commodity (Gold.Silver,Crude), year, contract (Feb,April,June,AugOct,Dec)
發行說明
Now uses QUANDL/CHRIS/CME_GCn continuous datasetActual 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
發行說明
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發行說明
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
發行說明
fixed needed confirmation for Year&Prod on startup發行說明
better chart attached+fixed def val for Year
發行說明
CFTC Open Interest fixed, now for Fut+Opt開源腳本
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
免責聲明
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.
開源腳本
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
免責聲明
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.
