Need edit indicator

 
this indicator show supply demand based on fractals, i need to filter them for example show supply only if fractal is on red candle and demand if fractal is on green candle
 

Line 730

}}

Insert on line 652

if((zone_type[i]==ZONE_SUPPORT && Open[zone_start[i]]<Close[zone_start[i]]) || (zone_type[i]==ZONE_RESIST && Open[zone_start[i]]>Close[zone_start[i]])){
 
Naguisa Unada:

Line 730

Insert on line 652

im worse than newbie in coding... maybe u can explain how to put it?

Reason: