the script colors the background depending on two independent logics with two different colors. In order to undo the coloring in the case the condition changes back in the same bar, I set BackBrush = null; once the conition isn't anylonger true. But therefore the background gets only colored depending on the logic (with that color) that gets called last. Even if I use BackBrushes[0] instead, the first logic has no effect on the background.
Is there any workaround except for only calling BackBrush on the new bar?
Greetings

Comment