ChartDirector 6.2 (.NET Edition)

RanTable.setHLOCCols


Usage

[C#] public void setHLOCCols(int i, double startValue, double minDelta, double maxDelta [, double lowerLimit [, double upperLimit ]]);
[VB] Public Sub setHLOCCols(i As Integer, startValue As Double, minDelta As Double, maxDelta As Double [, lowerLimit As Double [, upperLimit As Double ]])

Description

Fill 4 columns in the RanTable with random high, low, open and close records.

The 4 columns will meet the constraints that for each record, the high value will be greater than or equal to the low value, and both the open and close values will be in between the high and low values.

Arguments

ArgumentDefaultDescription
i(Mandatory)The column number of the "high" column. The next column will be assumed to be "low", followed by "open" and "close". The column number starts at 0. The first column is 0. The nth column is (n - 1).
startValue(Mandatory)The initial "open" value.
minDelta(Mandatory)The minimum change allowed for between the current "open" and the previous "close" value, as well as between the current "close" value and the current "open" value. This parameter is usually negative.
maxDelta(Mandatory)The maximum change allowed for between the current "open" and the previous "close" value, as well as between the current "close" value and the current "open" value.
lowerLimit0The minimum value for "high", "low", "open" and "close".
upperLimit[+Infinity]The maximum value for "high", "low", "open" and "close".

Return Value

None