Importing data from a CSV file

 

Hi, I have a csv file which is formatted as follows:

GBPUSD,1.2345,1.2345,1.2345

EURUSD,1.2345,1.2345,1.2345

EURJPY .....

The data represents: Symbol, High Price, Low Price, Close Price

I would like to import the data from the file, and match the currency symbol to the current chart, the use the relevant price data, so it would need transferring to variables (called High, Low, Close for instance) so I can manipulate the data.

This is for use in a custom indicator.

Any help would be much appreciated.

Cheers.

 
Have a look here, see if it helps : http://www.forexfactory.com/showthread.php?t=258441
 

Many thanks, I'll have a good read. I've made some basic indicators, but importing files and defining arrays is all new to me.

I do like a challenge though.

Cheers

PaulB

Reason: