Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Quad), 600 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Reading a csv file and working with OHLC data #474191
09/27/18 19:47
09/27/18 19:47
Joined: Sep 2018
Posts: 8
A
adityam Offline OP
Newbie
adityam  Offline OP
Newbie
A

Joined: Sep 2018
Posts: 8
Hello,

I am new to Zorro project and having difficulty in understanding the concept of reading a csv file and using OHLC data to calculate simple RSA on close price.
I have been able to generate .t6 file from .csv file using zorro sample program history.c.
However i am confused in trying to understand that how are most scripts of sample indicator able to read the dataset stored in .t6 file without a line of code to fetch the data from t6 file.
From documentation i can see that there are functions dataParse(), dataVar(), dataInt(), dataStr(), dataSet() that can help in achieving this. But i also see in some script that there are direct functions to fetch open high low close data using priceOpen() priceClose() etc. Also there is Asset() function.
Can someone help finding easiest way to reading the t6 file and running basic indicator sample code on that data.

Kindly bear with me in case this is a very basic question, as i am very new to this project :-)

Thanks

Last edited by adityam; 09/27/18 19:49.
Re: Reading a csv file and working with OHLC data [Re: adityam] #474193
09/28/18 04:51
09/28/18 04:51
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
My advise; work through the workshops 1-7 listed here (from your question I assume that you have not):
http://manual.zorro-project.com/tutorial_var.htm

I you have more questions after working through the tutorials, come back here


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1