Is it ok that the cable for my dryer circuit is suspended from the ceiling?
No, it's not.
It needs to be protected in conduit or a covered stud wall at least 8' up as measured from the floor. And, like others have said, it needs to be secured.