Reading a csv file and working with OHLC data

Posted By: adityam

Reading a csv file and working with OHLC data - 09/27/18 19:47

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
Posted By: Dalla

Re: Reading a csv file and working with OHLC data - 09/28/18 04:51

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
© 2024 lite-C Forums