Stocks closed mostly flat on Friday amid a strong dollar and as earnings season continued.

The Dow Jones industrial average closed about 15 points after momentarily trading higher, with IBM contributing the most losses, offsetting gains from McDonald's and Microsoft. At session lows, the index fell 112.58 points.