how to use CArrayString class

 

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?

This website uses cookies. Learn more about our Cookies Policy.