what is the problem with this errorthis array out of range
-

it causes a pending order to stay open ( in the operation tab), but it has been closed in the trade tab, so no position block prevents trades from happening
-
I'm not a programmer, but most of the times this is related to the SL levels, especially if its value is 0. Are you sure the value is different from 0?
-
thnx for reply no the sl is not zero
-
even in meta editor it doesn't show where the error is
-
This can happen when you work with custom-created arrays. Do you have a custom MQL block that is filled with array codes? If the answer is no, do you have Market Properties Bid/Ask somewhere in the blocks?