READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

Defining array

6 replies

Steve Green

Subscriber, bbp_participant, community, 44 replies.

Visit profile

7 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.

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

7 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

0

Steve Green

Subscriber, bbp_participant, community, 44 replies.

Visit profile

7 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?

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #239316

Array variable type is not supported by EA Wizard. Why do you need it?

0

Steve Green

Subscriber, bbp_participant, community, 44 replies.

Visit profile

7 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?

0

jason

Subscriber, bbp_participant, community, 1 replies.

Visit profile

2 years 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.

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

2 years ago #285128

I understand what you mean but currently we do not have such feature available

0

Viewing 6 replies - 1 through 6 (of 6 total)