Download MetaTrader 5

Messages on graph

To add comments, please log in or register
Interested in the Market activity? Come and track!
Lucas Vigioli Isoppo
5044
Lucas Vigioli Isoppo 2015.02.03 02:45 

Hi !

 

I have a doubt about my EA and can not find the answer, maybe  you can help me .

I've seen many EA 's demo version appearing a message in graphic screen, something like " demo version , only 0.01 lot, for the full version contact the developer ," Anyone know how to put this kind of messages?

 

PS : I'm not saying to put alerts or printf functions, but messages that they are still in the corner in the graph.

 

Thanks!

Stuart Browne
5820
Stuart Browne 2015.02.03 02:55  
LucasVigioli:

Hi !

 

I have a doubt about my EA and can not find the answer, maybe  you can help me .

I've seen many EA 's demo version appearing a message in graphic screen, something like " demo version , only 0.01 lot, for the full version contact the developer ," Anyone know how to put this kind of messages?

 

 

Thanks!

Hi Lucas

If you're talking about text on the graph, you can use either the Comment() function for something simple (always displayed top left corner) or a Text or Label object for something more complex (place them anywhere, different font sizes etc)

If you're talking about putting text on the EA Properties Box "About" tab then you use:
#property description "Text goes here"


Cheers
To add comments, please log in or register