
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
Yedelkin:
But in doing so, I would have to accept three types of risk:
- the risk that the quotes would in fact arrive at a time which does not correspond to GMT+1 timezone;
- the risk that the time indicated with the quotes would not actually support Daylight Saving Time;
- the risk that the switch back to winter time will not be implemented for a quote time other than October 28.
This is exactly what I am talking about!
All right, this discussion seems to have reached its conclusion as the Organiser's main response is that it will be GMT+2 until 28th October 2012 and GMT+1 after 28th October.
The question of historical data is no longer of interest to me, as I simply took these changes into account in the EA.
Tried to use functions on historical data to determine the time:
All show the same time = TimeCurrent(); Ofset=0;
Can you tell me, maybe I'm doing something wrong?
If I'm doing everything right, then how can I use these functions when testing?
Tried to use functions on historical data to determine the time:
All show the same time = TimeCurrent(); Ofset=0;
Can you tell me if I'm doing something wrong?
dear Roche... I don't understand why it is so difficult to answer whether there will be a switch to winter time on October 28?
not everyone here is a super programmer who can do nuclear fusion by means of µl!!!! (most of the language is on the other side of the screen).
this is the forum for asking!!!!!!!!!!! (w.m.)
but how do I make an amendment?
Yes, that's correct. See article"Basics of testing in MetaTrader 5", section "Simulation of time in the tester". All show the same time = TimeGMT().
Yes, thank you, I saw that. That's pretty much it.
This is just a reason to keep repeating the same advice: in trading oriented to certain timezones, you should use TimeGMT(). In this way you will get that "universality", which was mentioned yesterday :)
In trading, yes, but in testing?
How do I know if daylight saving time has been changed in testing? It turns out you can't?????
In trading, yes, but in testing?
How do I know if daylight saving time has been changed in testing? It turns out that there is no way?????
And in testing - too. Judge for yourself. If we start from GMT, we have to assume that this timezone remains unchanged throughout the year. After all, all other timezones, if they have daylight saving time, add one hour to GMT. This means that in the GMT tactical orientation you must monitor if the desired timezone is in summer/winter time. I.e., the code must already contain checks for the occurrence/end of daylight saving time in the desired timezone. These checks will work in the tester.
Of course, this is true if the quotes in the history are stored with GMT-times, but this question hasn't even arisen yet :/
but how do I make an amendment?