Invalid Stops
When asking for help on a forum, you should at least answer the ones trying to help you.
- 2023.04.22
- www.mql5.com
When asking for help on a forum, you should at least answer the ones trying to help you.
hi
I get this error:
symbol_info_tick() failed, error code = (1, 'Success')
but the order has not been done???
edited:
some sells where made ... but they are not closing in the that time? Am I using correctly the timestamp? (couldn't get the errors when the orders passed.
and the error when the order is not made is the success one.
Invalid stops is a recurrent error, very often discussed on this forum. You can search and learn about it, then apply the same logic to your python code.
You should start to print the values you are using (price, sl, tp) then check they match the rules about stops.
Hi
I have this order to sell
but for some reason I don't know, the orders are never done. This is the message:
it comments: invalid stops, but when looking the sl and tp, they are ok .... whats happening here?