I want a macro that casts Blast Wave when it's not cooling, and then Arcane Explosion if Blast Wave isn't ready. Can this be done? I tried

#showtooltip
/cast Blast Wave
/stopcasting
/cast Arcane Explosion

but to no avail.