MetaTrader 4 Client Terminal build 646: New Smart Search, Books in the Market and Updated Window of MQL4 Application Settings - page 12

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
Terminal build 646 does not respect the time when beginning a new bar, it starts the new bar several seconds before the supposed end time of that bar.
Well I mean there should never be a new bar beginning at 11:59:5x seconds because any tick before 12:00:00 belongs to the previous bar. But many times a new bar starts several seconds before the correct open time.
First part is clear, but sorry but I still don't get it your point. Are you reporting a bug in build 646 ?
Or is it related to broker feeds since mine is opened few seconds later.
Indeed, and OnEvent has the same problem.
Sleep(), OnTimer(), OnEvent() - all are messed up if you compile anything (does not matter what - it does not have to be related to the running code at all). It will affect any code using those functions (indicators, scripts, EAs) in the moment of compilation
And all such running stuff require that you restart terminal or they will not work as they should. Error is caused by the compiler
I found problems with version 650 and 652.
Aft er recompiilation of live working in Terminal EA or Indicator :
- OnTimer function not triggers
Reopening Terminal eliminates problem.
Reproduced.
Just reopen chart to eliminate problem.
Sleep(), OnTimer(), OnEvent() - all are messed up if you compile anything (does not matter what - it does not have to be related to the running code at all). It will affect any code using those functions (indicators, scripts, EAs) in the moment of compilation
And all such running stuff require that you restart terminal or they will not work as they should. Error is caused by the compiler
Could you explain the problem with OnEvent and Sleep?
Could you explain the problem with OnEvent and Sleep?
Sleep, for example, starts to "sleep" 10 seconds (or some random time interval but anything it has been given) instead of given interval in milliseconds (in my case 250 milliseconds)
PS: I hardly believe that restarting terminal each time when I compile a peace of code is a solution. All the best
Or is it related to broker feeds since mine is opened few seconds later.