FX_Baba

EURODOLLAR FUTURES CURVE

FX_Baba Cập nhật   
I created this script to be able to visualize the entire curve of the EuroDollar futures contract. If you are not interested in the Implied fed funds rate calculation, you have the option in settings to de-activate that and plot instead the price of each contract. You can also choose which contracts to activate or not.

Each contract is plotted along with a signal line which is a 5 period moving average. If the line is below the signal it will show in Blue. If above the signal line it will be colored green. Feel free to change those colors in settings.

It is best to attach the script in a 1H timeframe or less. The reason behind it, is because in order to create/plot the entire curve, the earliest contract's price used is 20 candles ago and each contract thereafter 1 day ahead so the Dec 2025 contract uses the latest close candle. Not sure if that explains it. Basically if you use the Daily chart you will be using futures prices from 20 day ago which will not reflect the most recent changes. By using 1 Hour or less you will be plotting the entire curve based on latest data.

Also look at the data window as you will see all the rates there for easy reading

If you have a better idea on how to craft the curve or any other things you would like the script to have, please feel free to leave a comment.
Phát hành các Ghi chú:
UPDATE 03/21/22: Expired contracts have been removed and new contracts have been added. Curve now plots from Aril 2022 until March 2027
Phát hành các Ghi chú:
06/19/22 ~ The script has been updated to reflect recent contracts that have been expired and prevented the script from working

Mã được bảo vệ
Tập lệnh này được xuất bản mã nguồn đóng và bạn có thể sử dụng một cách tự do. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ. Bạn không thể xem hoặc sửa đổi mã nguồn.
Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?