A proficient understanding of financial concepts includes the use of moving averages, which are instrumental in gauging trends and forecasting future stock prices. In particular, the application of a volatility measurement, such as the standard deviation of price, dictates the optimal number of periods for smoothing the moving average. This means that the more volatile the price, the shorter the period used for smoothing.