MQL5 ReferenceGlobal Variables of the TerminalGlobalVariableCheck GlobalVariableCheckGlobalVariableTimeGlobalVariableDelGlobalVariableGetGlobalVariableNameGlobalVariableSetGlobalVariablesFlushGlobalVariableTempGlobalVariableSetOnConditionGlobalVariablesDeleteAllGlobalVariablesTotal 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() Global Variables of the Terminal GlobalVariableTime