setColor()

Sets the color of a line, arrow or histogram for displaying buffer values
setColor(color:string)

Parameters

Name Type Действие Значение по умолчанию
color string Line color. Available color options are in Color

Return value

A reference to an object of type Buffer for a chain of calls

Example

bufferLine.setColor(Color.Red);