Download MetaTrader 5

(bug) Variables with wrong values in the Watch window

To add comments, please log in or register
Jin
1540
Jin  

To Development team of MQL5 ,

It seems that the Watch window is showing wrong values of variables that I am passing as arguments to a function.

For example:

void OnStart()
{
   double q = 0.5;
   double p = 1.2;
   Dummy(q, p);
}

void Dummy(double qty, double price)
{
   Print(qty);      
   Print(price);     //<= breakpoint here
}  

Even though in the Experts window the variables qtd and price are printed corretly, the Watch window is showing a wrong value to price; in this case, 7.748383280539996e-62.

Could you please, check it out?

Thanks. 

Ilyas
1205
Ilyas  

Thank you for message. Fixed, wait for updates.

To add comments, please log in or register