Is there someone here who knows how return an array on a function on MQL? Like if your are going to retrieve a data on CSV, instead of using different functions to get data one by one all of the data on the CSV,
i mean one row of data will be put on an array then when you use the function, you would just specify the index on the data to get the necessary values.
You cannot return array, and you cannot assign array to another variable. You can only pass the array to a function as an argument and edit it in the function body.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi there,
Is there someone here who knows how return an array on a function on MQL? Like if your are going to retrieve a data on CSV, instead of using different functions to get data one by one all of the data on the CSV,
i mean one row of data will be put on an array then when you use the function, you would just specify the index on the data to get the necessary values.
Thanks.