Objects Create Objects SELECTED

 

I have a script that I want to create 3 objects on my chart. I can do this, BUT

I want all the objects to also be SELECTED upon their creation.


This way i can easily move them around with out having to right click>objects list and then selecting them that way.


Can this be done? I don't see any code in MetaEditor that will allow me to create a selected object.


Thanks in advance!

 

https://www.mql5.com/en/forum/103593


There is no possibility to test if an object is selected. I doubt that there will be a method to make them selected... sadly.

 
thanks for the post
Reason: