Sensex and Nifty 50 ended lower on Friday, driven by global trends and rate cut expectations. Despite declines, the market is near record highs, indicating cautious profit-taking. Analysts suggest buying quality stocks as the Nifty 50 shows potential for further gains if it maintains above 26,300.