When asking for help on a forum, you should at least answer the ones trying to help you.
![python order breaks ... don't know why??? please help python order breaks ... don't know why??? please help](https://c.mql5.com/36/64/python-order-breaks-don-t-know.jpg)
- 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.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
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?