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

Notification

Icon
Error

Options
Go to last post Go to first unread
henry1224  
#1 Posted : Sunday, June 19, 2005 12:52:42 PM(UTC)
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 2 time(s) in 2 post(s)
This indicator plots a 1 when a stock makes a New 60 day High on Double Volume and -1 when it makes a new 60 day low on double volume nh:=H>Ref(HHV(H,60),-1); nl:=L<Ref(LLV(L,60),-1); DV:=V>Ref(V,-1)*2; If(nh AND DV,1,If(nl AND DV,-1,0))
wabbit  
#2 Posted : Sunday, June 19, 2005 12:59:38 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)
nice.... same function - different code: NH:=H>Ref(HHV(H,60),-1); NL:=L<Ref(LLV(L,60),-1); DV:=V>Ref(V,-1)*2; DV*(NH-NL) I find this 'nicer' code than a whole pile of nested if() statements. 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.