CustomPlotFunction mode is implemented in the library for similar purposes, the example of using it implements approximately what you are interested in.
P.S. More details about it are written in forum #53.
Is it possible to draw labels on X axis in reverse (reverse) order?
To see time-series indexes, for example.
There is no quick solution in the form of calling one function that will do everything by itself. As in #23, you need to create your own function for drawing values and pass it to the ValuesFunctionFormat method.
How to make that when changing inputs in the Expert Advisor(REASON_PARAMETERS), the chart does not generate an error and refreshes with new parameters? If I switch tf or change symbols, everything is ok, if I change parameters, the error is invalid pointer. The number of curves changes in the parameters and it is on them that the pointers are incorrect.
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 day!
CustomPlotFunction mode is implemented in the library for similar purposes, the example of using it implements approximately what you are interested in.
P.S. More details about it are written in forum #53.
Great, thanks :)
Is there a way to plot the X axis labels as a datetime series?
Is there a way to plot the X axis labels as a datetime series?
Example:
Result:
Is it possible to draw labels on X axis in reverse (reverse) order?
To see time-series indexes, for example.
Is it possible to draw labels on X axis in reverse (reverse) order?
To see time-series indexes, for example.
Is there any similar library in mql4??
Can you tell me if it is possible to set the background transparency, maybe in the base class, maybe something to tweak?
Can you tell me if it is possible to set the background transparency, maybe in the base class? I couldn't find it easily
Only if you modify the CGraphic class (only direct editing is wrong, you need inheritance, the example here is just for quickness).
After that you can control the colour:
:
Only if you make a change to the CGraphic class (only direct editing is wrong, you need inheritance, the example here is purely for quickness)
After that you can control the colour:
:
thanks, I'll deal with inheritance :)
How to make that when changing inputs in the Expert Advisor(REASON_PARAMETERS), the chart does not generate an error and refreshes with new parameters? If I switch tf or change symbols, everything is ok, if I change parameters, the error is invalid pointer. The number of curves changes in the parameters and it is on them that the pointers are incorrect.
if it is not clear I can give you an example )