Defining array
6 replies
Steve Green
5 years ago #239269
Hi Tomas,
How do you define an array of type for a variable in strategy parameters?
For some context I need these variables global in scope.
tomas262
5 years ago #239289
For arrays in MQL4 you can refer to this guide https://book.mql4.com/variables/arrays
If you elaborate more on what you are trying to achieve I could try to give a hand
Steve Green
5 years ago #239297
Hi Tomas, I’m asking how do you define a variable of type array where you define your variables in ea wizard? You can only define double, int, string and boolean?
tomas262
5 years ago #239316
Array variable type is not supported by EA Wizard. Why do you need it?
Steve Green
5 years ago #239322
To simulate a database lookup else you have to write countless if else statements. I’ve logged a task (sq4_4375) for this to be added?
jason
2 months ago #285039
Is it at all possible to read and write to an array defined via custom actions? It saves so much work to do so rather than defining separate variables.
tomas262
2 months ago #285128
I understand what you mean but currently we do not have such feature available
Viewing 6 replies - 1 through 6 (of 6 total)