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
Sine function of an angle θ is defined by the ratio of the length of the side of the triangle opposite to the angle and the length of the hypotenuse in a