In addition to using moving averages, some traders also use trend lines to help identify the How to calculate average price of shares bought at different prices direction of the stock price.