OPEN-SOURCE SCRIPT
COT Trend [XWiseTrade]

Visualize institutional bias using Commitment of Traders (COT) data.
This indicator compares non-commercial net positions of the current symbol against the USD Index to automatically determine market bias:
• Green background = Speculators more long than USD → Bullish
• Red background = Speculators more short than USD → Bearish
Supported symbols: Major FX pairs, Gold, Silver, Oil, SPX, NDX.
Features:
• Weekly COT data via official LibraryCOT
• Clear background coloring
• Persistent bias label
• Works on any timeframe
Perfect for trend filtering and understanding "smart money" positioning.
More premium indicators and strategies coming soon at:
xwisetrade.com
Be Wise. Trade X.
Dec 22, 2025
Release Notes
Visualize institutional bias using Commitment of Traders (COT) data.
This indicator compares non-commercial net positions of the current symbol against the USD Index to automatically determine market bias:
• Green background = Speculators more long than USD → Bullish
• Red background = Speculators more short than USD → Bearish
Supported symbols: Major FX pairs, Gold, Silver, Oil, SPX, NDX.
Features:
• Weekly COT data via official LibraryCOT
• Clear background coloring
• Persistent bias label
• Works on any timeframe
Perfect for trend filtering and understanding "smart money" positioning.
This indicator compares non-commercial net positions of the current symbol against the USD Index to automatically determine market bias:
• Green background = Speculators more long than USD → Bullish
• Red background = Speculators more short than USD → Bearish
Supported symbols: Major FX pairs, Gold, Silver, Oil, SPX, NDX.
Features:
• Weekly COT data via official LibraryCOT
• Clear background coloring
• Persistent bias label
• Works on any timeframe
Perfect for trend filtering and understanding "smart money" positioning.
More premium indicators and strategies coming soon at:
xwisetrade.com
Be Wise. Trade X.
Dec 22, 2025
Release Notes
Visualize institutional bias using Commitment of Traders (COT) data.
This indicator compares non-commercial net positions of the current symbol against the USD Index to automatically determine market bias:
• Green background = Speculators more long than USD → Bullish
• Red background = Speculators more short than USD → Bearish
Supported symbols: Major FX pairs, Gold, Silver, Oil, SPX, NDX.
Features:
• Weekly COT data via official LibraryCOT
• Clear background coloring
• Persistent bias label
• Works on any timeframe
Perfect for trend filtering and understanding "smart money" positioning.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Free tools & education → xwisetrade.com | Community → discord.gg/BUVfRjey2u
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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Free tools & education → xwisetrade.com | Community → discord.gg/BUVfRjey2u
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.