The talib.CEIL()
function is used to calculate Vector Ceil (rounding function).
The return value of the talib.CEIL()
function is a one-dimensional array.
array
talib.CEIL(inReal)
The inReal
parameter is used to specify the K-line data.
inReal
true
{@struct/Record Record} structure arrays, numeric arrays
function main() {
var records = exchange.GetRecords()
var ret = talib.CEIL(records)
Log(ret)
}
import talib
def main():
records = exchange.GetRecords()
ret = talib.CEIL(records.Close)
Log(ret)
void main() {
auto records = exchange.GetRecords();
auto ret = talib.CEIL(records);
Log(ret);
}
The CEIL()
function is described in the talib library documentation as: CEIL(Records[Close]) = Array(outReal)