WindowExpertName - Chart Operations - MQL4 Reference

MQL4 Reference Chart Operations WindowExpertName

WindowExpertName

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.

Example:

  string name=WindowExpertName();
  GlobalVariablesDeleteAll(name);