TA-Lib : Technical Analysis Library

Timeseries.ApplyOp.Sma Method 

Simple Moving average Perform the function on the default variable.

[Visual Basic]
Public Function Sma( _ 
   ByVal period As Integer _ 
) As Variable
[C#]
public Variable Sma(
   int period
);
[C++]
public: Variable* Sma(
   int period
);
[JScript]
public function Sma(
   int period
): Variable;

Parameters

period

Return Value

A reference on the transformed variable.

See Also

Timeseries.ApplyOp Class | TA.Lib Namespace