Features of the mql5 language, subtleties and tricks - page 195
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
A way was once proposed to determine the GMT offset of the server time. It doesn't always work exactly.
Below, it seems, is the exact version.
The trading history can be full of market orders with REJECTED status. As a rule, these are the targets.
Some servers have a special feature for such market orders that have received a REJECT: the status is different - CANCELED.
Is this a bug or a chip with string to time conversion?
That's the way it's always been. But I would have done it a little differently...
And if you just print out this time, all you have to do is
This has always been the case.
An interesting consequence then.
Concise and surprising. Because the compiler does not convert what appears to be a constant to a constant.
An interesting consequence then.
Concise and surprising. Because the compiler doesn't convert what appears to be a constant to a constant.
Is the empty string the current date?
ps; Surprisingly... Indeed the current date, but the time is 1:00An interesting consequence then.
Concise and surprising. Because the compiler doesn't convert what appears to be a constant.
Does it substitute TimeCurrent or TimeLocal?)
I remember in some languages creating a date type automatically initializes it with the system time.
Current date indeed, but the time is 1:00 a.m.
No suggestion as to where the hour is coming from (the same for me). Probably depends on the time zone.
This is no longer interesting.