One would think that the View / Open Marker (or Arranger or Chord) Track macro command would contain the Argument "State" options to either open view if currently closed, or leave open view if currently opened.
See All 2172 Episodes of " - Recent questions"