I am trying to use ThCSV plugin to read fundamental data from a csv file in 
Amibroker vs 5.30

The plugin is available at: http://www.amibroker.com/bin/ThCSV.zip


say I have a file named "dse_funda.csv" in the "C:\program 
files\amibroker\csv\" folder
the data are structured in the file like the following

trading code, Face Value, DSE PE, Category,.....
ACI, 100, 20, A,....
BEXIMCO, 10, 34, B,....
GOOGLE, 50, 23, A,...
......................................
..............................................

now I want to print the value of the "Face Value" and "DSE PE"......... on a 
chart for the default ticker/trading code.

I have written my formula file as

tcsSetPath("C:\\program files\\amibroker\\CSV\\");
Graph0=C;
Graph1=tcsGetArray("!dse_funda.csv", "!Face Value");
Graph2=tcsGetArray("!dse_funda.csv", "!DSE PE");
Graph2=tcsGetArray("!dse_funda.csv", "!Category");


However amibroker is able to find the file but not the field :(

Can anyone please help me with this?

with best regards


Reply via email to