Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Imhotep, opm), 785 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 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,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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

Chief Engineer
jcl  Offline

Chief Engineer

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