PROTECTED SOURCE SCRIPT
Aggiornato

Cot Delta

104
COT Delta by Jacopo

Designed to visualize and analyze data related to the Commitment of Traders (COT) report, which is published by the Commodity Futures Trading Commission (CFTC) in the United States. Its primary purpose is to display the long and short positions of traders on futures contracts, divided by categories like Commercial, Noncommercial, and Nonreportable.

Main Features:
Selection Mode: The user can choose from several modes to display COT data, such as "Auto", "Root", "Base currency", or "Currency". This determines which currency will be shown on the chart.

Contract Type: It is possible to select whether to display data for Futures, Options, or both (Futures + Options).

COT Category: The user can choose one of the trader categories like Commercial Positions, Noncommercial Positions, or Nonreportable Positions to analyze positions based on the type of market participant.

Data Visualization: The chart shows long, short, and net positions (long - short) with separate lines, using different colors for each type of position:

Long positions in green.

Short positions in red.

Net difference (long - short) in white.

Data Table: A table is displayed to present the data clearly, with the following columns:

Long: Long positions.

Short: Short positions.

Total: The net sum of positions (long - short).

Changes: The difference between current and previous data (delta) in both absolute and percentage terms.

Variation Visualization: The table also shows the variations from the previous period (both in absolute and percentage terms), with conditional background colors to highlight positive or negative changes.

Optional CFTC Code: The user can input a custom CFTC code to analyze specific data, if necessary.

In Summary:
This indicator provides a clear and precise visualization of trader positions (long and short) on futures and options contracts, making it easier to analyze market dynamics related to commercial and non-commercial traders. The combination of a chart and table allows for real-time tracking of position changes.
Note di rilascio
Updated with delta %
Note di rilascio
Updated script:
- last line percentages calculation method. Now percentages are calculated considering the previous cot release versus the current cot release.
- Corrected some errors in calculation

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.