Having problems with the Cowabunga Indicator

Hi, I have a question about the Cowabunga indicator, but i wasn’t sure where to post it, sorry! This is my first time posting btw.

So the problem I’m having is when I look at the 4hour chart on mt4, i’m guessing that the blue line shows uptrends and the red line shows a downtrend. But just judging the chart myself it seems that sometimes when the market is in a downtrend the line is still blue? Wouldn’t this lead to bad signals?