// NormalizeDouble function returns negative value if argument is big double number!
int OnInit()
{double var=DBL_MAX, var1=NormalizeDouble(var,2);
Print("var=",var," var1=",var1);
ExpertRemove();
return(INIT_SUCCEEDED);
}
//returns var=1.797693134862316e+308 var1=-9.223372036854776e+016
// NormalizeDouble function returns negative value if argument is big double number!
int OnInit()
{double var=DBL_MAX, var1=NormalizeDouble(var,2);
Print("var=",var," var1=",var1);
ExpertRemove();
return(INIT_SUCCEEDED);
}
//returns var=1.797693134862316e+308 var1=-9.223372036854776e+016
- www.mql5.com
// NormalizeDouble function returns negative value if argument is big double number!
int OnInit()
{double var=DBL_MAX, var1=NormalizeDouble(var,2);
Print("var=",var," var1=",var1);
ExpertRemove();
return(INIT_SUCCEEDED);
}
//returns var=1.797693134862316e+308 var1=-9.223372036854776e+016
There is no problem to use NormalizeDouble(), if you are using it correctly.
Please don't come here with "coding propaganda".
Alain, it seems you getting your moneys from other people trauma, there is no propaganda, its just bug,.. and i jus twant to help others, as you do not want to
???
I was not answering to you but to Carl, and he knows perfectly what I am talking about.
About your initial post, yes it's a bug, but nobody cares as it makes no sense to use NormalizeDouble on such big numbers as reported by Ovo.
About your last message, you should thing better about what you write to people you don't know, that's just incredible to answer such aggressive things.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
// NormalizeDouble function returns negative value if argument is big double number!
int OnInit()
{double var=DBL_MAX, var1=NormalizeDouble(var,2);
Print("var=",var," var1=",var1);
ExpertRemove();
return(INIT_SUCCEEDED);
}
//returns var=1.797693134862316e+308 var1=-9.223372036854776e+016