Metatrader data export

 
Is there a way to automate the export of metatrader datas ?
I need to export datas to Metastock on a regular basis. It takes forever to open each chart in Metatrader and save each file.

Any ideas ?

Thanks
 
Is there a way to export the metatrader date from 2007.09.27 to 20070927 instead ?
 
You could write a script to take care of it...

MT4 has file binary and CSV writing capabilities.

See FileOpen() FileWrite() FileFlush() FileClose().
 
You could write a script to take care of it...

MT4 has file binary and CSV writing capabilities.

See FileOpen() FileWrite() FileFlush() FileClose().


I have no clue how to do that, but at least i know now that it is possible.
Thanks for your answer