OPEN-SOURCE SCRIPT

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.
版本注释
"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."
版本注释
fixed a future contract bug
版本注释
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
版本注释
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.

快照
版本注释
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.
版本注释
fixed TradingWeek counter.
Commitment of Traders (COT)

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明