Download MetaTrader 5
To add comments, please log in or register
Are you a good trader? Become a signals provider and make even more money!
Piotr
1247
Piotr 2016.02.17 13:39 

Has anybody idea, How to OPEN & READ out-side TXT FILE on WEB SITE?

Using MQL5 or MQL4 code on Expert Advisor?

Vasyl Nosal
18338
Vasyl Nosal 2016.02.17 14:02  
WebRequset()
Piotr
1247
Piotr 2016.02.17 15:29  
Vasyl Nosal:
WebRequset()


On my WWW server there is the file TEST.txt. Could YOU please any example, from Expert mql5/mql4 CODE:

1/. read this file from path: http://robot-mt4.pl/TEST.txt

2/. set string parameter ea_test with value of content of TEST.txt file

3/. Print the ea_test parameter after run EA

Vasyl Nosal
18338
Vasyl Nosal 2016.02.17 16:02  
Piotr:


On my WWW server there is the file TEST.txt. Could YOU please any example, from Expert mql5/mql4 CODE:

1/. read this file from path: http://robot-mt4.pl/TEST.txt

2/. set string parameter ea_test with value of content of TEST.txt file

3/. Print the ea_test parameter after run EA

If you use webrequest than EA copy site to file. Than you need to work with file.
Piotr
1247
Piotr 2016.02.17 17:58  
Vasyl Nosal:
If you use webrequest than EA copy site to file. Than you need to work with file.

WebRequest() function does not read the file.

Using above function You will not open & read this file via OpenFile().

/
To add comments, please log in or register