Overview
The moving average example demonstrates calculating a moving average from a time series of prices, and then charting the result. The size of the moving average is determined by the slider given underneath the chart. Updating the moving average size will dynamically update the chart.
First Step
The first step is to obtain the data.