OPEN-SOURCE SCRIPT

ILM COT Financial Table - CFTC

Updated
Use this indicator on Daily Timeframe

Please refer to the below link for CFTC Financials
cftc.gov/dea/futures/financial_lf.htm

This script shows the Financial COT for the respective instrument by deriving the CFTC code.
Option is provided to override the CFTC code
User can also configure the historical CFTC data view

The script calculates the Long% vs Short% for various categories (Dealers/Asset Managers/Leveraged Funds/Other Reportables) and color codes the column appropriately.
The goal of this script is to show all the financial CFTC data on a single page to digest the data better in a tabular form

Fixed the default TradingView Library which has some errors with CFTC code mapping.
For example, SPX CFTC Code #13874+ which is the most important one where big players take positions is not there in the default Library.
Release Notes
Enhanced CFTC Override Input parameter to list all the CFTC Financial codes with Description for better selection
Also added a footer to the table to display the CFTC description
Release Notes
Reduced precision of percentage to 0 decimals to save on screen real estate.
cftcCOTDXYfinancialsGCnasdaqsentimentSPX (S&P 500 Index)S&P 500 (SPX500)statistics

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?


Also on:

Disclaimer