Sergey Gridnev #: If the information has not changed, do not call Comment
Information changes periodically. For example, I want to see the position with the lowest opening price. Or to know the tick of the last closed position. You can write everything in the print, but it is not convenient to look, you can miss. And so I can see where I have errors at once.
коротким кодом эффектно продемонстрировать возможности пользовательской графики через класс CCanvas. По сути из класса CCanvas я использую только массив точек графического ресурса m. Просто класс CCanvas берет на себя некоторую рутину при создании ресурса
Thank you. Read the thread, watched the video. It's pretty cool. But to me to this, as ... far) I have everything more prosaic, why it starts to slow down, how to fix, and what affects).
Thank you. Read the thread, watched the video. It's pretty cool. But to me to this, as ... far) I have everything more prosaic, why it starts to slow down, how to fix, and what affects).
Comment at each tick redraws the chart. Hence the brakes.
Do it on canvas. There you need to update only the kanvas. It is practically not necessary to redraw the chart.
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.
If the information has not changed, do not call Comment
Information changes periodically.
For example, I want to see the position with the lowest opening price. Or to know the tick of the last closed position.
You can write everything in the print, but it is not convenient to look, you can miss. And so I can see where I have errors at once.
Googled it...
Cool type) where does he fit in with my problems))))))
On the forum find the thread "canvas is cool" or Latin spelt but I remember.
Googled it...
Cool type) where does he fit in with my problems))))))
Thank you. Read the thread, watched the video. It's pretty cool. But to me to this, as ... far)
I have everything more prosaic, why it starts to slow down, how to fix, and what affects).
Thank you. Read the thread, watched the video. It's pretty cool. But to me to this, as ... far)
I have everything more prosaic, why it starts to slow down, how to fix, and what affects).
Comment at each tick redraws the chart. Hence the brakes.
Do it on canvas. There you need to update only the kanvas. It is practically not necessary to redraw the chart.
Comment redraws the chart on every tick. Hence the brakes.
Do it on kanvas. There you need to update only the kanvas. It is practically not necessary to redraw the chart.
It is certainly not cartoons using iCanvas Nikolai Semko but better than using simple OBJ_LABELs
Take a look at this indicator
What options are there to fix this?
Does it affect the speed of optimisation?
You don't have to use kanvas.
For comment not to slow down the tester with visualisation, it is necessary that comment is not called more often than 30 milliseconds.
For example like this:
Or use Print instead of Comment if it is important not to skip values.If better visualisation of the output of any values is important, then kanvas is better.