OPEN-SOURCE SCRIPT
Interest Rate Expectations

This indicator shows how much rate cuts or hikes are currently priced into SOFR futures. You choose two SOFR contracts and the script converts each contract price into basis points relative to the current effective fed funds rate. This gives you a very clear view of how policy expectations shift over time.
You can switch between using a fixed EFFR value or pulling the live EFFR ticker. Colours for each line and label are fully adjustable. The script also includes an optional grid for the plus or minus 25, 50 and 75 basis point levels so the chart does not zoom out too far.
Labels appear at the end of both lines and display how many basis points of cuts or hikes are priced for each contract. A small reference box is added on the chart to remind you what each quarterly code represents. For example H is March and Z is December.
The background shading highlights changes in the timing of cuts. Green shading means the market is pushing cuts further out in time. Red shading means cuts are being pulled closer. This gives a simple and visual way to track how the curve reprices near term versus long term policy expectations.
This tool is useful for anyone tracking fed path repricing, front end volatility, macro catalysts or cross asset rate sensitivity.
You can switch between using a fixed EFFR value or pulling the live EFFR ticker. Colours for each line and label are fully adjustable. The script also includes an optional grid for the plus or minus 25, 50 and 75 basis point levels so the chart does not zoom out too far.
Labels appear at the end of both lines and display how many basis points of cuts or hikes are priced for each contract. A small reference box is added on the chart to remind you what each quarterly code represents. For example H is March and Z is December.
The background shading highlights changes in the timing of cuts. Green shading means the market is pushing cuts further out in time. Red shading means cuts are being pulled closer. This gives a simple and visual way to track how the curve reprices near term versus long term policy expectations.
This tool is useful for anyone tracking fed path repricing, front end volatility, macro catalysts or cross asset rate sensitivity.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。