logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Heidi B  
#1 Posted : Friday, October 3, 2008 11:13:01 AM(UTC)
Heidi B

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers, Unverified Users
Joined: 9/22/2008(UTC)
Posts: 114
Location: Salt Lake City

MetaStock – Indicators – Ted Spread

Do you have a symbol for the Ted Spread?

We do not have a symbol for the Ted Spread; however Reuters Datalink users who have the World Wide Indices Data Package and Futures Data Package can create a custom formula to get the Ted Spread.

Unfortunately at this time we do not have the ability to get the Ted Spread for users of QuoteCenter without having to sign up for Reuters Datalink packages.

How do I set up the Custom Indicator for the Ted Spread?

  1. Open MetaStock
  2. Select the Tools Menu
  3. Select Indicator Builder
  4. Click on New
  5. Under Name Type Ted Spread
  6. Under Formula type:

Security("Online:LIUSD3MD=",C)-(Security("Online:.IRX",C)/10)

  1. Click on OK

These indicators do connect directly to the Reuters Datalink data servers to calculate the value.

You now have an Indicator for the Ted Spread.

If you would like to have 2 colors for the Ted Spread prices based on if the value went up or down from the day before use the formula below.

If(Security("Online:LIUSD3MD=",C)-(Security("Online:.IRX",C)/10)>=Ref(Security("Online:LIUSD3MD=",C)-(Security("Online:.IRX",C)/10),-1),Security("Online:LIUSD3MD=",C)-(Security("Online:.IRX",C)/10),0); If(Security("Online:LIUSD3MD=",C)-(Security("Online:.IRX",C)/10)<Ref(Security("Online:LIUSD3MD=",C)-(Security("Online:.IRX",C)/10),-1),Security("Online:LIUSD3MD=",C)-(Security("Online:.IRX",C)/10),0);

wabbit  
#2 Posted : Saturday, October 4, 2008 10:49:33 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
I don't do much work Online: securities, but I would guess that each time the security() function is called MS will make a new query to the data server?

If this is the case, wouldn't something like the code below be faster and reduce the server loading?

Code:

LIUSD := Security("Online:LIUSD3MD=",C);
IRX := Security("Online:.IRX",C) / 10;

diff := LIUSD - IRX;
test := diff >= Ref(diff,-1);

grn := test*diff;
red := (test=0)*diff;

{plot as histogram in new window}
red;grn;

untested...


wabbit [:D]

Justin  
#3 Posted : Tuesday, October 7, 2008 7:22:08 AM(UTC)
Justin

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 9/13/2004(UTC)
Posts: 673
Location: Salt Lake City, UT

The Online portion of the Security function can be very stressful on the Equis Data Server. The formulas above are designed to work with EoD Reuters DataLink however, which does not use the Equis Data Server.

That said, if the same output can be accomplished with less code writing that is certainly a good thing.

Heidi B  
#4 Posted : Thursday, November 13, 2008 2:31:14 PM(UTC)
Heidi B

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers, Unverified Users
Joined: 9/22/2008(UTC)
Posts: 114
Location: Salt Lake City

The TED Spread (3 month Libor - TBill) is now available from QuoteCenter.

The symbol is: us<3MS

greenbyte  
#5 Posted : Wednesday, March 10, 2010 12:11:15 PM(UTC)
greenbyte

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 4/1/2005(UTC)
Posts: 2

Hi, I am a consumer of the service EoD RTD I have the following problem: I would like to insert in the database the index TED SPREAD, does it exist? Does this index exist in the database? Regards
Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.