How could I save the variables of my EA?

 
I would like to save some of the variables of my EA to make sure that when even the terminal is reloaded, it could continue its work where it left. How could I do that?
 
There is only one alternative, Persistent Storage. Write a file each time anything changes, reread on init.
 
Thank you very much. :)
Reason: