Discussions
»
Product and Service Development
»
Formula Assistance
»
Storing the high price based on the day an indicator is true
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!]
|
|
|
|
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:
I'd be careful taking the Cross() of CLOSE with its OBV(). Hope this helps. wabbit [:D]
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Discussions
»
Product and Service Development
»
Formula Assistance
»
Storing the high price based on the day an indicator is true
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.