MQL4参考 程序端全局变量 GlobalVariablesFlush

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.