OPEN-SOURCE SCRIPT
COT: Noncommercial Net (Futures)

The CFTC publishes Commitment of Traders data every Friday. Inside that report, the "Noncommercial" category — large speculators, managed money, trend-followers — is the one most traders actually want to watch. This script strips everything else away and shows their net stance: Long minus Short, futures contracts only.
Positive values mean large speculators are net long. Negative means net short. A move across zero often marks a meaningful shift in positioning, not just noise.
How it works
The indicator auto-detects the correct CFTC code from the chart's symbol using TradingView's official LibraryCOT, so you don't need to configure anything. Open it on BTC futures, gold, crude oil, the yen — it resolves the code and pulls the right data automatically.
A teal/red histogram shows whether net positioning is positive or negative. A step-line sits on top for precise bar-by-bar reading. Zero is marked with a dashed reference line.
What it doesn't do
It doesn't tell you when to buy or sell. COT data is released weekly and lags several days behind the reporting cutoff — it's positioning context, not a signal. Use it alongside price action and other tools to understand who is leaning which way, not as a standalone trigger.
Notes
Futures only (not futures + options combined)
Noncommercial Long − Noncommercial Short = Net
Data source: CFTC Legacy report via TradingView's LibraryCOT v6
Works on any symbol that has a CFTC code in TradingView's database
Not financial advice. Position sizing and risk management are your responsibility.
Positive values mean large speculators are net long. Negative means net short. A move across zero often marks a meaningful shift in positioning, not just noise.
How it works
The indicator auto-detects the correct CFTC code from the chart's symbol using TradingView's official LibraryCOT, so you don't need to configure anything. Open it on BTC futures, gold, crude oil, the yen — it resolves the code and pulls the right data automatically.
A teal/red histogram shows whether net positioning is positive or negative. A step-line sits on top for precise bar-by-bar reading. Zero is marked with a dashed reference line.
What it doesn't do
It doesn't tell you when to buy or sell. COT data is released weekly and lags several days behind the reporting cutoff — it's positioning context, not a signal. Use it alongside price action and other tools to understand who is leaning which way, not as a standalone trigger.
Notes
Futures only (not futures + options combined)
Noncommercial Long − Noncommercial Short = Net
Data source: CFTC Legacy report via TradingView's LibraryCOT v6
Works on any symbol that has a CFTC code in TradingView's database
Not financial advice. Position sizing and risk management are your responsibility.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
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.