Solo gli utenti che hanno acquistato o noleggiato il prodotto possono lasciare commenti
Hans Alexander Nolawon Djurberg  

This is the sample EA code for how to use the GetFFEvents.ex4 file into your system from the Market library.

It's easy to integrate/import into your EA to analyze each news even in strategy tester.

There are Start/End interval time,that you can download all news during the date you will specify in the input

parameters,then it will show/display each news on chart,and then you can save them into a file for strategy

tester to analyze the news or using for news filtering during the news time.

Note:

Please add the address "https://www.forexfactory.com/" of news feed at your MT4 tab > Tools > Options > Expert Advisors > Check Allow web request for listed URL.

Jacek Pawel Bialek  

hello,

how to download news for backtesting please ?

Hans Alexander Nolawon Djurberg  
Jacek Pawel Bialek #:

hello,

how to download news for backtesting please ?

Hello,

Please download the above sample code,then in input parameters there is "DownloadNews",so it's False as default,

First you set it to True within the specified date/time in the EA,then after downloading,you can use the news data in backtest mode within that date/time specified in the EA to download.

Yuji Hiiragi  
Hans Alexander Nolawon Djurberg #:

This is a new sample for filtering the before news releasing,and continue trading after the news released,


the default setting is 15 minutes,

you can modify it to what you want.

Thank you for prompt actions !  I've just started using the library in my own EA. Just a few more questions.

1. How can I confirm that the news filter is active during the back test ?

2. Which location is the news file downloaded ?

I don't see any files in /MQL4/Files/ directory.

Hans Alexander Nolawon Djurberg  
Yuji Hiiragi #:

Thank you for prompt actions !  I've just started using the library in my own EA. Just a few more questions.

1. How can I confirm that the news filter is active during the back test ?

2. Which location is the news file downloaded ?

I don't see any files in /MQL4/Files/ directory.

1- You will see the comment of "During news time" in backtest mode on chart.

2- the location is in Common folder.Roaming>Terminal>Common folder.which can be used in both backtest and live modes.

Yuji Hiiragi  
Hans Alexander Nolawon Djurberg #:

1- You will see the comment of "During news time" in backtest mode on chart.

2- the location is in Common folder.Roaming>Terminal>Common folder.which can be used in both backtest and live modes.

Thank you for your reply. Now I can see the library is working so good both in live and backtest !

Hans Alexander Nolawon Djurberg  
Yuji Hiiragi #:

Thank you for your reply. Now I can see the library is working so good both in live and backtest !

You're welcome.

yosual01  
Greetings, i put the code first code sample that You proved in location of common files, I want use for live like news filter, so when try to execute the script in chart it doesn't nothing, I don't know if i need to do something more or need i put the mql4 in common files and indicator or eas files too?
Hans Alexander Nolawon Djurberg  
yosual01 #:
Greetings, i put the code first code sample that You proved in location of common files, I want use for live like news filter, so when try to execute the script in chart it doesn't nothing, I don't know if i need to do something more or need i put the mql4 in common files and indicator or eas files too?

Hello,

Have you done this step :

Please add the address "https://www.forexfactory.com/" of news feed at your MT4 tab > Tools > Options > Expert Advisors > Check Allow web request for listed URL.


And the EA sample code,should be added into your EA code,and should be in Experts folder,not common files.

yosual01  
Hans Alexander Nolawon Djurberg #:

Hello,

Have you done this step :

Please add the address "https://www.forexfactory.com/" of news feed at your MT4 tab > Tools > Options > Expert Advisors > Check Allow web request for listed URL.


And the EA sample code,should be added into your EA code,and should be in Experts folder,not common files.

Thanks, now I'm ready it worked 
Solo gli utenti che hanno acquistato o noleggiato il prodotto possono lasciare commenti