Stocks close high amid selling pressure