A machine learning library helps a computer to predict future results and trends with the use of available data. It uses past data at different times to predict the future prices of the stock. As the amount of money traded every day is billions in the stock market world, it has always been a goal or challenge for investors to predict the stock more accurately. Research will provide stock prediction for future results, whether the stock is closed or short. It will give an indication, based on previous data or historical data that it is to be provided. To demonstrate the methodology, sixteen stock indicators have been applied to the stock data of the last nineteen years of the Nifty-50 with the help of machine learning libraries such as Numpy, Pandas, Matelpotlib, Skleren, etc. We use the diff indicators to analysis the data.