One of the options is a time - series analysis. Python has a good library from Facebook - Prophet
. The library works well out of the box, has built-in tools for visualization.
On Habre it is possible to find an article about the Prophet. I was trying to use the library for prediction of fluctuations of the currency pair - example on github-e