the likelihood that something bad will happen
Area residents can see the writing on the wall and realize that if they don't cooperate with the police, these crimes will continue. As leaders, they should have seen the handwriting on the wall and come up with an alternative course of action. Usage notes: often used with see, as in the examples