"The handwriting is on the wall" means that it is clear what will happen next. Usually it's used for something that is not good. I don't know it's origin, but Marius is usually very good about looking those things up.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.