
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
in other words it is not using a tcp/ip protocol for the price feed conection. [...] The price feed connection to the broker simalar to, or actually of, the UDP type connection
Tcpview seems to indicate that the connection from MT4 to the broker is TCP, not UDP.
Just useful information about precision of the system time in Windows, and in MetaTrader respectively [...]
I think you are referring to things like GetTickCount(). All versions of Windows from 2000 onwards also provide a high-frequency system timer. See http://msdn.microsoft.com/en-us/library/ms644904(VS.85).aspx etc. The typical 16ms granularity of GetTickCount() has no bearing on the ability to draw a 100ms chart, particularly because such a chart would almost certainly be drawn based on the broker's timestamp, not the local computer time. If the MT4 timestamp had millisecond precision, which it doesn't.
Personally I am sure that the decision not to have a tick chart was a pure design decision [...]
Undoubtedly true. Partly because of the MT4 platform's slightly unusual definition of a "tick", and the fact that it leads to a very different number of "ticks" depending on which broker you are connected to.
1. Exactly, I am referring to "GetTickCount()", that is used in MetaTrader4.
2. Using "QueryPerformanceCounter" and "QueryPerformanceFrequency" for high-precision timings looks like naive, because these functions are based on the CPU's clock speed.
We well know that CPU's clock speed is not stable and may be switched by the system on the run.
2. Using "QueryPerformanceCounter & QueryPerformanceFrequency" for high-precision timings looks like naive [...]
[...] because these functions are based on the CPU's clock speed.
3. We do not need to syncronize time stamps to get the artifical 100 ms chart.
4. MT4 has ability to have precision 1 ms, because we can reprogram PIC.
http://blogs.msdn.com/b/oldnewthing/archive/2008/09/08/8931563.aspx?PageIndex=2 :
"
Carsten Orthbandt
Most times QPC is mentioned there's one very very important thing missing.
The fact that QPC is grossly unreliable. Depending on the actual hardware and CPU load, QPC will randomly jump back and/or forth several seconds (in my experience it was usually ~4 seconds).
You _can_ work around that by tracking wall-clock time too and trying to detect those leaps.
"
Carsten Orthbandt [...]
Processors are manufactured not by Microsoft.
Processors are manufactured not by Microsoft.
They're not? Wow! I never knew. Thank you.