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.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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.