[Archive c 17.03.2008] Humour [Archive to 28.04.2012] - page 199

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.
>