FX_Baba

EURODOLLAR FUTURES CURVE

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

Skrypt chroniony
Ten skrypt został opublikowany z zamkniętym kodem źródłowym i możesz z niego dowolnie korzystać. Możesz go dodać do ulubionych, żeby używać go na wykresie. Nie możesz przeglądać ani modyfikować jego kodu źródłowego.
Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?