Copy array

 

I want copy close arrays.

==========================================

{Mq4:}

double ls[256];

ArrayCopy(ls, Close, 1, 1, 256)


How copy close arrays in mq5?

==========================================

Thanks.

 
Amirhossein Karimzadeh: I want copy close arrays. How copy close arrays in mq5?
CopyClose() - https://www.mql5.com/en/docs/series/copyclose
Documentation on MQL5: Timeseries and Indicators Access / CopyClose
Documentation on MQL5: Timeseries and Indicators Access / CopyClose
  • www.mql5.com
The function gets into close_array the history data of bar close prices for the selected symbol-period pair in the specified quantity. It should be noted that elements ordering is from present to past, i.e., starting position of 0 means the current bar. If you know the amount of data you need to copy, it should better be done to a statically...
Reason: