OPEN-SOURCE SCRIPT
Atualizado

COT Comm Osci

424
Description
The COT Comm Osci is a sentiment oscillator based on net positions from the weekly Commitments of Traders (COT) report.
It transforms net positions of Commercials, Noncommercials, or Nonreportables into a 0–100 index.
  • A value of 100 = highest net position within the selected timeframe.
  • A value of 0 = lowest net position.

You can define three historical intervals (e.g. 26/ 52 / 156 weeks).

Tip
To improve your analysis, it's recommended to add a separate COT indicator that visualizes raw Long/Short or net positions directly. This helps interpret the oscillator in context.

This script is based on “Commercial Index–Buschi” by MagicEins and has been extended with new features and error handling.

Features
  • Select between Commercial, Noncommercial, or Nonreportable trader groups
  • Proper handling of HG Futures (Copper)
  • Displays a warning if the root code is invalid (unsupported market symbol)

Notas de Lançamento
Field description changed for better understanding.

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.