OPEN-SOURCE SCRIPT
מעודכן

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.
הערות שחרור
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.
הערות שחרור
This indicator is designed to work with CME futures, such as 6E1! for EUR.

כתב ויתור

המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.