PROTECTED SOURCE SCRIPT
Cập nhật

COT Matrix by Bullruntrading

63
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.
Phát hành các Ghi chú
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.

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.