• Overview
  • Reviews
  • Comments (2)
  • What's new

ForexNEWSandMarketHoursBarOffline

Upgrading of this Indicator Stop!

Please use this indicator: https://www.mql5.com/en/market/product/5307

The Forex NEWS is very important and traders must study high impact news and medium or bank Holiday and know when a market will start and end. This indicator (offline version) get data from Forex Factory file that you downloaded and display all NEWS on your chart. it is best tools that integrated all data in a chart. A ability of this indicator is display the markets hours. you can set your local time zone and your broker server zone in parameters and set parameters for which market you need to display on indicator windows.

I suggest to you download demo version and see the ability of this indicator.


Parameters

  • DrawAllDaysMarket - if set true, draw market start and end hours for all days and if it set false draw only for today.
  • ActiveColor - color for display current and active market.
  • InactiveColor - color for display finished market.
  • MarketLineWidth - width of markets line.
  • MarketLineStyle - style of markets line.
  • ShowTokyo - show or not show this market line indicator.
  • ShowHongKong - show or not show this market line indicator.
  • ShowLondon - show or not show this market line indicator.
  • ShowFrankfurt - show or not show this market line indicator.
  • ShowNewYork - show or not show this market line indicator.
  • ShowChicago - show or not show this market line indicator.
  • ShowSydney - show or not show this market line indicator.
  • ShowWellington - show or not show this market line indicator.
  • OfflineFileName - enter Forex Factory weekly file that downloaded and put file in your Metatrader directory\MQL4\Files
  • DrawAllDaysNews - for all days draw NEWS line if it is true and draw only for today news line if it is false.
  • ShowAllCurrency - draw NEWS line for all currency pairs if it is true and draw only for today if it is false.
  • ShowHigh - show or not show this market type impact.
  • HighColor - color of this impact NEWS line.
  • ShowMedium - show or not show this market type impact.
  • MediumColor - color of this impact NEWS line.
  • ShowLow - show or not show this market type impact.
  • LowColor - color of this impact NEWS line.
  • ShowHoliday - show or not show this market type impact.
  • HolidayColor - color of this impact NEWS line.
  • NewsLineWidth - line width of NEWS.
  • NewsLineStyle - line style of NEWS.
  • SameBarGapSize - if there are some NEWS in a time the Line draw with a gap between of them. This parameter define this distance.
  • RefreshTimeForGetData - if it set zero,indicator updating is disable, and if enter a number the indicator every minute you enter for this parameter, update its data from Forex Factory website. Also if you press "F" key on keyboard, indicator updating data.
  • AbsLocalTimeZone - your local time zone in winter time. (without DST)
  • LocalDstStart - start of day light saving time in your local time.
  • LocalDstEnd - end of day light saving time in your local time.
  • AbsServerTimeZone - your broker server time zone in winter time. (without DST)
  • ServerDstStart - start of day light saving time in your server time.
  • ServerDstEnd - end of day light saving time in your server time.


How do I prepare?

Open Internet explorer and enter to Forex Factory site at address www.forexfactory.com click on this week and when screen refresh finished, save this page from file menu to your MetaTrader directory in \MQL4\Files folder (enter a name for file that not forget it). Run indicator and set OfflineFileName parameter to your file name and its extension only. Indicator will begin their work and find this file at this path.


How often should it be done?

At the beginning of every week and every time you see new news has been added to the list or change.


Can do this job the indicator itself?

It is the offline version and in the online version the indicator automatically download data and show this on indicator . but because of indicator uses the DLL function and it is against the MQL5 rules it can not possible put this product at this site.

No reviews
Version 1.48 - 2016.04.15
Update indicator's core and correct market sessions times in summer and winter times
Version 1.45 - 2016.04.12
- Update the core of the indicator
- Added the following parameters:
AbsLocalTimeZone
LocalDstStart
LocalDstEnd
AbsServerTimeZone
ServerDstStart
ServerDstEnd
The indicator automatically calculates DST (Daylight saving time).
Version 1.12 - 2015.08.11
Previous version had an error in TimeZone that corrected in ver 1.12.
Version 1.11 - 2014.09.29
Fixed error in displaying forex session time.