FX_Baba

EURODOLLAR FUTURES CURVE

FX_Baba 已更新   
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.
版本注释:
UPDATE 03/21/22: Expired contracts have been removed and new contracts have been added. Curve now plots from Aril 2022 until March 2027
版本注释:
06/19/22 ~ The script has been updated to reflect recent contracts that have been expired and prevented the script from working

受保护脚本
该脚本是闭源发布的,您可以自由使用它。您可以收藏它以在图表上使用。您无法查看或修改其源代码。
免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?