red news
-
how to i tell ea not to open trades one hour before and after red news ?
-
If you know exactly at what time those events happen, you can create two string variables to specify those opening/closeing periods within a 'Time filter' block.
-
@l-andorrà i thought there were a auto red news identifier
-
@jaap News filter is on my list of things to do, so I don't have a solution, yet. One popular indicator is ffcal. Check this one it should be working with the "new" Forex Factory Calendar URL.
https://www.forexfactory.com/showthread.php?p=12238559#post12238559
It should provide 2 buffers that you can use as I remember correctly. It's counting the minutes down till next news.
-
Dear trader.philipps. Would be so kind to share it once you develop it?

-
@l-andorrà I know you can do so either. If you have some spare time, here is all you need (from what I see at the moment).
Use this version! I only added lables to the 2 buffers.
0_1580085642689_forexfactory.mq4
Use those settings!

Buffer considerqations:
For usage, please bare in mind that the 2 buffers only show the next news event that is a valid entry due to configuration. So for instance if you want low and medium news covered and 2 events of each time occur at same time and for some reason the medium news is found first, it will display the 2 buffers only for that one. Hence, if you plan for more than one news type, I'd suggest to make 1 configuration per news type!Does that make sense?
You may start a project and share the results to us.
-
Haven't you tried it yourself? Can you please share some screenshots about how it looks?