SharpTrader.SDK - Developer API

IndicatorsBase..::..SMA Method

Simple moving average

Namespace:  Sharpshooter.SDK.Indicators
Assembly:  Sharpshooter.SDK (in Sharpshooter.SDK.dll)

Syntax


protected static double[] SMA(
	IReadOnlyList<double> values,
	int bars
)

Parameters

values
Type: IReadOnlyList<(Of <(<'Double>)>)>
bars
Type: Int32