You can't!
Either give value by value or prepare a csv-file to read within OnInit().
or option 3, use a string variable with separated values, parse the string in init into an array of proper type and use that. StringSplit - String Functions - MQL4 Reference
oops, >.<.
thanks guys... :)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi all,
may i know is it possible to key in the input as array style?
In my ea, i wrote like orange highlighted as below:
extern double array[];
but i get the error message:
'array' - objects and arrays are not allowed as inputs.
Need advice. thanks in advance.