Re: MetaTrader to FSB Data Export

Hello Simon,
This is the way MetaTrader exports data files by default. It is not a problem because FSB Pro reads many data formats. See this page for reference: Data Files.

Many programs prefer delimiting the columns with tabs or semicolons because the comma is a decimal delimiter in several cultures.

Re: MetaTrader to FSB Data Export

Ok, thanks

Re: MetaTrader to FSB Data Export

I tried the above steps but see a DataSource_Pepperstone MetaTrader 4.json in the folder and not MQL4/files and dont see CSV files. Request you to let me know what am missing

Re: MetaTrader to FSB Data Export

A new version of the script is attached. It checks the maximum bars in the history before the export.
It prevents failed export in the latest MT5 if there are no enough bars.

This from the MT docs:

CopyRates

If the whole interval of requested data is out of the available data on the server, the function returns -1.

The previous versions of MT exported the available bars only without an error.