TradingView
MagicEins
11 Des 2019 pukul 14.46

CoT Absolute Percent-Buschi 

Coffee C FuturesICEUS

Deskripsi


English

I'm often asked to provide an alternate view on the CoT data. For example, the indicator "Commercial index" is an oscillator from 0 to 100, but oftentimes it can be helpful to look at the absolute position. So, here the absolute position of certain parts of the CoT report are given, alongside with the percentage of a given time frame to put them in place.

The inputs are:
CoT Part Number ('1' for Commercials Short, '2' for Commercials Long, '3' for Commercials Netto, '4' for Large Speculators Short, '5' for Large Speculators Long, '6' for Large Speculators Netto, '7' for Small Speculators Short, '8' for Small Speculators Long, '9' for Small Speculators Netto, '10' for Open Interest)
Review Period (in years, just used for the percentage)
Percent Line 1, 2, 3, 4 (just to provide some lines which can be altered as required)

DISCLAIMER: I'm aware of Pine Script's ability to provide options as inputs (which would be much nicer for the CoT Parts). Alas, it is only available since version 3, and I noticed that for some reason the CoT data is not correctly adjusted to last Tuesday when using higher versions than 1. If someone knows a solution, please contact me.


Deutsch

Ich werde oft gefragt, eine alternative Sicht auf die CoT-Daten zu geben. Der Indikator "Commercial Index" zum Beispiel schwankt als Oszillator zwischen 0 und 100, aber oft kann der Blick auf die absolute Positionierung hilfreich sein. Also werden hier die Absolutpositionen verschiedene CoT-Bestandteile wiedergegeben, zusammen mit einer prozentualen Einteilung über eine vorgegebene Zeitspanne, um sie einordnen zu können.

The Eingaben lauten:
CoT Part Number ('1' Commercials Short, '2' Commercials Long, '3' Commercials Netto, '4' Large Speculators Short, '5' Large Speculators Long, '6' Large Speculators Netto, '7' Snall Speculators Short, '8' Small Speculators Long, '9' Small Speculators Netto, '10' Open Interest)
Review Period (Zeitintervall in Jahren, um die Prozentlinien zeichnen zu können)
Percent Line 1, 2, 3, 4 (um die Prozentlinien zur Verfügung zu stellen, die dann beliebig geändert werden können)

DISCLAIMER: Ich weiß über die Möglichkeit Bescheid, ab Pine Script Version 3 Optionen als Eingaben benutzen zu können (was deutlich angenehmer für die CoT-Bestandteile wäre). Leider habe ich gemerkt, dass die CoT-Daten bei Versionen über 1 leider nicht korrekt auf letzten Dienstag adjustiert werden, keine Ahnung warum. Falls jemand eine Lösung kennt, bitte kontaktieren.

Catatan Rilis

English
Due to changes how TradingView handles the CoT data, I had to change the script. It should display the newest data now.

Deutsch
Aufgrund von Änderungen wie TradingView mit den CoT-Daten umgeht, musste ich das Skript ändern. Es sollte jetzt die aktuellen Daten anzeigen.
Komentar
LordVader1
Hey, the indicator also shows sentiment information for stocks. According to my information, the Commodity Futures Trading Commission only publishes reports for futures. Does anyone know which database is used for the indicator display for stocks?
pfeifervl2ib
Großes Lob für Deine Scripts !
Ich suche einen COT-Index Basis Comm. Netto - so wie ihn Insider Week verwendet.
aktuelle Position in Beziehung zu den Positionen des letzten halben Jahres

Formel: ( Wert aktuelle Woche -Tiefstes Tief letzte 6 Monate ) ./. (Höchstes Hoch letzte 6 Monate - Tiefstes Tief letzte 6 Mionate) x 100 %

Könntest Du bitte so etwas programmieren? Bezahlung wär Ok
l-stolarek
@pfeifervl2ib, Hi, ist das das was du suchst:
"COT Index by Niels"
jgaldon
DISCLAIMER: I'm aware of Pine Script's ability to provide options as inputs (which would be much nicer for the CoT Parts). Alas, it is only available since version 3, and I noticed that for some reason the CoT data is not correctly adjusted to last Tuesday when using higher versions than 1. If someone knows a solution, please contact me.
jgaldon
jgaldon
@jgaldon, there you go. I don't know how, but pretty sure you can figure it out. That one works, so since you understand pine coding, yeah, the solution should be there!
seraphrndz
Hello, is there any way you could add a feature that would allow you to show 3-4 part numbers at one time ? For instance the first 3 and 10 to better visualize the commercials vs total open interest with transitions in colors when commercials net extreme min/max values are plus 5 ...and when commercials net is more than OI... Thanks, great work!
seraphrndz
Commercials Netto I see this is Net, but what does the Net(to) stand for? Also Which indicator plots Commercials net open interest vs total open interest .. in view of comparing open interest of commercials vs the open interest of the market as a whole ? Thanks
Hismadness
Vielen Dank für deine Arbeit. Ist es technisch möglich, den Indikator so einzustellen, dass die Prozentlinien bei Anpassungen durch neue COT Daten innerhalb des eingestellten Beobachtungszeitraums nicht treppenförmig verlaufen, sondern dass der aktuelle Wert immer als gerade Linie nach hinten in die Historie des eingestellten Beobachtungszeitraums gezogen wird? Praktisch eine Horizontale, die einfach nur in ihrer Höhe angepasst wird, wenn sich an den Hoch - und Tiefpunkten des Beobachtungszeitraums, die zur Berechnung der Prozentlinien verwendet werden, etwas ändert. Könntest du das Tool derart umschreiben?
Lebih lanjut