PROTECTED SOURCE SCRIPT
已更新 COT Matrix by Bullruntrading

COT Index – Commercials vs Specs (with Extremes Zones)
This indicator visualizes the COT Index (Commitment of Traders Index) for three participant groups:
Commercials (Producers / Hedgers)
Large Speculators (Non-Commercials)
Small Speculators (Non-Reportables)
The COT Index is calculated as a percentile value from 0% to 100% over a rolling lookback window (Number of weeks).
It shows where the current net position sits relative to its historical range:
100% = net position is at the top of the lookback range (extreme)
0% = net position is at the bottom of the lookback range (extreme)
How it works
Net positions are calculated from the COT data:
Net = Long positions − Short positions
The indicator converts the net positions into an index:
It finds the lowest and highest net position over the selected lookback period.
It scales the current net position into 0–100%.
Two horizontal thresholds define “extreme zones”:
Upper Threshold (default 80%)
Lower Threshold (default 20%)
Background zones (Extremes)
If enabled, the script highlights:
Above the Upper Threshold → green background
Below the Lower Threshold → red background
You can fully customize the zone colors and transparency.
Labels (Right side)
The indicator can show clean right-side labels for:
Commercials
Large Specs
Small Specs
These labels are positioned slightly to the right (configurable via Label offset) and do not cover the lines.
✅ Important: Labels remain visible even if “Hide the current week” is enabled.
Settings you can customize
Lookback period (Number of weeks)
Upper / lower thresholds
Which groups to display (Commercials / Large / Small)
Line colors
Threshold line colors
Zone colors + zone transparency
Label texts + label offset
Typical interpretation (general guidance)
Values near 80–100% can indicate a high/extreme positioning relative to the lookback range.
Values near 0–20% can indicate a low/extreme positioning.
This does not automatically mean “buy” or “sell” — it simply highlights positioning extremes that many traders use as context alongside price structure, macro, and sentiment.
This indicator visualizes the COT Index (Commitment of Traders Index) for three participant groups:
Commercials (Producers / Hedgers)
Large Speculators (Non-Commercials)
Small Speculators (Non-Reportables)
The COT Index is calculated as a percentile value from 0% to 100% over a rolling lookback window (Number of weeks).
It shows where the current net position sits relative to its historical range:
100% = net position is at the top of the lookback range (extreme)
0% = net position is at the bottom of the lookback range (extreme)
How it works
Net positions are calculated from the COT data:
Net = Long positions − Short positions
The indicator converts the net positions into an index:
It finds the lowest and highest net position over the selected lookback period.
It scales the current net position into 0–100%.
Two horizontal thresholds define “extreme zones”:
Upper Threshold (default 80%)
Lower Threshold (default 20%)
Background zones (Extremes)
If enabled, the script highlights:
Above the Upper Threshold → green background
Below the Lower Threshold → red background
You can fully customize the zone colors and transparency.
Labels (Right side)
The indicator can show clean right-side labels for:
Commercials
Large Specs
Small Specs
These labels are positioned slightly to the right (configurable via Label offset) and do not cover the lines.
✅ Important: Labels remain visible even if “Hide the current week” is enabled.
Settings you can customize
Lookback period (Number of weeks)
Upper / lower thresholds
Which groups to display (Commercials / Large / Small)
Line colors
Threshold line colors
Zone colors + zone transparency
Label texts + label offset
Typical interpretation (general guidance)
Values near 80–100% can indicate a high/extreme positioning relative to the lookback range.
Values near 0–20% can indicate a low/extreme positioning.
This does not automatically mean “buy” or “sell” — it simply highlights positioning extremes that many traders use as context alongside price structure, macro, and sentiment.
發行說明
COT Index – Commercials vs Specs (with Extremes Zones)This indicator visualizes the COT Index (Commitment of Traders Index) for three participant groups:
Commercials (Producers / Hedgers)
Large Speculators (Non-Commercials)
Small Speculators (Non-Reportables)
The COT Index is calculated as a percentile value from 0% to 100% over a rolling lookback window (Number of weeks).
It shows where the current net position sits relative to its historical range:
100% = net position is at the top of the lookback range (extreme)
0% = net position is at the bottom of the lookback range (extreme)
How it works
Net positions are calculated from the COT data:
Net = Long positions − Short positions
The indicator converts the net positions into an index:
It finds the lowest and highest net position over the selected lookback period.
It scales the current net position into 0–100%.
Two horizontal thresholds define “extreme zones”:
Upper Threshold (default 80%)
Lower Threshold (default 20%)
Background zones (Extremes)
If enabled, the script highlights:
Above the Upper Threshold → green background
Below the Lower Threshold → red background
You can fully customize the zone colors and transparency.
Labels (Right side)
The indicator can show clean right-side labels for:
Commercials
Large Specs
Small Specs
These labels are positioned slightly to the right (configurable via Label offset) and do not cover the lines.
✅ Important: Labels remain visible even if “Hide the current week” is enabled.
Settings you can customize
Lookback period (Number of weeks)
Upper / lower thresholds
Which groups to display (Commercials / Large / Small)
Line colors
Threshold line colors
Zone colors + zone transparency
Label texts + label offset
Typical interpretation (general guidance)
Values near 80–100% can indicate a high/extreme positioning relative to the lookback range.
Values near 0–20% can indicate a low/extreme positioning.
This does not automatically mean “buy” or “sell” — it simply highlights positioning extremes that many traders use as context alongside price structure, macro, and sentiment.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。