OPEN-SOURCE SCRIPT
Institutional Positioning (COT S&P 500 Asset Managers)

中文說明
機構部位擁擠度指標(COT S&P 500 Asset Manager Positioning)
本指標追蹤美國股指期貨市場中「資產管理公司/機構法人」類別的淨部位相對歷史水位,用以觀察機構投資人多空部位是否已經過度擁擠,是一個逆勢型的市場情緒觀察工具。
計算方式
資料來源為 CFTC(美國商品期貨交易委員會)每週五公布的 Traders in Financial Futures(TFF)報告,取 E-mini S&P 500 期貨(CFTC Code #13874A)中「Asset Manager/Institutional」類別的多單減空單,得到淨部位。再用 ta.percentrank() 將淨部位轉換成過去約3年(780個交易日)區間內的百分位排名(0-100),用以判斷目前部位相對於自身歷史的擁擠程度。
如何使用
紅色區域(百分位 80-95以上):機構多單部位處於近3年相對高檔,代表多頭部位已經擁擠。這是逆勢訊號,不是趨勢確認——意味著追高風險上升、獲利了結壓力可能浮現,不代表市場馬上要跌。
綠色區域(百分位 5-20以下):機構空單部位處於近3年相對高檔(或多單部位處於低檔),代表空頭情緒或減碼行為已經擁擠。同樣是逆勢訊號,提醒悲觀情緒可能已經到達極端,存在反彈的統計傾向,不代表市場立刻反轉向上。
中線(50)代表目前部位落在過去3年的中位數,無明顯偏多或偏空的擁擠現象。
注意事項
資產管理公司(退休基金、資產管理業者)本質上以長期資產配置為主要目的,部位天生偏向長期持有多單,這代表本指標的中樞長期會偏向50以上,這是市場結構特性,不是指標偏誤。
資料為週更新,雖然本指標可以掛在任何K線週期上使用,但反映的訊號本質是總經/中長期部位變化,不適合作為短線精確進出場依據,建議搭配保證金負債、淨流動性、信用壓力等指標一起觀察,綜合判斷市場所處的槓桿-流動性-信用-部位週期階段。
若發現此分類訊號長期缺乏區分度,可考慮改用波動性更高的 Leveraged Funds(避險基金)分類作為替代或補充。
本指標僅供教育與研究參考,不構成投資建議。
English Description
Institutional Positioning Crowding Indicator (COT S&P 500 Asset Manager Positioning)
This indicator tracks the net positioning of the "Asset Manager/Institutional" category in U.S. equity index futures relative to its own historical range, used to assess whether institutional investors' long or short positioning has become overcrowded. It is a contrarian market-sentiment tool, not a trend-confirmation one.
Methodology
Data comes from the CFTC's weekly Traders in Financial Futures (TFF) report, using the E-mini S&P 500 futures (CFTC Code #13874A). Net position is calculated as Asset Manager/Institutional long positions minus short positions. This net position is then converted using ta.percentrank() into a percentile ranking (0–100) relative to roughly the past 3 years (780 trading days), showing how crowded the current positioning is relative to its own history.
How to use it
Red zone (percentile 80–95+): Institutional long positioning is near a 3-year relative high — longs are crowded. This is a contrarian signal, not trend confirmation: it flags rising risk of profit-taking or a pullback, not an imminent decline.
Green zone (percentile 5–20 or below): Short positioning (or reduced long exposure) is near a 3-year relative extreme — pessimism is crowded. Also contrarian: it suggests bearish sentiment may be near an extreme, with a statistical tendency toward a bounce, not a guaranteed reversal.
Midline (50) indicates positioning sits near its 3-year median, with no notable crowding in either direction.
Notes
Asset managers (pension funds, institutional money managers) are structurally oriented toward long-term allocation and tend to run persistent long exposure. This means the indicator's center of gravity will naturally skew above 50 over time — this reflects genuine market structure, not a flaw in the indicator.
Although the underlying data updates weekly and this indicator can technically be applied to any chart timeframe, the signal itself reflects medium- to long-term institutional positioning shifts. It is not suited for precise short-term trade timing and works best alongside margin debt, net liquidity, and credit stress indicators to build a fuller picture of the leverage-liquidity-credit-positioning cycle.
If this category's signal proves insufficiently differentiated over time, consider substituting or supplementing it with the more volatile Leveraged Funds (hedge fund) category.
For educational and research purposes only; not investment advice.
機構部位擁擠度指標(COT S&P 500 Asset Manager Positioning)
本指標追蹤美國股指期貨市場中「資產管理公司/機構法人」類別的淨部位相對歷史水位,用以觀察機構投資人多空部位是否已經過度擁擠,是一個逆勢型的市場情緒觀察工具。
計算方式
資料來源為 CFTC(美國商品期貨交易委員會)每週五公布的 Traders in Financial Futures(TFF)報告,取 E-mini S&P 500 期貨(CFTC Code #13874A)中「Asset Manager/Institutional」類別的多單減空單,得到淨部位。再用 ta.percentrank() 將淨部位轉換成過去約3年(780個交易日)區間內的百分位排名(0-100),用以判斷目前部位相對於自身歷史的擁擠程度。
如何使用
紅色區域(百分位 80-95以上):機構多單部位處於近3年相對高檔,代表多頭部位已經擁擠。這是逆勢訊號,不是趨勢確認——意味著追高風險上升、獲利了結壓力可能浮現,不代表市場馬上要跌。
綠色區域(百分位 5-20以下):機構空單部位處於近3年相對高檔(或多單部位處於低檔),代表空頭情緒或減碼行為已經擁擠。同樣是逆勢訊號,提醒悲觀情緒可能已經到達極端,存在反彈的統計傾向,不代表市場立刻反轉向上。
中線(50)代表目前部位落在過去3年的中位數,無明顯偏多或偏空的擁擠現象。
注意事項
資產管理公司(退休基金、資產管理業者)本質上以長期資產配置為主要目的,部位天生偏向長期持有多單,這代表本指標的中樞長期會偏向50以上,這是市場結構特性,不是指標偏誤。
資料為週更新,雖然本指標可以掛在任何K線週期上使用,但反映的訊號本質是總經/中長期部位變化,不適合作為短線精確進出場依據,建議搭配保證金負債、淨流動性、信用壓力等指標一起觀察,綜合判斷市場所處的槓桿-流動性-信用-部位週期階段。
若發現此分類訊號長期缺乏區分度,可考慮改用波動性更高的 Leveraged Funds(避險基金)分類作為替代或補充。
本指標僅供教育與研究參考,不構成投資建議。
English Description
Institutional Positioning Crowding Indicator (COT S&P 500 Asset Manager Positioning)
This indicator tracks the net positioning of the "Asset Manager/Institutional" category in U.S. equity index futures relative to its own historical range, used to assess whether institutional investors' long or short positioning has become overcrowded. It is a contrarian market-sentiment tool, not a trend-confirmation one.
Methodology
Data comes from the CFTC's weekly Traders in Financial Futures (TFF) report, using the E-mini S&P 500 futures (CFTC Code #13874A). Net position is calculated as Asset Manager/Institutional long positions minus short positions. This net position is then converted using ta.percentrank() into a percentile ranking (0–100) relative to roughly the past 3 years (780 trading days), showing how crowded the current positioning is relative to its own history.
How to use it
Red zone (percentile 80–95+): Institutional long positioning is near a 3-year relative high — longs are crowded. This is a contrarian signal, not trend confirmation: it flags rising risk of profit-taking or a pullback, not an imminent decline.
Green zone (percentile 5–20 or below): Short positioning (or reduced long exposure) is near a 3-year relative extreme — pessimism is crowded. Also contrarian: it suggests bearish sentiment may be near an extreme, with a statistical tendency toward a bounce, not a guaranteed reversal.
Midline (50) indicates positioning sits near its 3-year median, with no notable crowding in either direction.
Notes
Asset managers (pension funds, institutional money managers) are structurally oriented toward long-term allocation and tend to run persistent long exposure. This means the indicator's center of gravity will naturally skew above 50 over time — this reflects genuine market structure, not a flaw in the indicator.
Although the underlying data updates weekly and this indicator can technically be applied to any chart timeframe, the signal itself reflects medium- to long-term institutional positioning shifts. It is not suited for precise short-term trade timing and works best alongside margin debt, net liquidity, and credit stress indicators to build a fuller picture of the leverage-liquidity-credit-positioning cycle.
If this category's signal proves insufficiently differentiated over time, consider substituting or supplementing it with the more volatile Leveraged Funds (hedge fund) category.
For educational and research purposes only; not investment advice.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.