Download MetaTrader 5

Getting EA's version number

To add comments, please log in or register
Toast
226
Toast 2014.04.11 16:46 

I'm trying to retrieve the version number i.e.

#property version   "1.00"

I had a look at MQLInfoString etc. but couldn't find anything to retrieve that string... does anybody have any pointers about doing this?

Many thanks in advance!

Alain Verleyen
Moderator
31134
Alain Verleyen 2014.04.11 17:01  
toast:

I'm trying to retrieve the version number i.e.

I had a look at MQLInfoString etc. but couldn't find anything to retrieve that string... does anybody have any pointers about doing this?

Many thanks in advance!

Not possible. Use something like :

#define VERSION "1.00"
#property version VERSION
Toast
226
Toast 2014.04.11 17:12  
Many thanks for the quick workaround!
To add comments, please log in or register