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.
- Trying to write on chart. Please Help.
- Basic Indicator Question
- how to place a text in an indicator?
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
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.
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:
Yes, you need 3 Text Labels . . . just like I told you in my earlier post.
Can somebody write code for that?
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
Link not working
Yes it is but there is no option to choose corner just to move indicator by x and y
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