MQL4参考 程序端全局变量 GlobalVariablesFlush


Forcibly saves contents of all global variables to a disk.

void  GlobalVariablesFlush();

Return Value

No return value.


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.