PROTECTED SOURCE SCRIPT
Updated CoT MK Commercials

CoT MK Commercials is a weekly tool that visualizes how Commercial hedgers are positioned in the futures market by plotting their Long, Short (inverted if desired), and Net exposures alongside upper and lower percentile bands. It fetches Commercial Long and Short data from the CFTC Legacy CoT report, computes the chosen upper and lower percentiles (default 75 % and 25 %) of each series over a user-defined lookback period (default 208 weeks), and overlays these bands to highlight extreme sentiment. Green bands mark bullish extremes (e.g. many longs or few shorts), while red bands mark bearish extremes (e.g. many shorts or few longs). You can toggle Long, Short, and Net series on or off, choose to display shorts as negative values for symmetry, and adjust the lookback and percentile levels to suit your analysis. Traders use CoT MK Commercials to track smart-money positioning and to identify potential turning points when Commercials reach unusually high or low exposure.
Release Notes
The weekly values are now shifted one week to the left, so each value is displayed on the week it actually belongs to.Release Notes
The script now uses daily CoT data instead of weekly data. This means the most recent CoT values are displayed as soon as they are published by TradingView, both on the daily and weekly chart. The values are now always up to date and consistent across all timeframes.Release Notes
Chart UpdateProtected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.