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

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