r_COT (Commitment of Traders)

COT , Commitment of Traders, both Commercials and Large Speculators merged.
Release Notes: Quandl has changed the prefix of the CFTC symbols.
This update should the script working again.
Release Notes:
  • Removed some lines of code which were duplicate
  • Added CADUSD
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


hello guy! how to I add COT data in my tradingview like your chart? please
+22 Reply
kramsken nguyendung37
@nguyendung37, add indicator? Not sure what you mean.
+1 Reply
Hello! Thank you for the script! Can you please direct me to a source with a basic / brief description on how to read COT data?
Thank you!
+10 Reply
kiero kiero
or maybe give your suggestions...
+2 Reply
@kiero, Commercials own the product and will hedge.
(eg, price up, they will unload their product bit by bit, they want the best price as possible)
+1 Reply
kiero kramsken
@kramsken, thank you! so you mean that commercials may be wrong, and if they are - they kind of scale out of their positions, but at the best available price?
Why not follow institutions then? I know many people look at commercials data, not the institutions.
I'm new COT's member.
THANK YOU SO MUCH for this script.
Thank and good luck to you and your family.
+4 Reply
Thank you!
+1 Reply
Awesome script! congrats!!! I recently posted on the use of COT it might help some people with your script. Again Well done!
Home Stock Screener Forex Screener Crypto Screener Economic Calendar About Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter