I am need help

First: sorry for my English, I know its very bad

so I need help with priority macro, I need 5 spells on 1 key: first spell with the highest priority is Power Word: Shield, second priority spell is Penance when is Penance on CD macro automatically cast Divine Star and when is Divine Star on CD macro automatically cast Flash Heal, but when I moving macro cast Holy Nova (Holy Nova is not necessary giving up this macro)
please really help with this macro, I am noob I know, but do you help me?