OPEN-SOURCE SCRIPT

Noncommercial long futures position to overall Open Interest

Updated
This is an indicator that gets data from Quandl and presents weekly CFTC futures data (cftc.gov/MarketReports/CommitmentsofTraders/index.htm). In this indicator, the noncommercial long/short positions are calculated as a percentage of overall Open Interest. This indicates the bullish/bearish sentiment of the market.
Release Notes
Change everything to version=4

This indicator will stop updating because I think the absolute value (rather than %) is more informative, and the absolute value is updated in the other indicator.
Futures OI and Net positions
cftcfuturesnoncommercialOpen InterestquandlVolume

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer