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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Free tools & education → xwisetrade.com | Community → discord.gg/BUVfRjey2u
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Free tools & education → xwisetrade.com | Community → discord.gg/BUVfRjey2u
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.