Omega J Msigwa: I have a csv file MACD.csv I want to learn how to load data into script and EA's but i'm stuck , no array is read and sometimes changing the code leads to long array numbers that i find irrelevant to what I want. This is my file read code inside a script. help me how to do that
Its a Text file, not a Binary file. Open it as a CSV text (FILE_CSV), and define the ";" as the field delimiter. Don't read it in as an Array. Use FileReadNumber() and/or FileReadString().
If you had bothered to read the documentation, FileReadArray only works for binary files. Read each number into an array.
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
I have a csv file MACD.csv I want to learn how to load data into script and EA's but i'm stuck , no array is read and sometimes changing the code leads to long array numbers that i find irrelevant to what I want
This is my file read code inside a script
help me how to do that