MQL4 Reference Global Variables of the Terminal GlobalVariablesFlush

MQL4 Help as One File:

GlobalVariablesFlush

Forcibly saves contents of all global variables to a disk.

void  GlobalVariablesFlush();

Return Value

No return value.

Note

The terminal writes all the global variables when the work is over, but data can be lost at a sudden computer operation failure. This function allows independently controlling the process of saving global variables in case of contingency.