H1:=IF(H<REF(H,1) AND REF(H,1)<REF(H,2),REF(H,2),0); L1:=IF(L>REF(L,1) AND REF(L,1)>REF(L,2),REF(L,2),0); H2:=VALUEWHEN(H1>0,H1); L2:=VALUEWHEN(L1>0,L1); K1:=IF(C>H2,-1,IF(C<L2,1,0)); K2:=VALUEWHEN(K1<>0,K1); W1:=K2; XG:crOSS(0,W1);