PROTECTED SOURCE SCRIPT

COT Report ( Indicator Version )

29
COT REPORT (Commitment of Traders)

Overview This indicator provides a clean and highly functional visualization of the CFTC's "Commitment of Traders" (COT) Legacy reports. It allows traders to track the absolute and net positions of the three main market participants: Commercials (Hedgers), Non-Commercials (Large Speculators), and Non-reportable (Small Speculators).

Originality & Utility While standard COT indicators often only show net positions, this script offers:

Multi-Dimensional View: It fetches and allows the display of individual Long and Short positions, not just the net result, providing a deeper look at market liquidity and conviction.

Negative Value Toggle: A built-in feature to show Short positions as negative numbers on the Y-axis. This is critical for visual symmetry when comparing Long vs. Short accumulation.

Efficiency: Built using Pine V5 and the TradingView LibraryCOT, ensuring the most accurate and up-to-date data fetching from CFTC sources.

Indicator vs. Strategy Version Please note that THIS IS THE INDICATOR VERSION designed for visual analysis and chart integration. For users looking to verify historical performance and signal accuracy, a SEPARATE BACKTESTING VERSION is available in my script panel.

Collaboration & Feedback I am constantly looking to optimize my scripts. If you have suggestions for improvements or feature requests, feel free to reach out. If you find this tool useful, please show your support by HITTING THE BOOST BUTTON—your collaboration helps keep these projects active.

How it Works

Data Fetching: The script uses the Legacy report format, focusing on "Futures Only" to maintain consistency across historical data.

Participant Groups:

Commercials (Blue): Typically the "Smart Money" or hedgers.

Non-Commercials (Red): Large speculators and hedge funds.

Retail/Small Specs (Green): Non-reportable small-scale traders.

Visualization: By default, the script shows Net Positions for clarity, but users can enable individual Long/Short lines in the "Style" settings for granular analysis.

How to Use It

Trend Confirmation: When Commercials (Blue) and Non-Commercials (Red) diverge significantly, it often signals a strong trend or a potential major reversal.

Extreme Divergence: Look for moments where net positions reach historical multi-year peaks or valleys to identify market exhaustion.

Short Analysis: Use the "Show Shorts as negative numbers" toggle to see the true "weight" of the short side of the market relative to the zero line.

RISK DISCLOSURE Trading futures and financial instruments involves substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones’ financial security or life style. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results.

The COT data provided is delayed by nature (usually released on Fridays with data from the previous Tuesday). This script is for educational and informational purposes only and does not constitute financial advice.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.