CFTC only publishes total OI on fridays, related to last Tuesday. But what happened since last Tuesday? CME Vol & Open Interest data is recorded&exported daily by quandl.com to tradingview via the che CHRIS/CME datasets quandl.com/data/CHRIS
Every outstanding contract's OI & vol is exported (black column), but not the total (yellow line): http://tiny.cc/z7t94y
This script sums up all the existing outstanding contract's OI for the future (the black column), so one can have an idea of the total OI for the day (Yellow line).
As numer of outstanding contracts varies from future to future,Eg: E-mini (ES) has 4 contracts, Gold(GC) 16 cntrcts, NatGas(NG) has 43, WTI(CL) has 38 etc the scrips tries to guess how many exist for it and sums them up, to have the total OI for tha day
There are 2 params you can enter on the script: * override the ticket symbol on the chart ,if script cannot guessit or you need a different one * enter the "preliminary" OI that is published by CME early the next day, butb not yet exported by quandl to tradingview
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.