OK...here is a rule that will start you off....
Your current 5 bar swing low rule #1:
if Bar Low<Bar Low[1] and Bar Low<Bar Low[2] and Bar Low<Bar Low[3] and Bar Low<Bar Low[4] set color to Red
New 5 bar "breakup" rule #2:
if ((paintbar[1] =red) and (bar high[1]<bar close)) or((paintbar[2] =red) and (bar high[2]<bar close))or((paintbar[3] =red) and (bar high[3]<bar close))or((paintbar[4] =red) and (bar high[5]<bar close))or((paintbar[5] =red) and (bar high[5]<bar close)) set color to Lime
This will color a bar green if it is within five bars of and if it closes higher than the high of a new swing low of the last five bars.....

The deal is, you will have to have a set the number of bars to check "back" for the "break up".
The "break-up" could occur beyond the five bar range coded here for example.
Let me know what you think. I'm sure it could be cleaned up and improved. For example I don't like the multiple signals(even though they are valid)...