Skip to content

SimpleMovingAverage Method

SimpleMovingAverage

Summary

The simple moving average smoothes the price data producing a trend indicator

Signature

1
public abstract SimpleMovingAverage SimpleMovingAverage(DataSeries source, int periods)

Parameters

Name Type Description
source DataSeries The source data used for SMA calculation.
periods int The periods used in the calculation.

Return Value

SimpleMovingAverage

Declaring Type

cAlgo.API.Internals.IIndicatorsAccessor


Last update: July 1, 2022

Comments