#property link "http://www.metaquotes.net" #property show_inputs extern int Digit=0; double Digit0; //+------------------------------------------------------------------+ //| script program start function | //+------------------------------------------------------------------+ int start() {
#property link "http://www.metaquotes.net" #property show_inputs extern int Digit=0; double Digit0; //+------------------------------------------------------------------+ //| script program start function | //+------------------------------------------------------------------+ int start() {
#property link "http://www.metaquotes.net" #property show_inputs extern int Digit=0; double Digit0; //+------------------------------------------------------------------+ //| script program start function | //+------------------------------------------------------------------+ int start() {
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.
A hangover ice compress invented in 1947 by a Max Factor employee for Hollywood actresses.
MT4 doesn't like 4...
#property show_inputs
extern int Digit=0;
double Digit0;
//+------------------------------------------------------------------+
//| script program start function |
//+------------------------------------------------------------------+
int start()
{
//----
if (Digit==0) Digit0=Digits;
else Digit0=Digit;
Print (" Точность ", Digit0,". ",ND(0.123456789));
//----return(0);
}
//+------------------------------------------------------------------+
//+------------------------------------------------------------------+
double ND (double v)
{
return(NormalizeDouble(v,Digit0));
}
//-------------------------------------------------------------------
Res. :о
2010.07.05 07:59:23 dig EURUSD,M5: Digit=0;
2010.07.05 07:59:21 dig EURUSD,M5: loaded successfullyMT4 does not like 4...
#property show_inputs
extern int Digit=0;
double Digit0;
//+------------------------------------------------------------------+
//| script program start function |
//+------------------------------------------------------------------+
int start()
{
//----
if (Digit==0) Digit0=Digits;
else Digit0=Digit;
Print (" Точность ", Digit0,". ",ND(0.123456789));
//----return(0);
}
//+------------------------------------------------------------------+
//+------------------------------------------------------------------+
double ND (double v)
{
return(NormalizeDouble(v,Digit0));
}
//-------------------------------------------------------------------
Res. :о
So much for the five digits... ;)You're confused. Not NormalizeDouble, but DoubleToStr
>
MT4 does not like 4...
#property show_inputs
extern int Digit=0;
double Digit0;
//+------------------------------------------------------------------+
//| script program start function |
//+------------------------------------------------------------------+
int start()
{
//----
if (Digit==0) Digit0=Digits;
else Digit0=Digit;
Print (" Точность ", Digit0,". ",ND(0.123456789));
//----return(0);
}
//+------------------------------------------------------------------+
//+------------------------------------------------------------------+
double ND (double v)
{
return(NormalizeDouble(v,Digit0));
}
//-------------------------------------------------------------------
Res. :о
So much for the five digits... ;)There's nothing to put in the double nine digits
>
>
It looks like a montage.
>