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.
I based my code on this example. I just can't figure out what the difference is. Only that there is a window for input parameters.
What if I don't need this window? If I just want to create an object with the parameters I want. Is this possible?
But there...
and you have
and in general, I suspect that your rectangle is created somewhere not in the visible part of the window.
Let's try to modify it with a plus.
Get an object on the screen, correct it as you need it.
Well, you can just put it in OnInit() temporarily to make sure that the code is executed once
const removed, left bool fill = false; still not responding.
the colour changes. the line style changes. the object is also right in the centre.
???
const removed, left bool fill = false; still not responding.
it changes colour. the line style changes. the object is also right in the centre.
???
I don't get it.
the object is drawn, what's not to like?
why then all the other properties are set? i run the code with the compile button.
as a backdrop is this.
What do you want, I don't understand it?
https://www.mql5.com/ru/forum/151878