The buyers maintained the upper hand as the number of advancing stocks remained above decliners while the trendlines of the rally were tested intraday.