antt: When the terminal is closed, the status of the graphs is saved to the chr files. Not all properties of graphical objects intended for program control are recorded, this is normal.
Aha, so I will keep it in mind. Or even save graph object state to *.ini file before closing.
With the placement of the status bar (in the form of OBJ_BITMAP_LABEL), an error occurred: the object is rendered, leaving a line of one pixel below itself.
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.
When the terminal is closed, the status of the graphs is saved to the chr files. Not all properties of graphical objects intended for program control are recorded, this is normal.
barabashkakvn:
(https://www.mql5.com/ru/forum/23653/page6#comment_933300)
With the placement of the status bar (in the form of OBJ_BITMAP_LABEL), an error occurred: the object is rendered, leaving a line of one pixel below itself.
Settings of OBJ_BITMAP_LABEL:
I.e., the object-graphic label is drawn at the bottom of the chart and the coordinate centre is at the bottom left corner of the chart.
In fact, the graphic label object is not drawn by (0;0) coordinates but by (0;1) coordinates with these settings.
Here is a picture where you can see a line of 1 pixel:
Can you tell me if there is currently no function that allows you to identify the active chart -
So it should be something like:
long ChartActiv();At the moment, you cannot manage chart windows using MQL5 tools, without the use of WinAPI:
Can we expect in the future to introduce properties and methods for working with the size of chart windows?
As an example, tab switching, but implemented using WinAPI:
In the process of realising the "want" for window management, solutions began to appear: