Download MetaTrader 5
To add comments, please log in or register
Do you know that MQL5 is an object-oriented language?
Paul B
173
Paul B 2014.03.12 11:13 

Hi all,

anybody know if there is any way to get the string stored in:

#property version "1.00"

and to display it on the chart in comments, ie:

Comment("\n",title," EA (",version,")\n\nWaiting for a tick to start...");

Thanks

qjol
3243
qjol 2014.03.12 11:26  
#define Version "1.00"

Comment (Version);
Paul B
173
Paul B 2014.03.12 11:31  
qjol:


Thanks for the reply, but that is not what I asked. I can easily work out alternatives for myself, but I require an answer to my specific question.
Alain Verleyen
Moderator
28607
Alain Verleyen 2014.03.12 11:44  
Paul_B:

Thanks for the reply, but that is not what I asked. I can easily work out alternatives for myself, but I require an answer to my specific question.
Not possible.
/
To add comments, please log in or register