MQL4参考 程序端全局变量 GlobalVariableCheck

GlobalVariableCheck

Checks the existence of a global variable with the specified name

bool  GlobalVariableCheck(
   string  name      // Global variable name
   );

Parameters

name

[in]  Global variable name.

Return Value

Returns true, if the global variable exists, otherwise returns false.

Global variables exist in the client terminal during 4 weeks since their last use, then they are automatically deleted.

See also

GlobalVariableTime()