
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
This is not done. Contact a specialist.
I noticed backtesting seems to be limited to about 5 years(from 2017 onwards), even though all news events are dowloaded correcly (BIN file is 67mb). Is there a limit to how many events MT5 can handle in memory for backtesting?
Result.
The first event in the calendar database is January 2007.
calendar of events is prescribed significantly forward into the future. That's why you can use a reminder in MT4, having saved a file from MT5 data beforehand (a month before, for example).
This is what I do for MT4.
Steps for working with the calendar in MT4.
1. Run a script in MT5 that will save the calendar to a Common file.
2. Load the calendar from the Common file into MT4.
As an example below is a reminder of important events on currencies of the current symbol, working in MT4.
After launching we have a chart updated (countdown) reminder of important events on the currencies of the symbol directly in MT4.
Similarly Calendar can work in MT4-Tester.
I keep hitting an issue though, I do the standard download of the calendar file
then set a starttime and get events after this time in a loop for each currency.
Try to paste the sources so that they can be read.
Thanks for the strong labours useful stuff.
Of course, such works should be developed and corrected and describe the documentation, the whole community and not just one person. But for some reason the administration itself does not give such provisions as well as does not insert a link to the same GitHub, for proper organisation. Although there are projects, their use, almost the same GitHub.
Thank you! for the code, it is very interesting to read such code, honestly: overloading templates lack of comments )) what is worth this creativity, 5 minutes thought what is it? an instance of a class or an array with data. In general, everything for brain development. The work is certainly cool, you should only understand how it worksIt would be nice if the function sorted by time the whole array after merging
It would be nice if the function sorted by time the whole array after merging
Give an example where it doesn't do that.
Give me an example where this is not the case.
Your code is hard to understand, but I assume that there is a final sorting in the code above, but the code is probably in error. Not often, but when merging arrays, the final array comes with errors in the form of lack of sorting, because the most recent elements in the array should have a longer period of time.