Discussion of article "Building an Interactive Application to Display RSS Feeds in MetaTrader 5"

 

New article Building an Interactive Application to Display RSS Feeds in MetaTrader 5 has been published:

In this article we look at the possibility of creating an application for the display of RSS feeds. The article will show how aspects of the Standard Library can be used to create interactive programs for MetaTrader 5.

The article "Reading RSS News Feeds by Means of MQL4" described a rather rudimentary script that could be used to display RSS feeds in the terminal's console, by means of a simple library that was originally built for parsing HTML-documents.

With the advent of MetaTrader 5 and the MQL5 programming language I thought it possible to create an interactive application that would be able to display RSS content better. This article describes how to produce this application using the extensive MQL5 Standard library and some other tools developed by MQL5 community contributors.

2.11. The Expert Advisor code

The Expert Advisor has no input variables since the application is meant to be entirely interactive.

Enter a web address and the RSS content will be loaded into the application dialogue, as depicted by the image below:

Fig. 3. RssReader EA working in the terminal

Fig. 3. RssReader EA working in the terminal

Author: francis dube

 

Hmm. Here's a question. I don't know if anyone has encountered it.


How much RSS feed slows down at news sources?

p.s. let's say here: http: //www.bls.gov/feed/bls_latest.rss.

p.p.s. if you have your own example, it would be interesting to know too.

RSS Feeds: Help: U.S. Bureau of Labor Statistics
RSS Feeds: Help: U.S. Bureau of Labor Statistics
  • www.bls.gov
RSS (Really Simple Syndication) is an XML-based format for sharing and distributing Web content, such as news headlines. Using an RSS reader, you can view data feeds from various sources, such as www.bls.gov. RSS Readers: RSS/News Readers (also called Aggregators) will subscribe and display RSS feeds for you. A number of free and commercial...
 

just a question:

Where else is RSS used ?

 
Maxim Kuznetsov:

just a question:

Where else is RSS used ?

In announcements, etc. - in the promotion of new information, in general.


 

Hi Francis,

 

 

Thank you for the great example on building an RSS reader.

 

I tried using the reader but when I enter the RSS URL and click on the "update current feed" button, it just shows the "Loading..." message but doesn´t do anything else.

 

 Do you have any clues of why this might be happening?

 

I'm using this feed:

 

http://rss.cnn.com/rss/edition.rss

 

from this page:

 

http://edition.cnn.com/services/rss/ 

 

Regards,

 

Andres