Skip to content

chart ​

Types ​

NameDescription
PointA point on the chart (index, time, price).

Properties ​

bg_color ​

Type: input Color

Returns the color of the chart's background.


fg_color ​

Type: input Color

Returns a color providing optimal contrast with chart.bg_color.


is_heikin_ashi ​

Type: simple bool

Returns true if the chart type is Heikin Ashi.


is_kagi ​

Type: simple bool

Returns true if the chart type is Kagi.


is_line_break ​

Type: simple bool

Returns true if the chart type is Line Break.


is_point_figure ​

Type: simple bool

Returns true if the chart type is Point & Figure.


is_range ​

Type: simple bool

Returns true if the chart type is Range.


is_renko ​

Type: simple bool

Returns true if the chart type is Renko.


is_standard ​

Type: simple bool

Returns true if the chart type is not one of the following: Renko, Kagi, Line break, Point & figure, Range, Heikin Ashi; false otherwise.