TA-Lib : Technical Analysis Library

Timeseries.RandomTimeseriesOHLC Method 

Create a Timeseries with variables containing random values. The timestamps are daily starting on January 1st, 1970. The variable are named "Open", "High", "Low", "Close" with values having the following relationships: (1) High >= Close >= Low (2) High >= Open >= Low

[Visual Basic]
Shared Public Function RandomTimeseriesOHLC( _ 
   ByVal size As Integer _ 
) As Timeseries
[C#]
public static Timeseries RandomTimeseriesOHLC(
   int size
);
[C++]
public: static Timeseries* RandomTimeseriesOHLC(
   int size
);
[JScript]
public static function RandomTimeseriesOHLC(
   int size
): Timeseries;

Parameters

size
The number of values

Return Value

See Also

Timeseries Class | TA.Lib Namespace