Get bars from the MetaTrader 5 terminal starting from the specified index.
[in] Financial instrument name, for example, "EURUSD".
[in] Timeframe the bars are requested for. Set by a value from the MT5_TIMEFRAME enumeration.
[in] Initial index of the bar the data are requested from. The numbering of bars goes from present to past. Thus, the zero bar means the current one.
[in] Number of bars to receive.
Returns bars as tuples (time, open, high, low, close, tick_volume, spread, real_volume).
See the CopyRates() function for more information.