Trigger MT from code to update history

 

I'm exporting data to CSV files for later use. It's possible to export data from instruments other than current chart.

But when I don't have opened charts with other instruments the new data isn't fetched and only old is accessible. I don't wanna open all those windows to get it updating. Is there a possibility to trigger update directly from code?

Shouldn't a call for data trigger update if data is not available?

Reason: