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
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