DislikedI need help in coding issue. I am trying to write a script which will read a csv file and will draw horizontal lines from the file.
question 1: when i use FileReadString it gives me complete one line like EURUSD,1.3250,Red
then I use StringSubstr to extract EURUSD and 1.3250 and Red separately. Is that correct there is no way directly that I can get one by one comma separated values for one line/record?
Problem 2: I need price 1.325 to use horizontal line which require double value.
When I convert it to double var=StrToDouble("priceVar");...Ignored
Why don't you simply read your file as a CSV file ?
20 pips a day isn't too much to ask . . .