Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1084
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
Does MQL4 have a control that could output a lot of text on several lines? CEdit is not suitable - it's single line and only takes 63 characters.
write text on the canvashttps://www.mql5.com/ru/docs/standardlibrary/canvasgraphics/ccanvas/ccanvastextout
but it can't do it in multiple lines, or rather it can, but you need to increase the Y coordinate after the line is printed
It does not. Exactly so - all combinations of EA parameters will get results. And you can sort them however you like.
Greetings. Could you please tell me what is the problem.
In MT5, in OnInit() I prescribe the creation of objectsOBJ_RECTANGLE_LABEL, OBJ_LABEL (rectangular and text labels), and others.
But they are not created at initialization, they are created only when the terminal is ticked or clicked. There was no such a problem in MT4.
Afternoon!
I have windows 10 installed, Russian package installed, installed MT4. do not read the menu inscriptions of the terminal in Russian, please advise how to fix
Greetings. Could you please tell me what is the problem.
In MT5, in OnInit() I prescribe the creation of objectsOBJ_RECTANGLE_LABEL, OBJ_LABEL (rectangular and text labels), and others.
But they are not created at initialization, they are created only when the terminal is ticked or clicked. This problem didn't exist in MT4.
Have you remembered ChartRedraw()?
Hello dear programmers. I've encountered an error (or bug, I don't know) and I can't find any references to it or a solution to this problem. The error is as follows: when I try to select an order out of the closed orders on the ticket (OrderSelect(Ticket, SELECT_BY_TICKET, MODE_HISTORY), I get error 4051, and I get this error only when this order is not in the history of deals, which happens if the order was closed yesterday and the filter shows only the current history, which is updated on restarting the terminal, that is, if there were yesterday's deals, they will not be in the history for today when I restart. But as soon as I do the filter so as to show that order, for example, to show the entire history of deals, the error immediately disappears and the order is found using the OrderSelect function. So it turns out that OrderSelect searches only among the history uploaded to the terminal based on the ticket of closed and deleted orders? There is no information about this in the handbook.
The description of OrdersHistoryTotal says.