News during Backtest
-
well... according to the author - YES
I've never tried it myself, cause live option is not what I'm aiming for. -
Hi!
I got this project a little bit forward, adding the 6 datetimes to the indicator buffers and also visualizing the event dates. Keywords aren't supported in this version.
-
@roar said in News during Backtest:
Hi!
I got this project a little bit forward, adding the 6 datetimes to the indicator buffers and also visualizing the event dates. Keywords aren't supported in this version.
very cool @roar , very cool !
I am convinced that with each subsequent version of your work we will reach a one blocker on fxDreema

In the meantime, thank you once more for your commitment !
-
so I've ran a few tests and already can do some basic news filtration.
Awesome stuff ! Can't wait for next upgrades.@roar quick question - is there any chance to 'force' the indicator to include news buffers from currencies other than the one being tested?
If so, where can I add those currencies in the indicator's code?
For instance, while backtesting on EUR/USD, I'd also like to consider news from GBP and other currencies I select.And a less urgent matter, maybe for later if it's not much of a hassle - the names of specific news events.
It would be great if they were included in the names of the vertical lines that are shown on the chart.
And that's all for now
-
@Archer glad it works. Currently the indicator filters for USD and the margin and profit currency of current pair. These filters are on line 75, you can add more currencies similar to the "USD" part

-
@Archer oh okay, How can I get it into FxDreema block to be able to use it in real-time inside an EA?
-
@tec-nacks said in News during Backtest:
@Archer oh okay, How can I get it into FxDreema block to be able to use it in real-time inside an EA?
To prevent the EA from opening positions in the live market before and after news events, I came up with this solution:
https://fxdreema.com/shared/x0YpZjKB
You simply need an indicator that draws vertical lines on the chart indicating upcoming news. There are plenty of such indicators available online. Choose one that suits you.
Instead of the "SKIP TICKS" block, you can also use ON/OFF blocks to deactivate the desired block in the EA before and after the news. This way, you won't stop all actions in the "ON TICK" section, but only specific ones.
Just keep in mind that I'm a very basic user of fxDreema. This isn't a genius method, and certainly, more advanced users on this forum might find better solutions. However, it has been working for me for many months, so I'm using it for now.
-
@roar said in News during Backtest:
@Archer glad it works. Currently the indicator filters for USD and the margin and profit currency of current pair. These filters are on line 75, you can add more currencies similar to the "USD" part
thx @roar
So I added the currencies I'm interested in to the code

and ran a test on the USDJPY pair.
It seems like everything is working as it should.
I just hope I didn't mess up your code, and this is how it should be added.
Please let me know if this isn't the right approach. -
@Archer Waowwww...this is superrrrr
How can I didn't see this coming ... Thank you man
What indicator do you use?
-
@ Archer Pls, I would like to use this News Filter in my backtest as well but I don't seem to put together the files and what should be where.
Help with a more straight forward guide pls
-
@Archer pls I'll like you to explain the logic behind why you have Current Candle time to be Above or Equals not below negative 3600 (and is the 3600 and 1800 in seconds or minutes?) and between Skip Ticks and Turn ON/OFF blocks, which do you find me effective?

-
I'm not sure that works, it would be better like this
-
Hello evryone
have good time.
When I put the terminate block on the bot, it doesn't work during the backtest I wanted to see if it was true or not
I mean, this option doesn't work in backtest, but it works in forward test?
Thank you for helping me. -
Hello everyone please I need help on how to use my phone to create a not
-
-
thank you @roar
I'll fallow yor way.I normally use two news idicators:
IceFX.NewsInfo.ex4
FFC_March_2021.mq4
FFC_March_2021.ex4IceFX has a cool built-in additional function for disabling auto trading on the entire platform, but for obvious reasons, you need to be careful when using it if you're using more than one EA.
Regarding the backtest, simply place the file named "All news events 2007-01-01 thru 2023-12-31 timestamped UTC time -- sorted by date, time.csv" into the folder that roar mentioned in the previous message, just rename it to "news.csv".
Then the indicator will start working.The logic in the block you're asking about is simple ->>> -3600 seconds means that one hour before the news, the EA will trigger the SKIP TICKS function, which will block EA actions for a specified number of minutes in that block. So, if you set it to, for example, 90 minutes and the news was at 14:00, the EA won't do anything from 13:00 to 14:30.
I don't know the structure of your EA, so I'm not sure which method, SKIP TICKS or ON/OFF, will be more effective for you.
-
@Archer Yeah I love IceFx but its not available for MT5. or Do you have the MT5 version?
-
nope, and I don't think there is one.
-
Hi @roar !
I'm still testing various configurations in backtesting with this indicator, and as I mentioned earlier, it works fine in a basic scope.
However, to reach a higher level of sophistication and acquire solid data, at least two important functions are missing:-
The first is the option I've mentioned before - filtering news that contain specific keywords along with the impact level, such as "Speaks,H," or/ and filtering based solely on the provided word.
-
The second is the ability to adjust the broker's time and the time in the database concerning daylight saving time. Unfortunately, currently, the tester needs to be stopped four times a year to manually adjust the offset: for daylight saving time, for the two-week gap resulting from the fact that the USA and other regions change time with a two weeks delay compared to Europe, then back to standard time, and again for the two-week gap. Forgetting this adjustment will cause news markers to appear incorrectly on the chart and in buffers depending on the season. Perhaps introducing four separate options for the offset to account for these four time changes at once could work? Or maybe there's an easier solution... I'm not quite sure.
Regardless, I would be extremely grateful if these two functions could be added in the next update.
-
-
Isn't DLS time set by your broker (server time)? Meaning as this is used on backtest, DSL happens anyway...

