Moving Average Example

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.

Video Demos and Tutorials


Moving Average
The moving average example calculates a moving average of a given time series, based on the value of a slider control.