Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 9/8/2004(UTC) Posts: 2,266
Was thanked: 1 time(s) in 1 post(s)
|
I don't know if this is correct, but I figured I would post this :
CD:=Inside();
CD1:=If(CD,0,
If(CD=0 AND
(H>Max(ValueWhen(2,CD=0,H),ValueWhen(3,CD=0,H))
OR
L<Min(ValueWhen(2,CD=0,L),ValueWhen(3,CD=0,L))),1,0));
CD2:=If(CD1=0,0,
If(CD1 AND
(H>Max(ValueWhen(2,CD1,H),ValueWhen(3,CD1,H))
OR
L<Min(ValueWhen(2,CD1,L),ValueWhen(3,CD1,L))),1,0));
CD2
|