Get the precious value of MACD. - page 2

 
bottom line it's the same
but if you read the documentation carefully you can see a small difference

string DoubleToString(
double value, // number
int digits=8 // number of digits after decimal point
);

string DoubleToStr(
int value, // value
int digits // precision
);
 
qjol:
bottom line it's the same
but if you read the documentation carefully you can see a small difference

string DoubleToString(
double value, // number
int digits=8 // number of digits after decimal point
);

string DoubleToStr(
int value, // value
int digits // precision
);
So not specifying the precision for DoublToStr() must return an error 4050 . . . unless the Documentation is incorrect.
 
RaptorUK:
So not specifying the precision for DoublToStr() must return an error 4050 . . .

right (it's supposed to but...)
RaptorUK:
unless the Documentation is incorrect.


and right
 

If you enter string DoubleToStr(.....,

the autoparameter info shows int digits=8

so it does suggest that 8 is the default.

 
GumRai:

If you enter string DoubleToStr(.....,

the autoparameter info shows int digits=8

so it does suggest that 8 is the default.


In case no parameters set, yes, 8 is the default.