Need Help with simple indicator

 
Can somebody write me an example of simple indicator that will print text on chart from a comment entered in code but with possibility to choose in what corner the text will be printed.
 
next time use google (it's an EA)
 
Thanks, but that is not what I'm looking for...
 
can u explain what r u looking for
 
masterdeki:
Can somebody write me an example of simple indicator that will print text on chart from a comment entered in code but with possibility to choose in what corner the text will be printed.
Use https://docs.mql4.com/objects specifically https://docs.mql4.com/objects/ObjectCreate type OBJ_LABEL, then use https://docs.mql4.com/objects/ObjectSetText and/or https://docs.mql4.com/objects/ObjectSet to change colour, position, etc
 

Lets say that I want to print this text...

Hello World

This is forex

Thanks !

...in the corner that user can choose thru inputs,and exactly like writen above,one below another.

Can somebody write code for that?

 
masterdeki:

Can somebody write code for that?

Yes, you need 3 Text Labels . . . just like I told you in my earlier post.
 

Example take a look to this https://www.mql5.com/en/code/10387

You have to make something like that

 
deVries:

Example take a look to this https://www.mql5.com/en/code/10387

You have to make something like that


Link not working
 
masterdeki:

Link not working
Maybe it's this https://www.mql5.com/en/code/10387
 
RaptorUK:
Maybe it's this https://www.mql5.com/en/code/10387

Yes it is but there is no option to choose corner just to move indicator by x and y
Reason: