Export and Import

 

Does MQL have the ability to export And import data? The idea would be to export the value of a variable to preserve it in case the EA was inadvertantly closed so it could be imported and restored to the's value it was before the program was closed.

[Deleted]  

Yep, as bin, csv or txt... list of appropriate functions here..

https://docs.mql4.com/files

hth

V