This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community

Lagging comment function in mt4


Back to topics list
avatar
13
Stevenson 2005.08.19 14:26 
I don't know if anyone else noticed , that comment function is lagging. What i mean is that. When price moves ,information showed in comments are as it were before price had moved .I just put below simple code check yourself how bid and ask price differs from actual price.

int start()
  {
    Comment("  Bid  ",Bid,"  Ask  ",Ask,"  Seconds  ",Seconds());
 return(0);
  }


http://img389.imageshack.us/img389/9499/bidask4wb.jpg

the same with time
http://img389.imageshack.us/img389/8127/39ax.jpg

And there is no such problem with MT3.

avatar
50
marynarz15 2005.08.23 00:35 
I tried and it works ok. Prices are current.
Try MarketInfo() function. Perhaps it would be better.

Regards
Rafael
Back to topics list  
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets