ChartDirector 6.0 (ColdFusion Edition)

RanTable.setHLOCCols


Usage

setHLOCCols(i, startValue, minDelta, maxDelta [, lowerLimit [, upperLimit ]])

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