EA does not read from a .txt file.

 

Hi.

If I have a .txt designed in this way:

First Row: 7 char string

Second Row: 9 char string

Third Row: Empty space

Fourth Row: double 15.00

Fifth Row: double 18.00

What is the efficient way to make my EA read (and save) the DOUBLE figures (rows 4 and 5)?

Thanks.

ST

 

Any way. You can use FileReadDouble()

And you can use StrToDouble(FileReadString())

Reason: