Download MetaTrader 5
To add comments, please log in or register
Find out the most discussed Forum topics. Have a look at the Wall section!
Automated-Trading
Admin
99080
Automated-Trading 2016.05.20 17:37 

Retrieve high impact events from ForexFactory.com and display them in your indicator or Expert Advisor:

As I'm currently developing an Expert Advisor for Crude Oil and Brent, I wanted to get from ForexFactory.com the exact date and time of the 'Crude Oil Inventory' report. This report is typically issued on Wednesday's at 10:30am Eastern but when there's a holiday, the release date can change. As this is an important report for my EA, the only way was to check an online service to validate the release date.

Author: Claude Beaudoin

Mohammad Soubra
24621
Mohammad Soubra 2016.05.20 18:02  

Finally!

Great post

Thanks for this valued work 

Claude Beaudoin
997
Claude Beaudoin 2016.05.20 20:27  
Mohammad Soubra:

Finally!

Great post

Thanks for this valued work 

Thanks Mohammad!
Osama Shaban
1415
Osama Shaban 2016.05.21 13:59  

Thanks Claude ...

I planned to go on some project like this in the next few weeks. I know it is not easy task.  I need such feature to

add it to one of my EAs to prevent high impact news. I never make my code use WebRequest( ) function, so, I expect big difficulties are in the way.

You really saved my time.

100 x (Thanks a lot). 

Claude Beaudoin
997
Claude Beaudoin 2016.05.22 15:08  
Osama Shaban:

Thanks Claude ...

I planned to go on some project like this in the next few weeks. I know it is not easy task.  I need such feature to

add it to one of my EAs to prevent high impact news. I never make my code use WebRequest( ) function, so, I expect big difficulties are in the way.

You really saved my time.

100 x (Thanks a lot). 

Glad is was of value to you.  Enjoy!
Gusti Risyadi Noor
1608
Gusti Risyadi Noor 2016.06.14 06:39  

Greate Code....

Daniel Abitbol
215
Daniel Abitbol 2016.09.26 15:51  
Hi Claude, when I drop the EA (as found here) on a chart, nothing happens. Is this normal? 
Claude Beaudoin
997
Claude Beaudoin 2016.09.26 23:03  
Daniel Abitbol:
Hi Claude, when I drop the EA (as found here) on a chart, nothing happens. Is this normal? 
If there are no high impact events for that day, it's normal that nothing would have been displayed.
Daniel Abitbol
215
Daniel Abitbol 2016.09.27 17:13  

Yes I see it the marker perfectly now. However, the marker shows well for the Eastern Canada time zone, but not for this time zone.

Being a newbie coder, I am having a real hard time trying to adapt it to my time zone.

I added (6*60*60) to each time I saw a line with "StrToTime" as per example below:

StrToTime(DailyEvents[cntr].time)+(6*60*60)

But then on the chart itself, it shows up an hour earlier due to the time zone of my broker.

I give up and I really wish that you could add these features. thanks in advance 

Ivvy
8
Ivvy 2016.09.27 18:38  
Please please comment on this some or everyone .. I'm a little spooked to be honest as I never thought it would actually happen , I've literally got thousands of hours of watching the charts and also I back tested my theory and system on the market and it never failed .. No trades even needed to be left in the market for longer than 2 months and that's worst worst case scenario 
Ivvy
8
Ivvy 2016.09.27 18:43  
I gained 8432 pips in just 3 days 
/
To add comments, please log in or register