ForexFactory Calendar

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

ForexFactory Calendar

Postby moomoofx » Wed Nov 19, 2014 8:09 am

As requested on here: viewtopic.php?f=27&t=61079

A live parse of the ForexFactory calendar. ForexFactory only expose the calendar on a weekly basis. This indicator gets this file, parses it, and updated accordingly. The file does not contain ACTUAL values, only PREVIOUS and FORECAST/expected values. Refreshing the file won't help. As such, this indicator only refreshes the file on initial load. You can force a refresh via the context menu, or in the config it can refresh periodically but there really is no point since the file never updates.

Additionally:
- You can configure the color coding to use.
- It counts down for you until the news in hours/minutes.
- You can choose to keep historical news hanging around, controlled in minutes. Default is 5.
FFcalendar.png


Calendar as an Indicator on the main Chart
ffcalendar.lua
(13.82 KiB) Downloaded 2060 times


Previously I had two versions of this indicator, one for the main chart and one as an oscillator. However, I just learned that you can do it another way. In the configuration of the indicators, you can choose the location. Just check the checkbox like in the screenshot below. That is much cleaner than maintaining two source codes.
ffcal.png


Enjoy.

Cheers,
MooMooForex
Last edited by moomoofx on Tue Nov 25, 2014 7:01 pm, edited 3 times in total.
User avatar
moomoofx
FXCodeBase: Confirmed User
 
Posts: 193
Joined: Wed Oct 23, 2013 10:26 pm
Location: Okinawa, Japan. http://moomooforex.com

Re: ForexFactory Calendar

Postby BTrade » Wed Nov 19, 2014 9:27 am

Hi MooMooFX,

Thanks for developing the indicator!

if you could, please, make the following improvements.

1. add a background with an option to select the color
2. add an option for showing less text. only the event description, without the date, time, previous and expected value.
3. add an option to place it in a sub window such as volume or an indicator. I tried by changing the location, but it keep returning into the main chart.

Once again, thank you for spending the time to develop this indicator!
BTrade
 
Posts: 29
Joined: Fri Aug 02, 2013 2:38 pm

Re: ForexFactory Calendar

Postby moomoofx » Fri Nov 21, 2014 7:10 am

Hi,

I have...
- Added background option.
- Added the Description Only option.
- made it print one line "No News" when there are no news.

I'm not sure how to programmatically force the indicator to draw in a window or not based off parameters, so I have made an oscillator version of the indicator that draws in a separate window.

Cheers,
MooMooForex
User avatar
moomoofx
FXCodeBase: Confirmed User
 
Posts: 193
Joined: Wed Oct 23, 2013 10:26 pm
Location: Okinawa, Japan. http://moomooforex.com

Re: ForexFactory Calendar

Postby moomoofx » Tue Nov 25, 2014 7:07 pm

There was a bug in the implementation that converted news times between 12:00am and 12:59am incorrectly to 12:xx instead of 00:xx resulting in news being "12 hours xx minutes until" when it was only xx minutes away.

This has now been fixed. Thanks to Roy for reporting the issue.
User avatar
moomoofx
FXCodeBase: Confirmed User
 
Posts: 193
Joined: Wed Oct 23, 2013 10:26 pm
Location: Okinawa, Japan. http://moomooforex.com

Re: ForexFactory Calendar

Postby moomoofx » Thu Nov 27, 2014 9:04 am

And another quick fix concerning the opposite problem of times between 12pm and 12:59pm ... *sigh*. I also noticed the 'Description Only' parameter was inversed so I have fixed that too.

Please redownload file from the first post. Hopefully, no more problems!

Cheers,
MooMooForex
User avatar
moomoofx
FXCodeBase: Confirmed User
 
Posts: 193
Joined: Wed Oct 23, 2013 10:26 pm
Location: Okinawa, Japan. http://moomooforex.com

Re: ForexFactory Calendar

Postby BTrade » Mon Dec 01, 2014 8:12 pm

THANKS!!!
BTrade
 
Posts: 29
Joined: Fri Aug 02, 2013 2:38 pm

Re: ForexFactory Calendar

Postby BTrade » Mon Mar 02, 2015 5:54 pm

Hi MooMooFX,

all of a sudden, this indicator is not working since last week. I assume it is related to the URL address. Could you, please, help me fix it?

Thanks
BTrade
 
Posts: 29
Joined: Fri Aug 02, 2013 2:38 pm

Re: ForexFactory Calendar

Postby moomoofx » Thu Apr 09, 2015 11:00 pm

Still works for me.
User avatar
moomoofx
FXCodeBase: Confirmed User
 
Posts: 193
Joined: Wed Oct 23, 2013 10:26 pm
Location: Okinawa, Japan. http://moomooforex.com

Re: ForexFactory Calendar

Postby BTrade » Fri Apr 10, 2015 12:27 am

Hi MooMooFx,

Could you, please, let me know the Server and File you use?

It does not work for me ... I have not changed anything in the settings ... the only thing that comes to mind is, if ForexFactory had changed their files.

I really like the option to have the list of upcoming events. HOPE you can help make this indicator works again.
Attachments
FF CAl.PNG
FF Cale.PNG
BTrade
 
Posts: 29
Joined: Fri Aug 02, 2013 2:38 pm

Re: ForexFactory Calendar

Postby moomoofx » Fri Apr 10, 2015 7:33 am

I'm simply using the default settings.
ff.png

Are you sure you don't just have some firewall or blocking app preventing the connection?
User avatar
moomoofx
FXCodeBase: Confirmed User
 
Posts: 193
Joined: Wed Oct 23, 2013 10:26 pm
Location: Okinawa, Japan. http://moomooforex.com

Next

Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 8 guests