Download MetaTrader 5

Getting EA's version number

To add comments, please log in or register
Toast
226
Toast  

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
29874
Alain Verleyen  
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  
Many thanks for the quick workaround!
To add comments, please log in or register