The Indian stock market has shown resilience with notable gains in major indices, but uncertainties persist due to foreign investment trends.