Text Object positioning

 

I have created a text object and I want to position it in the upper right hand corner of the MT4 window. The text object appears OK but I have no idea how to get it to show in the top right corner. I cannot find the syntax to do that. Can anyone give me a hand either on where to find the info or how to position an object?

My code is:

ObjectCreate("MyTextObj", "MyTextObj", NULL, NULL , NULL);

ObjectSetText("MyTextObj", my_text, 12);

Thank you.

 
tigertrader:
I have created a text object and I want to position it in the upper right hand corner of the MT4 window. The text object appears OK but I have no idea how to get it to show in the top right corner. I cannot find the syntax to do that. Can anyone give me a hand either on where to find the info or how to position an object?

My code is:

ObjectCreate("MyTextObj", "MyTextObj", NULL, NULL , NULL);

ObjectSetText("MyTextObj", my_text, 12);

Thank you.

Double click it and a box will appear around it. Then click and drag. Double click again to take the box off. Enjoy.

Reason: