MQL4参考 预定义变量 Digits
Number of digits after decimal point for the current symbol prices.
Example:
Print(DoubleToStr(Close[0], Digits));
See also
MarketInfo()