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.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.