Function or variable that returns the EA name

 

Hi there,

I've managed to find a huge amount of information in the forum without having to register and post, just by using the search function. Unfortunately, i either ran out of luck or what i'm looking for doesn't exist.

Is there a function or variable that will return the name of EA? For example, if i want to add to the OrderSend's comment "Buy order " + ApplicationEAname() where ApplicationEAname() function will show the name of the EA currently running and placing that order.

I know i can set the EA name to a variable and refer to ir throughout my code, but since i keeping generating new versions/revisions and change the name to represent that (v1.0, v1.2, etc..), it would be easier if MQL had something like that.

Thanks for your help.

 
 
Thanks Ubzen.
Reason: