TA-Lib : Technical Analysis Library

Timeseries.SetVar Method

Add a variable to this time series with the specified name. The new variable is built from an array of double.

Overload List

Add a variable to this time series with the specified name. The new variable is built from an array of double.

[Visual Basic] Public Sub SetVar(ByVal String,ByVal Double())
[C#] public void SetVar(string,double[]);
[C++] public: void SetVar(String*,double __gc[]);
[JScript] public function SetVar(String,double[]);

Add a variable to this time series with the specified name. The new variable is built from an array of integer.

[Visual Basic] Public Sub SetVar(ByVal String,ByVal Integer())
[C#] public void SetVar(string,int[]);
[C++] public: void SetVar(String*,int __gc[]);
[JScript] public function SetVar(String,int[]);

Add a variable to this time series with the specified name. If a variable of the same name already exist, it will be replaced.

[Visual Basic] Public Sub SetVar(ByVal String,ByVal Variable)
[C#] public void SetVar(string,Variable);
[C++] public: void SetVar(String*,Variable*);
[JScript] public function SetVar(String,Variable);

See Also

Timeseries Class | TA.Lib Namespace