OPEN-SOURCE SCRIPT

plot CFTC COT disaggregated data

CFTC COT data is exported by quandl.com to tradingview
COT@quandl:
quandl.com/data/CFTC/088691_FO_ALL-Commitment-of-Traders-GOLD-CMX-Futures-and-Options-088691
COTTradingView
tradingview.com/chart/?symbol=QUANDL:CFTC/GC_FO_ALL&interval=D&style=3

How to use this script:
Select and load CFTC COT data for the commodity ticker in the chart
Will by default take current ticker, or allow to avvverride it with another
Traders' categories are those for commodities, not financial futs

Select And Configure :
-categories to be plotted
-Futures/Futures+Options
-by num_contracts/percent
-plot"Tot Spreads %" selection when also "Show as % of OI" selected

This script supercedes my other "MY_ CFTC GC/SI/CL (Disaggregated)" script

Commitment of Traders (COT)COT

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