OPEN-SOURCE SCRIPT

COT CFTC

Mis à jour
Title: Enhanced COT CFTC Analysis Tool

Description:

Introducing the 'Enhanced COT CFTC Analysis Tool', meticulously designed to dissect the CFTC's Commitments of Traders (COT) data. This sophisticated tool aims to equip traders and investors with profound insights into market dynamics, utilizing the positions of Large Speculators, Commercials, and Non-Reportable Positions for a comprehensive market overview.

Key Features:

Large Speculators Analysis: Visualizes the net positions of large speculators, offering insights into speculative market sentiments.
Commercials Insights: Provides a deep dive into the trading activities of commercials, known for their strategic hedging practices.
Non-Reportable Positions Tracking: Displays the activities of smaller speculators, often considered as contrarian indicators.
Additional Plots:
Options Share: Allows selection between the proportion of options in the market.
Net, Short, and Long Positions: Offers options to view net, short, and long positions.
Percentage of Net Short and Long Positions: Displays the percentage of net short and long positions, either as raw data or as an index over a specified time period.
Extreme Value Indicators: Highlights extreme values in the market data, providing critical insights into market peaks and troughs.
This tool features an intuitive display with color-coded lines and charts, simplifying the complex data analysis process. It also includes an innovative 5% detector, highlighting extreme market positions for enhanced market understanding.
Spread Analysis: This feature provides an insightful visualization of the spread between various COT data points, enabling users to gauge the market’s depth and liquidity effectively.

Usage Tips:

Utilize divergence analysis between different groups to identify potential trend reversals.
Keep a close eye on the 5% detector for early indications of market overextensions.
The 'Enhanced COT CFTC Analysis Tool' is a vital addition to your trading arsenal, designed to enrich your trading strategy with precise and actionable market insights. It’s not just an indicator; it’s a comprehensive market analysis suite.

Disclaimer: This indicator is for educational purposes only. Trading decisions should always be approached with caution and based on thorough personal analysis.
Notes de version
"Changed the COT Data Import from Quandl to Tradingview Library due to Data Update Problems.

Added a correlation function to indicate when the price correlates with the COT data, including a background color display."
Notes de version
fixed a future contract bug
Notes de version
Added: 0 lines
Deleted: Correlation between price and COT data
Improved: The COT Index can now be displayed accurately in the daily chart without calculation distortion.
Bugfix: Corrected the Small Speculator Index. It was set to Index 2 instead of Index 1.
Index length 1 is set to 26 weeks by default
Index 2 has a default value of 6 weeks
Notes de version
1. **Add Short % and Short - Long in the Display dropdown**: This functionality should be added to allow you to see the percentage of short positions and the difference between short and long positions directly in the indicator's "display" dropdown menu.

2. **Enable early access to COT data**: The issue where COT data could only be accessed on Monday (even though it was released on Friday or Saturday) has been resolved. Now, COT data from Tuesday can be incorporated into the chart immediately after the CFTC releases the data, without waiting for the Monday candle.

snapshot
Notes de version
added TradingDayofYear and Year Week

The Tradingdayofyear by Larry Williams refers to the count of trading days that have elapsed since the beginning of the year, with each trading day being counted sequentially throughout the calendar year.
Notes de version
fixed TradingWeek counter.
Commitment of Traders (COT)

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité