PROTECTED SOURCE SCRIPT
已更新

CoT MK_Speculators Percentile

147
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.
版本注释
The quantile (percentile) calculation is now always performed on a weekly basis, regardless of the chart timeframe.
版本注释
The weekly values are now shifted one week to the left, so each value is displayed on the correct week.
版本注释
Updated Chart
版本注释
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.
版本注释
Color logic for short quantile lines has been adjusted to avoid misinterpretation — high short interest is now marked in red, low in green.”
版本注释
Color settings for quantile levels have been reviewed and refined to ensure consistent interpretation across long, short, and net speculative positions.
版本注释
This update includes minor adjustments to the chart interval and the indicator name.

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。