The script is just the difference between two data files.
Just add a “Show View” tool and then set the script to:
GETDATA(CODE=TYX:WI) – GETDATA(CODE=FVX:WI)
The overlays are achieved by adding the data. Goto help.optuma.com/kb/ search for “overlays” for more information on that.
The recession data comes from the FRED database and it was a bit of a script. But now in the latest version of Optuma, if you have the FRED database you can just add a “Recession” tool to the chart. In the tool you can select the country. If you do not see it, it will be because you do not have FRED data. Goto portal.optuma.com/myaccount and you can manage what data you have and add it in.
I was able to create the chart, but I do the data management with csv files in Excel and not with the FRED database. The FRED is a monster, but that is a different stroy. I use the spread of the 10-Year Treasury Note Rate minus 3-Month Treasury Bill Rate.
What I want to mention is that the bottom spread chart has a “Tool Name” that ends with “of [name of the data file]”.
I have enter in the tool name “Spread: 10-Year Treasury Note Rate minus 3-Month Treasury Bill Rate” but with the “extension” it reads “Spread: 10-Year Treasury Note Rate minus 3-Month Treasury Bill Rate of 10-Year Treasury Note Rate“. This is confusing. Is it possible to “delete” the “extension” “of 10-Year Treasury Note Rate”?
The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.