Can't delete pending order
You can not modify or close orders closer than MathMax( MarketInfo(Symbol(), MODE_STOPLEVEL)*Point from the stops, nor delete order that close to the open price.
If this is not the case, then show the code.
You can not modify or close orders closer than MathMax( MarketInfo(Symbol(), MODE_STOPLEVEL)*Point from the stops, nor delete order that close to the open price.
If this is not the case, then show the code.
You agree to website policy and terms of use
Hello all,
I have an issue with MT4 pending orders:
Sometime I manage to send a pending order and the order accepted and wait in the market, but after some time the prices changes and then I can't delete or modify that pending order and getting error 3 (ERR_INVALID_TRADE_PARAMETERS) when trying to delete this order . (because the prices that currently on the market are prices that are illegal for that type of pending order for example a buyLimit order with price higher then the current one)
Any one facing the same problem?
What can i do to avoid this problem?
Thanks!
Tzachig