Download MetaTrader 5

Reg:Order does not close by ea after condition meet

To add comments, please log in or register
One billion tasks have already been executed with MQL5 Cloud Network. Test trading robots even faster!
amarsinghbishen
69
amarsinghbishen 2013.12.12 14:39 

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......

whroeder1
14514
whroeder1 2013.12.12 14:55  
amarsinghbishen: Can anyone help how these comparison takes place?
No, because we can not see your code - There are no mind readers here.
To add comments, please log in or register