MQL4参考 图表操作 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);