Dreaming that you are writing means some sort of communication with someone or with your conscious mind. It also indicates a mistake that you have made.