Grzegorz Guminski: divided the value by 10 for Digits: 3 and 5, that gave me Broker Stops Level in full pips, and that's what I needed.
That maybe what you needed but it's not what OrderSend/OrderModify needs. We can't see your broken code. There are no mind readers here and our crystal balls are cracked.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi All.
I some of my MT4 robots I use a function that checks if the stops entered by user are > Broker Stop Level. Recently I started encountering error 130 - Invalid Stops when a robot tries to open a new order.
After some checks I discovered, to my utmost surprise that now, when I use:
e.g. for GBPNZD it gives me the value of 10, while the Symbol Specification shows 'Stops level': 100!
I have always used the line above, then i checked 'Digits' and divided the value by 10 for Digits: 3 and 5, that gave me Broker Stops Level in full pips, and that's what I needed.
My question is: has it been changed in MetaTrader4 (I use build 1170) or it's an error on broker side?