I'd like to add a symbol to an array when trade open on that symbol. I looked to ArrayFunction() and the only function to add value to an array is using ArrayFill but it is not supporting a string.
I tried using CArrayString class but failed to understand how to work with it. From the CArrayString list of function I tried to use Add function. On the documentation Add function do not have a parameter to assign the value to which string array unlike ArrayFill that has array parameter to assign to. Can anyone explain how to use CArrayString class?
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,
I'd like to add a symbol to an array when trade open on that symbol. I looked to ArrayFunction() and the only function to add value to an array is using ArrayFill but it is not supporting a string.
I tried using CArrayString class but failed to understand how to work with it. From the CArrayString list of function I tried to use Add function. On the documentation Add function do not have a parameter to assign the value to which string array unlike ArrayFill that has array parameter to assign to. Can anyone explain how to use CArrayString class?