On top of the lines it seems to be possible to write, at least writing a new line in place of the first line is possible without any special difficulties.
It seems to be possible to write on top of the lines, or at least to write a new line in place of the first line without any special difficulties.
That's brilliant! In a pinch, in a nickel...
If you have to write something down, you have to write it down. Where, when, how, why and to whom, we don't give a shit. Our job is to write it down, and whoever needs to read it, let them do it themselves...
if there's something to be written down, it has to be written down. Where, when, how, why and who, we don't give a shit. Our job is to write it down, and who needs to read it - let them do it themselves...
Well, yes, that's not much of an option...
You can write new information or just trash in a line, but for some reason you can't delete it at all... strange story...
Figured out how to work with the file, thank you very much and thank you very much.
Such a question, a bit of an off-topic.
As a result of reading the line
string s=FileReadString(h)
we get the value of s which implies the data to open the order, e.g. EURUSD,5,0.02,1.17808,70,0,0,302090516
Is it possible to somehow substitute this value as a whole into the OrderSend operation without extracting each constituent descriptive part of the order to be opened separately?
[in] Цвет открывающей стрелки на графике. Если параметр отсутствует или его значение равно CLR_NONE, то открывающая стрелка не отображается на графике. При открытии рыночного ордера (OP_SELL или OP_BUY) в качестве цены открытия могут использоваться только самые последние цены Bid (для продажи) или Ask (для покупки). Если операция проводится по...
In my view, if you don't get rid of the information that has already been processed, then you will have to spend resources on re-analysing it.
Information if within a single EA does not need to be written to a file if it does not need to be read itself. if from the outside, then write an empty file to the file after reading it.
Aleksei Stepanenko: The function takes values of several variables of different types, and you have a string.
That's the question... how to "painlessly" make a variable enumeration from a string. Using the StringSubstr function results in a very non versatile solution. StringSplit doesn't quite understand how it works... Maybe some conversions can be done?
The information, if within one EA, does not need to be written to the file, if you do not need to read it yourself. if from the outside, then write an empty file to the file after reading it.
If we want to make a separate EA that will open orders for any pair and the EA of a particular pair will already intercept the open order into the control, then this will probably work, but if each EA of a particular pair will need to work with the file individually, then synchronisation in this way will be impossible.
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.
On top of the lines it seems to be possible to write, at least writing a new line in place of the first line is possible without any special difficulties.
It seems to be possible to write on top of the lines, or at least to write a new line in place of the first line without any special difficulties.
That's brilliant! In a pinch, in a nickel...
If you have to write something down, you have to write it down. Where, when, how, why and to whom, we don't give a shit. Our job is to write it down, and whoever needs to read it, let them do it themselves...
That's brilliant! Spot on, spot on...
if there's something to be written down, it has to be written down. Where, when, how, why and who, we don't give a shit. Our job is to write it down, and who needs to read it - let them do it themselves...
Well, yes, that's not much of an option...
You can write new information or just trash in a line, but for some reason you can't delete it at all... strange story...
Figured out how to work with the file, thank you very much and thank you very much.
Such a question, a bit of an off-topic.
As a result of reading the line
we get the value of s which implies the data to open the order, e.g. EURUSD,5,0.02,1.17808,70,0,0,302090516
Is it possible to somehow substitute this value as a whole into the OrderSend operation without extracting each constituent descriptive part of the order to be opened separately?
OrderSend(s)Of course it doesn't work
In my view, if you don't get rid of the information that has already been processed, then you will have to spend resources on re-analysing it.
Information if within a single EA does not need to be written to a file if it does not need to be read itself. if from the outside, then write an empty file to the file after reading it.
The function takes values of several variables of different types, and you have a string.
That's the question... how to "painlessly" make a variable enumeration from a string. Using the StringSubstr function results in a very non versatile solution. StringSplit doesn't quite understand how it works... Maybe some conversions can be done?
The information, if within one EA, does not need to be written to the file, if you do not need to read it yourself. if from the outside, then write an empty file to the file after reading it.
If we want to make a separate EA that will open orders for any pair and the EA of a particular pair will already intercept the open order into the control, then this will probably work, but if each EA of a particular pair will need to work with the file individually, then synchronisation in this way will be impossible.
Let me try again to convey the idea of the convenience of using an array
I've already written how to save this array to a file.
Or parse your string.