Buying in IT stocks also supported the positive trend in the markets.