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

Notification

Icon
Error

Options
Go to last post Go to first unread
Tyro  
#1 Posted : Monday, April 27, 2009 2:45:06 PM(UTC)
Tyro

Rank: Newbie

Groups: Registered, Registered Users
Joined: 5/9/2007(UTC)
Posts: 1

Does anyone know how to do the following correctly?

If(cross(C, OBV(C)), ABC:=high, ABC:=0)



[subject edited by wabbit : Please don't use ALLCAPS as it is considered to be shouting!]

wabbit  
#2 Posted : Monday, April 27, 2009 6:07:56 PM(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)
Code:

ABC:=If(cross(C, OBV(C)), high, 0);


which can also be written:

Code:


ABC:=cross(C, OBV(C))*H;



I'd be careful taking the Cross() of CLOSE with its OBV().



Hope this helps.

wabbit [:D]

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.