Moving averages can smooth out the stock prices and reduce the randomness. Based on the previous projects (stock price random walk with candlestick chart, and trending stock price random walk
In this tutorial we are show you how to draw random mountain curves: The general idea is to define a recursive function that draw mountain curve given two end points.