Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 730 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 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,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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