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

Notification

Icon
Error

Options
Go to last post Go to first unread
Alan R  
#1 Posted : Wednesday, June 23, 2010 1:20:21 PM(UTC)
Alan R

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 9/23/2009(UTC)
Posts: 51

I want to create a custom indicator that divides the NYSE Advancing issues by the Declining issues. I want to use X.NYSE-A AND X.NYSE-D but do not know how to code them into the custom indicator and extract the Advancing and Declining data into variables. Can someone lead me in the right direction. Once I have a variable for Advancing Issues and a varible for Declining issues I can generate the rest of the code. I also want to do the same for Advancing Volume and Declining Volume and need to know how to extract this data and put it into variables as well.

Thanks for the help!

Alan R  
#2 Posted : Wednesday, June 23, 2010 2:58:29 PM(UTC)
Alan R

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 9/23/2009(UTC)
Posts: 51

I resolved the issue.

ADV:= Security("X.NYSE-A",C);
DEC:= Security("X.NYSE-D",C);

MYAD:= ADV / DEC;
MYAD;

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.