Forex Factory (https://www.forexfactory.com/forum.php)
-   Platform Tech (https://www.forexfactory.com/forumdisplay.php?f=69)
-   -   MT4 News Calendar Indicator (https://www.forexfactory.com/showthread.php?t=326551)

euclid Nov 17, 2011 1:28pm | Post# 1

5 Attachment(s)
I've been working on this news indicator and it's now developed enough to share.
I've also added a beta version of my breaking news indicator for you to play with.

  1. Data from the ForexFactory weekly calendar is refreshed hourly to catch any mid-week calendar updates from FF.
  2. Events can be filtered by impact, currency and category.
  3. A table of current and upcoming events can be displayed in a choice of two widths and may be placed anywhere on the chart.
  4. Vertical lines may be plotted on the chart to mark past events. Mouse over the lines to see details.
  5. Audible alarms can be configured to use any WAV files in your MT4/sounds directory.


Indicator inputs
DisplayTable..................Turn on table display
TableTitle.....................Table heading. Multiple tables can be displayed on the same chart by giving each a different title
NarrowTable..................Narrow abbreviated display
TableShowClock.............Show local time clock
TableNumEvents.............Table size
TableLookAheadHrs.........Time (hours) that future events are displayed
TableHorizAlign...............Horizontal table placement. Indent from left (pixels), or indent from right if negative, or centred if zero.
TableVertAlign................Vertical table placement. Indent from top (pixels),or from the bottom if negative.
TableSubWindow............Chart subwindow to place table.
TableBackground............Show table background.

DisplayVertLines.............Turn on vertical line display
VLineMaxPeriod..............Maximum chart time period to show vertical lines e.g. set to 15 to show lines on timeframes M15 and lower.
VLineLookAheadMns........Time (minutes) that future events are shown on the chart

IncludeLowImpact...........Low impact events
IncludeMediumImpact......Medium impact events
IncludeHighImpact..........High impact events
IncludeHolidays..............Bank holidays
IncludeMeetings.............Meeting event category
IncludeSpeeches............Speech event category
IncludeSymbolCurrencies..Forex pair base and quote currencies
CurrencyFilterList............Currency list eg "USD,JPY,GBP,EUR" or "ALL"

SoundAlarms.................Turn on audible alarms
Alarm1Wav...................WAV file for alarm 1. eg "alert.wav"
Alarm1Mns....................Time (minutes) before events that alarm is sounded
Alarm2Wav...................WAV file for alarm 2. eg "alert2.wav"
Alarm2Mns....................Time (minutes) before events that alarm is sounded

ColorBreaking................Error Messages and some other bits
ColorHigh.....................High impact
ColorMedium.................Medium impact
ColorLow.....................Low impact
ColorHoliday.................Bank Holidays
ColorDefault.................Other stuff
ColorBack1...................Background top
ColorBack2...................Background bottom

ForexFactoryURL.............
UseDailyFXData..............False = Forex Factory calendar data (recommended), True = DailyFX calendar data
DailyFXURL....................Daily FX calendar URL

AutoProxyConfig.............True = Use windows registry settings for proxy (default). False = Use direct connection (no proxy).
DeleteCacheAtStart.........Deletes the saved calendar and forces a refresh at startup. Set to False for normal operation.


Please note that the indicators are FREE, and are therefore supplied on an 'as is, take-it-or-leave-it, use-at-your-own-risk' basis.

Known issue: Opening the object properties dialog for any of the indicator's objects can cause MT4 to crash. Workaround: Don't do it!

Current versions are NewsCal v1.08a & NewsBrk v0.07
Try it. Post your feedback here.
Attachment 1032177
Attachment 834323
Blank.mq4
NewsBrk-v007.ex4
NewsCal-v108a.ex4


masterdeki Nov 17, 2011 2:15pm | Post# 2

Nice,but can zou add possibilitz to choose corner of apperance?
Thanks for share

Shabs19 Nov 17, 2011 5:09pm | Post# 3

Very nice indicator, I wonder if you could deselect currencies that do not interest you. eg. cad, nzd, aud etc.

masterdeki Nov 18, 2011 12:38pm | Post# 4

Can you give us a mq4 file

Shabs19 Nov 22, 2011 7:03am | Post# 5

I really like this indicator, I would be grateful if you could allow it to show EUR, GBP, JPY in the include USD tab.

Thanks again.

euclid Nov 22, 2011 8:33am | Post# 6

Nice,but can zou add possibilitz to choose corner of apperance?
Thanks for share
You can put it in the top corners already, bottom corners can only be done by increasing the TopMargin setting at the moment. Alignment to the bottom edge will be added later.

Sorry, I'm not sharing the MQL source for this one.

I've updated the first post with a new version.
I've changed the currency filter to a simple list and made some minor cosmetic changes.

Shabs19 Nov 22, 2011 8:40am | Post# 7

Thanks for the modification, it works great.

masterdeki Nov 22, 2011 9:01am | Post# 8

You can put it in the top corners already, bottom corners can only be done by increasing the TopMargin setting at the moment. Alignment to the bottom edge will be added later.

Sorry, I'm not sharing the MQL source for this one.

I've updated the first post with a new version.
I've changed the currency filter to a simple list and made some minor cosmetic changes.
Yes I know I can move indi thry X and Y axiss but with corners it's easier
Anyway thanks,nice indi...

euclid Nov 23, 2011 9:30am | Post# 9

Yes I know I can move indi thry X and Y axiss but with corners it's easier
Anyway thanks,nice indi...
Yes, I agree. It will be in the next release.

malik123 Nov 23, 2011 10:41am | Post# 10

idea can change ur life
 
good indicator b8 failed to show us forecast, actual, and previous and need to add impact high,medium or low,

wanna work with me.


1st thing we need to make a software , not a mq4 file,
if we made mq4 file to show all this thing in the indicator window
thn it'll not possible,
so we'll make software ,
hw??

we'll fetch calender data from either forexfactory or different source,
it'll not required to setup,
its just .net based programme,

hw to fetch,
okey, fetching is very easy , just oipen page to see source code,
copy calender .swf link and add in ur .net window form,

and we'll make sub-form that'll show us upcoming news , alert , set GMT,
remaining time,
and the best thing is that we can minimized it on taskbar.

so,
any idea???

euclid Nov 23, 2011 1:58pm | Post# 11

good indicator b8 failed to show us forecast, actual, and previous and need to add impact high,medium or low,

wanna work with me.


1st thing we need to make a software , not a mq4 file,
if we made mq4 file to show all this thing in the indicator window
thn it'll not possible,
so we'll make software ,
hw??

we'll fetch calender data from either forexfactory or different source,
it'll not required to setup,
its just .net based programme,

hw to fetch,
okey, fetching is very easy , just oipen page to see source code,
copy calender...
If you want a standalone application, there is one already here: http://www.forexfactory.com/showthread.php?t=310910

I may add actual, previous & forecast numbers if I add the capability to list past events; but I regard this as too much information. This is primarily designed as a tool to assist my trading. I have tried to make the display as simple as possible showing only the information that helps me trade. As a trader, I have no interest in the actual news, this is a distraction. All I need to know is the timing of the event and what type of event it is.

Shabs19 Nov 23, 2011 4:43pm | Post# 12

Good Answer
 
All I need to know is the timing of the event and what type of event it is.

value_ Nov 23, 2011 4:56pm | Post# 13

Nice and simple. Thanks!

euclid Nov 25, 2011 10:40am | Post# 14

Update in Post 1: fixed sub-window bug.

rorieu Dec 15, 2011 10:34am | Post# 15

Finishing Touches
 
"... display as simple as possible showing only the information that helps me trade. As a trader, I have no interest in the actual news, this is a distraction. All I need to know is the timing of the event and what type of event it is".

Agreed.

All it needs is a choice of corner (0,1,2,3) and a choice of font size (smaller) for the Table.

A suberb indicator, thank you.

r

ghprod Feb 7, 2012 2:09am | Post# 16

Hi Euclid,

how to integrate this indy into EA to filter news?

thank

TraderX99 Feb 17, 2012 2:47am | Post# 17

news indicator
 
Hi, thanks to build this Indicator,, I have an idea,, just how to make the number of economic event calendar appear realtime like in ForexPros calendar.. thanks

phil13 Feb 17, 2012 11:52am | Post# 18

thanks euclid for this news indy, works great.

mesa Apr 8, 2012 7:21pm | Post# 19

Thanks euclid !!!
Helps a lot

euclid Jul 19, 2012 9:36am | Post# 20

I've done some updates, mainly cosmetic.

 

  1. Fonts and default colours changed to improve readability (for me at least)
  2. You can now have multiple instances of the indicator on a chart to display different tables. Give each table a different title. Note Only one instance can have vertical lines enabled.
  3. You can now align to the bottom corners using (HorizAlign, VertAlign)

    Top Left = (1,1)
    Top Middle = (0,1)
    Top Right = (-1,1)
    Bottom Left = (1,-1)
    Bottom Middle = (0,-1)
    Bottom Right = (-1,-1)



© Forex Factory