Referencing my post on this thread: https://forum.renoise.com/t/done-3-1-b5-metronome-meter-song/44499
Pattern highlighting should be linked to per pattern metronome settings and vice versa so that Renoise has proper support for multiple time signature changes in song and pattern highlighting that reflects the current time signature of the pattern.
This could be achieved with a pattern effects command that uses the first value to set the beat divisor and the second the beat value.