Nevron .NET Vision Documentation
Simple Moving Average

Syntax
SMA(values; period)
Arguments
The 'values' argument must be an array.
The 'period' argument must be a constant greater or equal to 1.
Result
The result is an array. The first 'period' elements are marked as invalid.
Description
A Moving Average is an indicator that shows the average value of a security's price over a period of time. A simple, or arithmetic, moving average is calculated by adding the price of the security for a number of time periods (e.g., 12 days) and then dividing this total by the number of time periods. The result is the average price of the security over the time period. Simple moving averages give equal weight to each daily price.
Related Examples
Windows Forms: All Examples\Data Manipulation\Functions\Financial\Moving Averages

 

 


©2017. Nevron Software LLC.

Send Feedback