OPEN-SOURCE SCRIPT
Atualizado

COT Non-Commercial Net Positions

1 529
This indicator displays the net position of Non-Commercial traders (speculators) in futures markets by subtracting short positions from long positions, based on CFTC COT data. It fetches the relevant COT long and short values weekly (or as per the user-selected timeframe) and plots the net positions relative to zero.
Notas de Lançamento
I added lookahead=barmerge.lookahead_on to the request.security calls.
This allows the script to display the most recent COT data immediately, instead of waiting for the weekly bar to close.
Notas de Lançamento
This indicator is designed to work with CME futures, such as 6E1! for EUR.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.