![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
Gentlemen programmers. I have a question. I am testing one EA on aforex.ru demo account. I sometimes get an error when I open order 138 "New prices". I have not understood why. I open orders through the function below. I have to find the reason of error during the opening. What are your thoughts?
What does it equal ?
Slipage, //уровень допустимого реквота
I'm not a super-professional, but I would first ask myself what tp equals.
What does that equal?
Slipage I put 20 pips on a five-digit quote.
little, slippage is better to make it dynamic, for example, if the initial value leads to 138 - double it.
little, slippage is better made dynamic, e.g. if the initial value leads to 138 - double it.
3-5 spreads, if at that it won't open, it won't open
Slipage I put 20 pips on a five-digit quote.
can you give me an example of what number you put
20 or 0.00020 ?