marksimmonds / Publications
Forum
instantiate objects from an array
Hi, I'm trying to create objects by looping through an array...... here's the code, but when I try to compile, I get the error " '[' - invalid index error " Can somebody confirm if it can be done, and what I'm doing wrong Thanks in advance. //---Create Array of Symbols we wish to interogate string
do while loop
I must be going blind.... why does this code cause my MT4 platform to hang? I'm assuming an infinite loop.... but the code looks good to me.... please help....THanks! #property indicator_chart_window //+------------------------------------------------------------------+ //| Custom indicator
assigning external variables to an array
Hi, I'm sure this is a basic programming misunderstanding on my behalf - I'm getting a 'constant expression required' error message when compiling. I simply want to create an array based on extern inputs to the program. I've tried putting the code globally and in a function but getting the same