GetRight

 

Hi

I have been trying to use the GetRight program to download a .csv file from the internet via my MQ4 code, but it is giving me some problems (it refuses to save the file).  Could you please advice, if I can use some other technique to do this, preferably MQL4 code.

Thanks in advance.

Best regards

 
gjon:

Hi

I have been trying to use the GetRight program to download a .csv file from the internet via my MQ4 code, but it is giving me some problems (it refuses to save the file).  Could you please advice, if I can use some other technique to do this, preferably MQL4 code.

GetRight program ?
 

Hi RaptorUK 

Sorry, I thought, I was the only one that hadn't heard about it ... :-)  I found some code here on MQL4 that I used as a base for my program, and it uses this program to download a .csv file from the internet, and then it reads the file from the local file system, which would be suitable for me.  Here is a link to the program:

 https://www.mql5.com/en/articles/1502 

What I'm trying to do is to import a list of news (just as in template program that I'm referring to), and then I want to open some trades based on it.  Because the GetRight program is not really working for me, I need to find another way to download the file from the internet, or (if possible) to read the information directly into my program.

Do you think this is possible in mq4?

Best regards

 
gjon:

Hi RaptorUK 

Sorry, I thought, I was the only one that hadn't heard about it ... :-)  I found some code here on MQL4 that I used as a base for my program, and it uses this program to download a .csv file from the internet, and then it reads the file from the local file system, which would be suitable for me.  Here is a link to the program:

 https://www.mql5.com/en/articles/1502 

What I'm trying to do is to import a list of news (just as in template program that I'm referring to), and then I want to open some trades based on it.  Because the GetRight program is not really working for me, I need to find another way to download the file from the internet, or (if possible) to read the information directly into my program.

Do you think this is possible in mq4?

Have you looked at this ?  https://www.mql5.com/en/code/10459
 

Hi RaptorUK

I took a look at the article, and it looks promissing, so I'll try it out ... :-) 

Thanks a lot for your help!

Best regards