Create a new timeseries with Open, High, Low, Close variables at the specified period. Data compression and expansion will take place when needed e.g. a variable that is of period of 1 second can be compress into hourly bar.
[Visual Basic] Public Function CreateBar( _ ByVal newPeriod As Periodicity _ ) As Timeseries [C#] public Timeseries CreateBar( Periodicity newPeriod ); [C++] public: Timeseries* CreateBar( Periodicity newPeriod ); [JScript] public function CreateBar( Periodicity newPeriod ): Timeseries;
The new timeseries.
Variable Class | TA.Lib Namespace