dont forget startattack

not sure at all whats going with the paladin macro, i think your trying to do this. However your focus targeting is somewhat flawed and needs more logic.

/cast [target=focus,exists,harm] spell; spell or a raw /target line perhaps

IMHO your better off with a /castrandom versus a castsequence if your going totally mindless buttonmashing tanking as the perfect rotation makes sense only with various talents (and level) and against a single target. So your going to need a 'reset=combat/target'. If your tanking trash button mash mindlessly.

/startattack [harm]
/cast [nocombat][harm] Avenger's Shield
/castsequence [combat] reset=target/combat Holy Shield, Hammer of the Righteous, Judgement of Wisdom, Shield of Righteousness, Consecration