OPEN-SOURCE SCRIPT
Updated Futures OI and Net positions

This is an indicator that gets data from Quandl and presents weekly CFTC futures data (cftc.gov/MarketReports/CommitmentsofTraders/index.htm). In this indicator, Open Interest (OI) and net noncommercial positions are presented. Net_noncommercial positions are calculated as noncommercial_long - noncommercial_short.
Release Notes
minor change.Release Notes
//Ver. 29 Changed everything into version=4//Ver. 30 Changed all CFTC into futures only (without options anymore)
added some notes for better reading.
Release Notes
Added Institution and Hedge fund contract Long and short.Release Notes
Add support for major index futures: NQ1 and RTY1Release Notes
Minor change: deleted zero lineRelease Notes
Add to most futures supportOpen-source script
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.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
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.
Open-source script
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.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
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.