PROTECTED SOURCE SCRIPT
Aggiornato CoT MK_Speculators Percentile

CoT MK Speculators Percentile
This indicator visualizes the weekly positioning of Non-Commercial traders (Speculators) from the CFTC’s Legacy CoT report, plotting their Long, Short, and Net positions alongside user-defined percentile bands.
• Data Source: Weekly Non-Commercial Long and Short positions via the TradingView CoT Library.
• Percentile Bands: Calculates the chosen upper and lower percentiles (default 80% and 20%) of each series over a configurable lookback period (default 208 weeks).
• Negative Shorts: Optionally inverts Short values so that larger Short exposure appears deeper below zero, improving symmetry with Long data.
• Usage:
• Speculators Long/Short/Net: Show raw or inverted position curves.
• Upper Percentile (red): Marks extreme Speculator exposure (bearish contrarian zone).
• Lower Percentile (green): Identifies low Speculator engagement (bullish contrarian zone).
Traders use these percentile bands as contrarian signals: extreme Speculator positioning often precedes market reversals.
This indicator visualizes the weekly positioning of Non-Commercial traders (Speculators) from the CFTC’s Legacy CoT report, plotting their Long, Short, and Net positions alongside user-defined percentile bands.
• Data Source: Weekly Non-Commercial Long and Short positions via the TradingView CoT Library.
• Percentile Bands: Calculates the chosen upper and lower percentiles (default 80% and 20%) of each series over a configurable lookback period (default 208 weeks).
• Negative Shorts: Optionally inverts Short values so that larger Short exposure appears deeper below zero, improving symmetry with Long data.
• Usage:
• Speculators Long/Short/Net: Show raw or inverted position curves.
• Upper Percentile (red): Marks extreme Speculator exposure (bearish contrarian zone).
• Lower Percentile (green): Identifies low Speculator engagement (bullish contrarian zone).
Traders use these percentile bands as contrarian signals: extreme Speculator positioning often precedes market reversals.
Note di rilascio
The quantile (percentile) calculation is now always performed on a weekly basis, regardless of the chart timeframe.Note di rilascio
The weekly values are now shifted one week to the left, so each value is displayed on the correct week.Note di rilascio
Updated ChartNote di rilascio
The script now uses daily CoT data for speculators, so the most recent values are displayed as soon as they are published by TradingView. Quantile lines remain based on weekly data.Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.