Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (TipmyPip, AndrewAMD, NewbieZorro), 16,655 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
dataFromCSV function missing in 1.66 #469000
11/01/17 17:48
11/01/17 17:48
Joined: Nov 2017
Posts: 17
T
Tamas Offline OP
Newbie
Tamas  Offline OP
Newbie
T

Joined: Nov 2017
Posts: 17
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.

Re: dataFromCSV function missing in 1.66 [Re: Tamas] #469002
11/01/17 17:54
11/01/17 17:54
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Maybe you mean dataParse?

Re: dataFromCSV function missing in 1.66 [Re: jcl] #469003
11/01/17 20:27
11/01/17 20:27
Joined: Nov 2017
Posts: 17
T
Tamas Offline OP
Newbie
Tamas  Offline OP
Newbie
T

Joined: Nov 2017
Posts: 17
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!

Re: dataFromCSV function missing in 1.66 [Re: Tamas] #469014
11/02/17 09:14
11/02/17 09:14
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
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.

Re: dataFromCSV function missing in 1.66 [Re: jcl] #469031
11/03/17 10:18
11/03/17 10:18
Joined: Nov 2017
Posts: 17
T
Tamas Offline OP
Newbie
Tamas  Offline OP
Newbie
T

Joined: Nov 2017
Posts: 17
Thanks! that worked!


Moderated by  Petra 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1