OPEN-SOURCE SCRIPT
Mis à jour

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.
Notes de version
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.
Notes de version
This indicator is designed to work with CME futures, such as 6E1! for EUR.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.