How to replicate the kumo drawing from the ichimoku indicator?

 

Hi i`m developing an indicator, and i wonder how i could color some bars just like the kumo does, based on my certain criterias.Like in this picture you can clearly see that the kumo is marking an area of consolidation, but the problem is that it is drawing itself only on the candles when certain criterias are met.


My wish would be to make a code that draws itself just like this strip around the price, but it should be always around the price, not above or below it, like it is marked by the red circles.So that if my criterias are met, then draw a similar thing on the price (not below or under it), if not then dont draw anything.Anyone can help me please?

 
Please any help?
Reason: