OPEN-SOURCE SCRIPT

COT Index by Niels

Atualizado
The COT index is an indicator for determining trend reversals based on the net positions of commercials from the CFTC COT report.

A time frame of 26 weeks is selected as the basis. If the value is greater than or equal to 75, this is a bullish sign; if it is less than or equal to 25, this is a bearish sign.

You can select the number of weeks to be used for the calculation.

As the CFTC data is only published on Fridays at 21:30, the value of the current week is hidden until the market closes.

In addition, the background changes color when the index reaches an extreme range.

Both functions can be deactivated in the settings.
Notas de Lançamento
Added correction for the copper futures to show the correct value.
Notas de Lançamento
Two functions have been added:

1. A COT proxy function has been added, which calculates COT data using the price range without the CFTC report. This is enabled by default for the DAX future and can be applied to all other futures through the options if needed. The formula was developed by Larry Williams.

2. It is now also possible to view the change of the COT index compared to the previous week. This can also be activated in the options.
Notas de Lançamento
Added "Hide Until New Data" (default enabled):
The COT Index is now only displayed if the data for the current week differs from the previous week. Prevents showing unchanged or outdated data.
Fundamental Analysis

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal