Returns the name of the executed Expert Advisor, script, custom indicator, or library.
string WindowExpertName();
Parameters
None.
Returned value
The name of the executed Expert Advisor, script, custom indicator, or library, depending on the MQL4 program, from which this function has been called.