Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (ozgur, TipmyPip), 722 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 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: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
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: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
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 | chip programmers | 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