Good afternoon. PEOPLE, ANSWER THE QUESTION PLEASE (5th time posting). Question about a file index... In the MQL4 book, found at MQL4.community in the "Standard Functions" section, there is an example of the script "File Operations", which is intended for reading data from a file and displaying graphical objects in a symbol window:
If no one answers, it means that people do not know what to answer. You do not need to post so many times and copy so much text.
Very trivial question: I put a pending order, check the expiry by time, set the correct time, but when the time runs out and the order is not opened it is not deleted.
This will close 1/2 of the lot. If OrderLots() = 0.03, then 0.02 will close and 0.01 will remain. And put the resulting Lot in OrderClose() in its place after OrderTicket(). Is it clear now?
understandable - thanks, except ........ how to do it :) ?
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.
Good afternoon. PEOPLE, ANSWER THE QUESTION PLEASE (5th time posting). Question about a file index... In the MQL4 book, found at MQL4.community in the "Standard Functions" section, there is an example of the script "File Operations", which is intended for reading data from a file and displaying graphical objects in a symbol window:
Good evening, everyone.
Can you please tell me how to find out the maximum and minimum price for the last hour, the textbook only says about the last bars.
Good evening, everyone.
Can you please tell me how to find out the maximum and minimum price for the last hour, the textbook only says about the last bars.
Please refer to the documentation for an explanation:
Hi all!
I'm just starting to learn MQL (please don't judge too harshly).
I have a question from MQL4 tutorial.
I have started the program and it works.
I don't know how it can count from 10 to 19, if loop operator "for(int i=20; i<=90; i=i+10)" counts from 20 and "for(int j=1; j<=9; j++)" from 1 to 9.
Please explain.
This will close 1/2 of the lot. If OrderLots() = 0.03, then 0.02 will close and 0.01 will remain. And put the resulting Lot in OrderClose() in its place after OrderTicket(). Is it clear now?
understandable - thanks, but here ........ how to do it :) ?
Where is it clear if you can't put the received Lot in OrderClose() in its place after OrderTicket()? I can't explain it any other way.
See OrderClose() function in Doc or MetaEditor Help!
Hi all!
I'm just starting to learn MQL (please don't judge too harshly).
I have a question from MQL4 tutorial.
I have started the program and it works.
I don't know how it can count from 10 to 19, if loop operator "for(int i=20; i<=90; i=i+10)" counts from 20 and "for(int j=1; j<=9; j++)" from 1 to 9.
Please explain.
Text[i+j]=Text[i] + Text[j]; // Calculating the value
What is unclear? tens+units= tens+units (For example: 20+5= 20+5 on a primitive machine means 25)
Start with Arithmetic!
Text[i+j]=Text[i] + Text[j]; // Calculation
What's not to understand? Tens + ones = tens + ones (For example: 20 + 5 = 20 + 5 for a primitive machine means 25)
Start with Arithmetic!
I don't understand how exactly the number 10, 11, 12, ...,19 is obtained.
In the program, the loop statement starts with 20, and from 1 to 9?