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)
發布通知
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
發布通知
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
發布通知
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

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明