MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  Global variables  GlobalVariablesDeleteAll

 
Use the opportunities of
MQL5 in MetaTrader 5
Study the new MQL5 language
Study the new MQL5 language.
Reference is already available
int GlobalVariablesDeleteAll( string prefix_name=NULL)
Deletes global variables. If the name prefix is not specified, all global variables will be deleted. Otherwise, only those variables will be deleted, the names of which begin with the specified prefix. The function returns the count of deleted variables.
Parameters:
prefix_name   -   Name prefix of the global variables to be deleted.
Sample:
Print(GlobalVariablesDeleteAll("test_")," test globals deleted");