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)
|
an Opposite signal will give +2 ,-2 signals, the original will give +1,-1
A:= (Ref(H,-1)>Ref(H,-2) AND Ref(C,-1)<Ref(C,-2) AND C<Ref(C,-1) AND H>Ref(H,-1) AND L<Ref(L,-1) AND Ref(C>((H-L)*.75)+L,-2)); B:= (Ref(L,-1)<Ref(L,-2) AND Ref(C,-1)>Ref(C,-2) AND C>Ref(C,-1) AND H>Ref(H,-1) AND L<Ref(L,-1) AND Ref(C<((H-L)*.25)+L,-2));
AR:= (Ref(H,-1)<Ref(H,-2) AND Ref(C,-1)>Ref(C,-2) AND C>Ref(C,-1) AND H<Ref(H,-1) AND L>Ref(L,-1) AND Ref(C<((H-L)*.75)+L,-2)); BR:= (Ref(L,-1)>Ref(L,-2) AND Ref(C,-1)<Ref(C,-2) AND C<Ref(C,-1) AND H<Ref(H,-1) AND L>Ref(L,-1) AND Ref(C>((H-L)*.25)+L,-2));
If(A,1,If(B,-1,If(AR,2,If(BR,-2,0))))
|