Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1784

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
And seriously, ChartRedraw is called more than 24 times per second...
And ObjectCreate! The horror... (added)
UPD
Yes it does...
UPD
Although no, it doesn't:
ChartRedraw is not a problem. But ObjestCreate might be loading, if the line is created until the button is released.
Yes, create it at startup and delete it at application shutdown. And useObjectSetInteger andObjectSetDouble functions to move it. How hard to understand...
Yes, create it at startup and delete it at application shutdown. And useObjectSetInteger andObjectSetDouble functions to move it. How hard to understand...
UPD
Yes it does...
UPD
Although no, it doesn't:
One way or another, your CPU will blow up at such a programmer... :)
How hard is it to understand that I only need to create when the button is pressed and delete when the button is released.
You can hide from the chart and then show. How to properly hide an object and show it, it's been written about in the forum. Or track CHARTEVENT_OBJECT_CLICK - perfect solution!
One way or another, your CPU will blow up at such a programmer... :)
I'm keeping an eye on the thermometer.
You can hide from the chart and then show. How to properly hide an object and show, it was written about it on the forum.
Nah... I'll figure it out the right way.
I keep an eye on the thermometer.
Nah... I'm going to make this one up right now.
I've added to the previous message.
Everything is brilliantly simple.
Everything brilliant is simple.
Well, somewhere along the line... :)
Completed the previous post.