Skip to content

MovingAverage Method

MovingAverage

Summary

Moving Average indicators are used to smooth data producing trend indicators.

Signature

1
public abstract MovingAverage MovingAverage(DataSeries source, int periods, MovingAverageType maType)

Parameters

Name Type Description
source DataSeries The source data used for the MA calculation.
periods int The periods used in the calculation.
maType MovingAverageType Method of calculation of MA.

Return Value

MovingAverage

Declaring Type

cAlgo.API.Internals.IIndicatorsAccessor


Last update: July 1, 2022

Comments