OPEN-SOURCE SCRIPT
Atualizado

COT CFTC

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.
Notas de Lançamento
"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."
Notas de Lançamento
fixed a future contract bug
Notas de Lançamento
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
Notas de Lançamento
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
Notas de Lançamento
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.
Notas de Lançamento
fixed TradingWeek counter.
Notas de Lançamento

  • Version Update: 5 to 6
  • Separate addition of Short and Long positions.
  • The percentage change of Short and Long positions can be displayed separately over a selected period.
  • Bollinger Bands have been added to the Commercials' Net Positions.

snapshot
You can simply deactivate anything you don't need. I hope you enjoy the add-ons.
Notas de Lançamento
added colors
Notas de Lançamento
Colors and lengths have been organized.
The script has been cleaned up, and a bug in the Lumber Future has been fixed.
Long/Short positions can now be analyzed over a desired period length (default is 6 weeks) along with a gray net line that represents the percentage change of long/short positions over the chosen period. Additionally, the script provides the highest high and lowest low of the net percentage value within the selected timeframe.
Unfortunately, the index is currently inaccurate for the following futures because TradingView did not fully update the data earlier this year. Two weeks of data are missing, which prevents the index from calculating the correct value.
This issue affects the following symbols: ZR, KE, ZS, ZL, ZC, ZW, LBR, DC, CT, LE, and NG.

Aviso legal