Click or drag to resize

TechnicalAnalysisRoutinesCalculateSimpleMovingAverage Method

LightningChart .NET Help
Calculate Simple Moving Average using given averaging frame length (window length, or period count N)

Namespace:  Arction.CustomControls.Trader.WinForms.Routines
Assembly:  Arction.WinForms.TradingCharts (in Arction.WinForms.TradingCharts.dll) Version: 10.3.1
Syntax
public static double[] CalculateSimpleMovingAverage(
	double[] values,
	int averagingFrameLength
)

Parameters

values
Type: SystemDouble
Input values
averagingFrameLength
Type: SystemInt32
The number of values to use in averaging each round

Return Value

Type: Double
Averaged values
See Also