king_david599:
I don't know the syntax, I've tried the mt4 guide/book, no help! I just need the information from people who have done it before, its taking me a week!
Main idea:
for(row=0; row<=8; row++)
for(col=0; col<=8; col++)
Arr[row][col] = FileReadNumber(handle)
https://docs.mql4.com/files/filereadstring
I don't know the syntax, I've tried the mt4 guide/book, no help! I just need the information from people who have done it before, its taking me a week!
Main idea:
for(row=0; row<=8; row++)
for(col=0; col<=8; col++)
Arr[row][col] = FileReadNumber(handle)
I split the part by lines and then by 'cells':
nL = StringSplit(txtFile,StringGetCharacter("\n",0),allLines); ... nI = StringSplit(allLines[iL],';',singLine);
This causes less headache
gooly:
Thanks a lot guys! @rod178 was right! Much appreciation!I split the part by lines and then by 'cells':
This causes less headache
Another stumbling block, how do I loop through each Column and Row, to get values from the array. I'm loping through searching for a value in the array that's above 85.
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
Main idea:
for(row=0; row<=8; row++)
for(col=0; col<=8; col++)
Arr[row][col] = FileReadNumber(handle)