Then you need to first take the data for all orders, and then, count the number of currency pairs, split one array into several (each for its own pair), and read the data separately
Can you please tell me why I am unable to reinstall the terminal from the 432nd build to the proposed 438th build? I get an error when downloading the MetaEditor.exe file and the installation is interrupted. What is the problem and what should I do?
Can you tell me if there is a stop loss script that needs to be inserted into this EA?
double x = ... // Задаем на сколько пипсов вышеdouble sl = NormalizeDouble(High[1] + x * Point, Digits); // Задаем значение стоплосс на x пипсов выше предпоследней свечи
How can I reduce the number of decimal places without rounding?
(DoubleToStr(NormalizeDouble(0.109,2),2)); = 0.11 and 0.10
There are a million ways, for instance, using string functions to find location of a point and truncate a string one character beyond it. But if there is a ready-made built-in solution, why should we invent problems out of nowhere? Just change the two to one and that's it.
Reshetov: There are a million ways, such as using string functions to find the location of a point and truncate the string one character beyond it. But if there's a ready-to-use, off-the-shelf solution, why make up problems?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Then you need to first take the data for all orders, and then, count the number of currency pairs, split one array into several (each for its own pair), and read the data separately
Thank you, I will try.
well then the function OrderLots.
I can't understand this function, please help with an example :)
it says "The order must be preselected using the OrderSelect() function" how do I select all open orders of the same direction?
I cannot understand this function, please help me with an example:)
it says "The order must be preselected with OrderSelect()" how do I select all open orders of the same direction?
There is no way. Only in a loop going through one by one with OrderSelect().
Can you tell me if there is a stop loss script that needs to be inserted into this EA?
How can I reduce the number of decimal places without rounding?
(DoubleToStr(NormalizeDouble(0.109,2),2)); = 0.11 and 0.10
How can I reduce the number of decimal places without rounding?
(DoubleToStr(NormalizeDouble(0.109,2),2)); = 0.11 and 0.10
There are a million ways, such as using string functions to find the location of a point and truncate the string one character beyond it. But if there's a ready-to-use, off-the-shelf solution, why make up problems?
please suggest a ready-made solution:)
please tell me if this is a ready-made solution:)
If not rounded off, just this one :
Reshetov с помощью строковых функций найти местоположение точки и обрезать строку на один символ далее нее