dataFromCSV function missing in 1.66

Posted By: Tamas

dataFromCSV function missing in 1.66 - 11/01/17 17:48

Hi,

I noticed this is missing in Zorro 1.66.
dataFromCSV (int Handle, string Format, string Filename, int Column): var

is there an alternative?

I am trying to read in a column from a CSV file and plot that as a series below a price chart (like an indicator)

Any help appreciated.

thanks.
Posted By: jcl

Re: dataFromCSV function missing in 1.66 - 11/01/17 17:54

Maybe you mean dataParse?
Posted By: Tamas

Re: dataFromCSV function missing in 1.66 - 11/01/17 20:27

I see, and how would I work with that to get the last column into a Series which I can plot?

dataParse(Handle,Format,Filename);
then what?

thx!
Posted By: jcl

Re: dataFromCSV function missing in 1.66 - 11/02/17 09:14

Check the CSV format and write a format string that parses only the date and the last column. Then, at any bar, use dataFind() to get the record corresponding to the current date.
Posted By: Tamas

Re: dataFromCSV function missing in 1.66 - 11/03/17 10:18

Thanks! that worked!
© 2024 lite-C Forums