TradingView
Trading_Nerd
Sep 25, 2022 2:22 PM

COT Report Indicator 

Euro Fx/U.S. DollarFXCM

Description

A COT Report Indicator that shows the Data for both currencies (base- and quotecurrency). It works in the forex market and on the Bitcoin Chart.

The table shows the Net-Contracts, Long and Short Percentage of the latest report. The line chart shows if the Commercials, Institutionals and Retail Traders are more long biased (value above 50) or more short biased (value below 50).
The COT Report is only published weekly. This should not be used as an entry indicator, but can help to find market bottoms/top and the trend of the market.

Release Notes

Added some Commodities

Release Notes

Added following symbols:
Platinum, Palladium, Aluminum, Copper, S&P 500 Mini, Dow Jones, NASDAQ, Russell 2000, VIX

Release Notes

fixed XAUUSD

Release Notes

Added table alignment option

Release Notes

add NDX - NASDAQ

Release Notes

Tradingview changed the way how to access the COT data. Now using the official TrandingView Library for COT data

Release Notes

Fixed cot codes for ticker: S&P, DJI, Russel 2000 and NASDAQ

Release Notes

Fix Crude Oil

Release Notes

added USOIL ticker

Release Notes

added NATURAL GAS ticker

Release Notes

add NASDAQ Mini
Comments
TradersCircle_2022
thanks, Gold would be good too :)
RelioDaddy
Love this!! Hope you eventually add more futures markets like ES, oil, and gold.
frold
I think this script i broken - Can anyone confirm that it still get the newest data? Or is it broken?

Seems like you need a apikey to get the newest data or I may be wrong

data.nasdaq.com/data/CFTC-commodity-futures-trading-commission-reports/documentation

>>data.nasdaq.com/api/v3/databases/CFTC/metadata?api_key=YOURAPIKEY
frold
@Trading_Nerd If I use this source the data seems outdated: insider-week.com/en/cot/
mbwilofx
@frold, am also facing the same issue, if you have solved please share here the solution
Trading_Nerd
@frold, Published a new version
frold
@Trading_Nerd, Cool, how to enable data for the following index
SPX
NASDAQ
DJI
Russel 2000

Not working:
frold
@Trading_Nerd, Worked with this edit

f_getTickerCode(pair) => string code = switch pair //Metals 'GOLD' => '088691' // https://www.tradingster.com/cot/legacy-futures/088691 'SILVER' => '084691' // https://www.tradingster.com/cot/legacy-futures/084691 'PLATINUM' => '076651' // https://www.tradingster.com/cot/legacy-futures/076651 'PALLADIUM' => '075651' // https://www.tradingster.com/cot/legacy-futures/075651 'COPPER' => '085692' // https://www.tradingster.com/cot/legacy-futures/085692 'CRUDE OIL' => '06765A' // https://www.tradingster.com/cot/legacy-futures/06765A 'SOYBEAN OIL' => '007601' // https://www.tradingster.com/cot/legacy-futures/007601 //Financial 'S&P 500' => '13874+' //https://www.tradingster.com/cot/legacy-futures/13874+ 'S&P 500 Mini' => '13874A' // https://www.tradingster.com/cot/legacy-futures/13874A 'Dow Jones' => '12460+' //https://www.tradingster.com/cot/legacy-futures/12460+ 'NIKKEI' => '240741' // https://www.tradingster.com/cot/legacy-futures/240741 'NASDAQ' => '20974+' //https://www.tradingster.com/cot/legacy-futures/20974+ 'RUSSELL 2000' => '239742' // https://www.tradingster.com/cot/legacy-futures/239742 'Volatility S&P 500' => '1170E1' // https://www.tradingster.com/cot/legacy-futures/1170E1
Trading_Nerd
@frold, Thank you very much! The indicator was originally just designed for Forex. I just added the tickers because of the request of the community. I'm not quite sure if the calculations always make sense (comparing it to the USD Index).
More