Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 1140

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
Dear specialists. What and where am I "wrong"? I enter the menu "Report". Right-click and select "COPY". I come to page Excel and make an insertion on parameter of an insertion "Text" (and parameter only one). Result: the column of numbers is normal, but the text that in "Report" in Russian, now in abracadabra?
I searched for fonts, but I haven't found anywhere what should be changed and where? Interestingly, there are times when everything works correctly in Russian, but only after restarting MT4 and not always. There is, maybe not quite a reasonable suspicion that somehow it connects/switches to Unicode. I remember, on some forum it was mentioned about outputting messages from EAs in mangled font, i.e. not in Russian, but it has been confirmed there.
In short. I'm grateful in advance for hints. I think that such nonsense popped up not at one of me.
Dear specialists. What and where am I "wrong"? I enter the menu "Report". Right-click and select "COPY". I come to page Excel and make an insertion on parameter of an insertion "Text" (and parameter only one). Result: the column of numbers is normal, but the text that in "Report" in Russian, now in abracadabra?
I searched for fonts, but I haven't found anywhere what should be changed and where? Interestingly, there are times when everything works correctly in Russian, but only after restarting MT4 and not always. There is, maybe not quite a reasonable suspicion that somehow it connects/switches to Unicode. I remember, on some forum it was mentioned about outputting messages from EAs in mangled font, i.e. not in Russian, but it has been confirmed there.
In short. I'm grateful in advance for hints. I think that such nonsense popped up not at one of me.
When MT4 is open and active, switch to Russian. Then copy from MT4 and paste into Excel. Then everything will be fine. This has always been the case with MT4.
Of course, thank you. I did it all through my ass, and when I managed to copy it normally, I didn't manage to switch fonts in Windows.
Greetings. Help me understand the classes, I already asked a question:
"Can you tell me how to make separatevariables for each new order(let's say A, B, C for each)? I assume it's something like Peremennaja+ticket=A12345, B12345, C12345."
I was told that I should write a class and create a class object for each order.
Can anyone help with examples or manual for this or similar situation?
Greetings. Help me understand the classes, I already asked a question:
"Can you tell me how to make separatevariables for each new order(let A, B, C for each)? I assume it's something like Peremennaja+ticket=A12345, B12345, C12345."
I was told that I should write a class and create a class object for each order.
Can anyone help with examples or manual for this or similar situation?
Wouldn't it be easier to use an array?
I do not know.
I have a question about creating some new variables for each new order (with binding to it) and deleting them when the order closes.
Wouldn't it be easier to use an array?
You can't do that at all. 10 orders - 10 arrays. 20 orders - 20 arrays.... Is the memory rubber? The computer is iron, but not infinite.
Here is a simple example. You can store the ticket number for binding. Deletion - by shifting the array in the second example.
Press F1 on struct word. There's more about classes = data+methods below. The classes may contain functions
You can't do that at all. 10 orders - 10 arrays. 20 orders - 20 arrays.... Is the memory rubber? The computer is iron, but not infinite.
Artyom answered thinking about something else. An array of structures is the best for such a task. An example has already been given, I don't want to learn... I think it's better to define a dynamic array and redefine the array size and fill it when the number of opened orders changes.