PROTECTED SOURCE SCRIPT
COT - Extreme Zones (Auto + FX/Metals/Crypto Dropdown)

This indicator turns COT positioning into an easy-to-read oscillator that helps you track when market participants may be reaching positioning extremes.
It pulls Commercial Long/Short and Non-Commercial Long/Short from COT reports, computes their net positions, and builds a divergence series (Commercial Net – Non-Commercial Net). That divergence is then normalized into a 0–100 index using a rolling Min/Max window (52/156/260 weeks are common choices).
Why it’s useful
COT extremes can highlight when positioning becomes one-sided. This tool helps you spot those moments quickly via clear, color-coded extreme zones—ideal for timing watchlists, mean-reversion setups, or adding context to trend trades.
Modes
Auto (chart): maps the correct COT/CFTC code automatically from the current chart symbol
Dropdown selection: choose major FX currencies and (where available) Gold (XAU), Silver (XAG), and Bitcoin (BTC)
Extras
Adjustable extreme thresholds (default 80/20)
Optional raw divergence in the data window
Optional on-chart label showing the selected CFTC mapping
It pulls Commercial Long/Short and Non-Commercial Long/Short from COT reports, computes their net positions, and builds a divergence series (Commercial Net – Non-Commercial Net). That divergence is then normalized into a 0–100 index using a rolling Min/Max window (52/156/260 weeks are common choices).
Why it’s useful
COT extremes can highlight when positioning becomes one-sided. This tool helps you spot those moments quickly via clear, color-coded extreme zones—ideal for timing watchlists, mean-reversion setups, or adding context to trend trades.
Modes
Auto (chart): maps the correct COT/CFTC code automatically from the current chart symbol
Dropdown selection: choose major FX currencies and (where available) Gold (XAU), Silver (XAG), and Bitcoin (BTC)
Extras
Adjustable extreme thresholds (default 80/20)
Optional raw divergence in the data window
Optional on-chart label showing the selected CFTC mapping
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้ถูกเผยแพร่เป็นแบบ closed-source อย่างไรก็ตาม คุณสามารถใช้ได้อย่างอิสระและไม่มีข้อจำกัดใดๆ – เรียนรู้เพิ่มเติมได้ที่นี่
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้ถูกเผยแพร่เป็นแบบ closed-source อย่างไรก็ตาม คุณสามารถใช้ได้อย่างอิสระและไม่มีข้อจำกัดใดๆ – เรียนรู้เพิ่มเติมได้ที่นี่
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน