RSS NewsReader

The title says it all
Post Reply
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

RSS NewsReader

Post by renexxxx »

Yet another news indi? This one is really an RSS news-reader. It does nothing, just reads a RSS feed and displays it on the screen. Should work with any RSS-feed. I have added 3 example RSS-URLs that can be selected from the parameter screen (FxStreet, MyFXBook and DailyFX). To add your favourite RSS-URL you have to change a few lines of code.
There is only one other parameter: how many news items you want per page. See:
Selection_084.png
Just to add: In their infinite wisdom, these russian cowboys who stuffed Empty4 together decided that any text item that appears on the Empty4-chart in a screen object, should have a maximum of 63-characters. Therefore, you will see that some titles are truncated. There is absolutely nothing that can be done about that.

The Date and Title columns are sortable, by clicking on them. Also, by clicking on the text of a news item, your default browser will be launched and will load the corresponding webpage.

Code attached. (LibRSS.mqh, shell.mqh and mql4-http.mqh go into the \include folder)
For the Linux/Wine users: You must have wininet.dll in your libraries folder.

Have fun.
You do not have the required permissions to view the files attached to this post.
Post Reply

Return to “Indicators and matrixes”