ChartRedraw - forcibly redraws the graph (this should probably help).
I put ChartRedraw(0); , the window is exactly zero and the only one, it does not help, the objects are updated only after the next tick, although Print() shows the change of data once per second EventSetTimer(1)
Olegts: I put ChartRedraw(0); the window is zero and the only one, it doesn't help, objects are updated only after the next tick, though Print() shows the data change once per second EventSetTimer(1)
Then, at the very least, more information is needed.
What are the objects? Who creates them and how (for example, objects can be created/changed by an owl or by an indicator)?
And the situation in general is described very vaguely.
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.
That's not the point I was making.
It says tester agent logs, it means tester agent logs.
Is it possible to make the object move by dragging smoothly horizontally or vertically?
I want to make a kind of scroll for a graph.
Is it possible to make an object move by dragging smoothly The chart object can be made to move along a horizontal or vertical line?
I want to make a kind of scroll for the graph.
Found a script, tweaked it a bit:
I'll try to use user32.dll to get mouse coordinates to make scrolling smooth, should work.
In general it would be nice to have built in Chart object navigation.
Did you look at the example in the Binding Angle section ?
Thanks, already found and deleted the message, but you were quicker:)
I have another question, the EA works on OnTimer but the window is updated only with the next tick, can this be dealt with?
Thanks, already found and deleted the message, but you were quicker:)
I have another question, the EA works on OnTimer, but the window is updated only with the next tick, can this be dealt with?
The window in the sense of objects on the chart?
ChartRedraw - forcibly redraw the chart (most likely this should help).
Window in the sense of objects on the graph?
ChartRedraw - forcibly redraws the graph (this should probably help).
I put ChartRedraw(0); the window is zero and the only one, it doesn't help, objects are updated only after the next tick, though Print() shows the data change once per second EventSetTimer(1)
Then, at the very least, more information is needed.
What are the objects? Who creates them and how (for example, objects can be created/changed by an owl or by an indicator)?
And the situation in general is described very vaguely.
Then, at the very least, more information is needed.
What are the objects? Who creates them and how (for example, objects can be created/modified by owl, or by turkeys)?
And the overall situation is very vaguely described.