Stocks struggle to push out of the red after weeks of record highs