Export historical data – script MetaTrader 5
The script purpose is to export historical rates data to format, convenient for analysis in external programs, for example, in MathCad (example is attached). The output file contain the historical price data (bars) of the specified month in the following form: DoubleToString(rates[i].time,0), // number of seconds, passed from 1 Janunary 1970 rates[i].open, // Open … Read more