Experts: QuotesDemo

 

QuotesDemo:

The Expert Advisor shows the current values of World Stock Indices from Google Finance using WebRequest function. The quotes are updated every 10 seconds.

Fig. 2. Realtime World Stock Indices from Google Finance

Author: MetaQuotes Software Corp.

 

Is that, um. a connection? A breakthrough?

That's the way to do an indicator...

Awesome. Thank you!

 
Aliluya, I will now be able to make my own news advisor with news connection, super, long overdue, thank you
 
lazarev-d-m:
Aliluya, I will now be able to make my news advisor with news connection, super, long overdue, thanks

Sure!

The main thing is to specify page permissions in the terminal settings.

and then, once a week, write a new page if its address changes.

 
Automated-Trading:

QuotesDemo:

Author: MetaQuotes Software Corp.

This code doesn't compile with ME build 944.

You forgot such line at the end of .mqh and .mq5 file :

<!-- Generated in 0 ms -->
 
Automated-Trading:

QuotesDemo:

Author: MetaQuotes Software Corp.

There is a typo in the address to add :

For working with server you need to add "https://www.googe.com/finance" to the list of the allowed URLs (Main menu->Tools->Options, "Expert Advisors" tab):

 

This is the appearance of this section of the settings. There are no necessary fields for entering the server url. I downloaded the files and put them in the right folder. But the Expert Advisor does not compile. What is wrong?

 
iTC:

This is the appearance of this section of the settings. There are no necessary fields for entering the server url. I downloaded the files and put them in the right folder. But the Expert Advisor does not compile. What is wrong?

Should I try to update the terminal version?
 
iTC:

This is the appearance of this section of the settings. There are no necessary fields for entering the server url. I downloaded the files and put them in the right folder. But the Expert Advisor does not compile. What is wrong?

Has the terminal itself been updated from MetaQuotes-Demo?

MetaTrader 4 build 654 started (MetaQuotes Software Corp.)

Terminal MetaTrader 5 x64 build 942 started (MetaQuotes Software Corp.)


 
I completely forgot! Thanks for the tip.
 
The WebRequest() function seems not to be yet available for MetaEditor 5 build 930. That's why this code is not compiling...