How to open chart offline mql4

 
how can I programmatically open an offline chart?
Reason: