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提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。