Need help writing one-button Pally macro

Sometimes while doing old content I need to farm something for a few hours and just wanna press one button… Here’s my attempt:

#showtooltip /castsequence reset=combat/5 Templar Strike, Judgment, Blade of Justice, Wake of Ashes /cast [combat] Divine Toll

This unfortunately doesn’t work very well, as it gets stuck on BoJ or Judgment when they’re on CD, and doesn’t use Templar’s Verdict… Idk how to fit that in there. Goal is to intelligently know when stuff is on CD and just use Templar Strike. Any advice?