Errors, bugs, questions - page 2266

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
So, have we solved the "squares" problem?
Of course, if you use one non-scalable canvas, there just isn't any.
I want to publish in KB a simple iCanvas class, which inherits CCanvas class, which creates a full screen canvas when declared by default and then changes it automatically if window size changes.
There will also be some additional features in the form of drawing canvas shapes not by x-coordinates but by price, bar number or time. I.e. we will add functions X(datatime T), X(double bar), Y(double price).
So that kanvas doesn't seem so stressful to many people.
Of course, if you use a single unscaled kanvas, they just don't exist.
I've always had one kanvas and the red square kept popping up. I struggled for a long time to understand the reasons, but never got around to it.
I've always had one kanvas and the red square kept popping up. I struggled for a long time to understand the reasons, but never got around to it.
If you resize kanvas, i.e. open it again or use Resize function, you should use kanvas for the whole window to avoid such red squares.
Also remember that Erase function is very fast - full screen FullHD will take ~0.5 milliseconds.
And Update slower ~5-7 milliseconds on full screen FullHD.
Yes - this option is more costly, as Update kanvas size of say 500x200 will take ~0.5 milliseconds.
So it's a matter of expediency.
Personally I almost always use full screen kanvas now, as I have 200 fps margin with Update = 5 milliseconds.
Is there any way to fix this by the next build?
When I switch to another account, the custom character chart loses bars - "Waiting for update". Bars cannot be requested. At the same time ticks - no problem.
After restarting the Terminal, of course, the bars on the chart are available.
I would like the custom symbol bars to remain available without rebooting after switching to another account.
Error during execution:
Result: 2 Expected: 1
It must be a psychological aberration to know, at any time, the number of the latest MT5 build.
I don't know the current exchange rates, but I always know the number. Ask me today, a month ago, a year ago...