Metatrader known bugs ... - page 33

 
sebastianK:
Did they give any explanations why did they stop working?

No, as usual. No answer. No reaction. Nothing. So they had no idea - as usual

 

HMMMM.......... It seems 625 is looking better and better.

 
checkin:
OnTimer() and OnEvent() functions are not working in new builds

Tested few builds :

They work in build 646

They work in build 650

The do not work in build 652 (the newest)

 
mladen:
Tested few builds :

They work in build 646

They work in build 650

The do not work in build 652 (the newest)

Did anybody get an answer what is going on?

How can we trade if we are forced to use beta versions?

 
sebastianK:
Did anybody get an answer what is going on? How can we trade if we are forced to use beta versions?

Posted it already here https://www.mql5.com/en/forum/178300/page3, but will repeat it :

Correction

OnTimer() works, but

You have to restart the terminal if you compile the indicator. If you do not restart the terminal, does not matter what you do, it will not work. It seems thatcompiler kills the timer forever

One more bug to the collection
 
mladen:
MarketInfo(Symbol(),MODE_SPREAD) frequently returns wrong value

Not a new bug.

MrPip says it is probably because brokers do not always update it.

To get spread use:

double spread = MarketInfo(Symbol(), MODE_ASK) - MarketInfo(Symbol(), MODE_BID);

Big Be

 
Big Be:
Not a new bug.

MrPip says it is probably because brokers do not always update it.

To get spread use:

double spread = MarketInfo(Symbol(), MODE_ASK) - MarketInfo(Symbol(), MODE_BID);

Big Be

According to metatrader help file MarketInfo() "Returns various data about securities listed in the "Market Watch" window". Conclusion, neither MODE_ASK nor MODE_BID are reliable (that is the only explanation why MODE_SPREAD can be wrong)

 

Compilation of any code causes functions like OnTimer(), OnEvent(), Sleep() to start working incorectly

You must restart terminal to make them work OK again (builds 650 and 652)

__________________

PS: that will cause big problems in a majority of EAs that use sleep function to make some pause in cases when order operation failed (99.99% correctly written EAs are not going to work correctly if you compile anything while they are working). Do not compile anything if you are using some EA on your live account (or you might experience big problems)

We are back in the alpha stage of alphatrader

 

So the solution according to metaquotes is not to work on any code. We should buy books, magazines, signals but we must mot cope. It is getting better and better each and every day

 
checkin:
According to metatrader help file MarketInfo() "Returns various data about securities listed in the "Market Watch" window". Conclusion, neither MODE_ASK nor MODE_BID are reliable (that is the only explanation why MODE_SPREAD can be wrong)

checkin,

You are trying to apply logic. To MetaTrader.

And brokers.

Big Be

Reason: