RSS feed into indicator

If you don't know where to start, start here! Don't be afraid to ask questions.

Moderator: moderators

bast
rank: <50 posts
rank: <50 posts
Posts: 6
Joined: Wed Jan 20, 2010 8:24 pm
Reputation: 0
Gender: None specified

RSS feed into indicator

Postby bast » Wed Jan 20, 2010 8:42 pm

Hi,
I'm new here, as a programer i don't want to rewrite something that maybe already exist.

I'm looking for an indicator that
use(in any form) RSS/ATOM as input
and display(in any form) ARROW/HISTOGRAM as output
If somebody has any idea/sample/working mq4 please let me now :)

ps: if that post is not in the right section, my bad!
I've made some search on google and here, but there are a lots of noisy results...

Bast

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

bast
rank: <50 posts
rank: <50 posts
Posts: 6
Joined: Wed Jan 20, 2010 8:24 pm
Reputation: 0
Gender: None specified

Postby bast » Wed Jan 20, 2010 9:30 pm

I've found a Library that help with http connections on the mql4.com community, but anything about rss or atom so far...

User avatar
newschool
rank: 150+ posts
rank: 150+ posts
Posts: 489
Joined: Fri Aug 21, 2009 2:26 am
Reputation: 0
Gender: Male

Postby newschool » Fri Jan 22, 2010 2:58 pm

Great idea. Here is the solution. Next time don't get trapped in the "why make simple when you can make complicated..." ;)

ToRSS is a new online service that converts incoming email to RSS feed and allows you to read messages on your feedreader.
There is no registration required, and setting up process is really simple.

bast
rank: <50 posts
rank: <50 posts
Posts: 6
Joined: Wed Jan 20, 2010 8:24 pm
Reputation: 0
Gender: None specified

Postby bast » Fri Jan 22, 2010 3:20 pm

newschool wrote:Great idea. Here is the solution. Next time don't get trapped in the "why make simple when you can make complicated..." ;)

ToRSS is a new online service that converts incoming email to RSS feed and allows you to read messages on your feedreader.
There is no registration required, and setting up process is really simple.


Hi, thx for the time and reply, but that's not exactly what i'm looking for.
Maybe my description isn't as clear as i thought.

I need rss feeds(as in XML formated files, ATOM) to be parsed and processed as an INPUT.

And then showed in histogram(as in any kind of visual OUTPUT but i feel histogram would have a better visual effect:
with colors attached to a filter(like "eur" "euro" "usd" "dollar" "eur/usd")
and different value (for the number of news).

Here is an exemple of first result that could be a great tool.


Since nothing is done already about getting (as an http request) and processed (as an RSS(XML files)) to display it as an indicator(any kind of mq4 file)

-I started to look around for libraries(for MT4 platform specificaly), so far what i found is a simple library to access http servers and get files, works prety well.

-I know RSS parser(simply XML parser adapted for rss and atom file) exist.

-Working with mq4 files wouldnt be hard to get a simple visual result from the RSS parser.

Since all 3 exist shouldnt be hard to make them work together...

To reply specificaly to the ToRSS tool what it does is get EMAIL as IMPUT and RSS as OUTPUT.

User avatar
newschool
rank: 150+ posts
rank: 150+ posts
Posts: 489
Joined: Fri Aug 21, 2009 2:26 am
Reputation: 0
Gender: Male

Postby newschool » Fri Jan 22, 2010 3:39 pm

Yes, I really expected you wanted an output.

I don't understand why you would an input into MT4... news? There's already an indicator for that (FFCAL if I remember right).

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

bast
rank: <50 posts
rank: <50 posts
Posts: 6
Joined: Wed Jan 20, 2010 8:24 pm
Reputation: 0
Gender: None specified

Postby bast » Fri Jan 22, 2010 3:53 pm

Thx for that wasnt searching for forex callendar...
http://www.forexfactory.com/showthread.php?t=16364
first read of this thread Plot_News.MQ4 seems interesting...

i'll check all of this later, but from what i understand it all use callendar from websites .csv format etc.

i have a set of RSS feed that i specificaly use, not the calendar of economic news from a specific website. but that could be interesting to follow that lead for my research, to be continued :)

EDIT

From :
http://www.forexfactory.com/showthread. ... ost2295210
news.mq4 use .csv callendar

Code: Select all

ReadWebPage("http://www.dailyfx.com/calendar/Dailyfx_Global_Economic_Calendar.csv?direction=none&collector=allInFolderDateDesc&view=week&timezone=GMT&currencyFilter="+Filter1+"&importanceFilter="+Filter2+"&time="+time);


From:
http://www.forexfactory.com/showthread.php?t=16364
FFcal use "the Plot_News.MQ4 indicator, which you attach to your MT4 charts: it reads News.CSV" and get this CSV from website.

Code: Select all

handle = FileOpen(FileName, FILE_CSV|FILE_READ,';');            // Open NEWS.CSV



From:
http://www.forexfactory.com/showthread.php?t=19293
FF Calendar Indicator for MT use :
logHandle = FileOpen(strFilename,FILE_CSV|FILE_READ|FILE_WRITE);

Ok, an idea could be to use this callendar form with economics news, add the results of the rss parser, and display it.

-get .CSV from website(with theses .mq4), get .RSS and parse it and add results to the .CSV
-display it using theses.mq4

Anyway this doest solve the RSS parsing part :)

bast
rank: <50 posts
rank: <50 posts
Posts: 6
Joined: Wed Jan 20, 2010 8:24 pm
Reputation: 0
Gender: None specified

Postby bast » Fri Jan 22, 2010 5:53 pm

I maybe have found a solution, i'll let you know if i come up with a sample.
Thx again newschool ;)

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.


Return to “beginners forum”