why my code did not work properly

 

compare wick of the candle . 

where is the mistake?

indic. did not show all of the equal bars.

Files:
 
dvetri:

compare wick of the candle . 

where is the mistake?

indic. did not show all of the equal bars.

   double Up, Dn;
            if(Up==Dn)
The == operand. - MQL4 forum
 
thanks whroeder1 i'll try
Reason: