Reg:Order does not close by ea after condition meet

 

I have created an ea for M10 offline chart there is a condition for order close in ea that if the indicator value crosses the value 30 then close the order.I have also attached the indicator to chart to show the values of indicator on every tick.

There are many times indicator value crosses value 30 .But it does not close the order.But after some time it finally closes the order when it crosses 30.Can anyone help how these comparison takes place? Thanks in advance......

 
amarsinghbishen: Can anyone help how these comparison takes place?
No, because we can not see your code - There are no mind readers here.
Reason: