draw
Drawings are made in the chart’s handlers; a table may also be made at the top level.(a: Drawing<LineOptions>, b: Drawing<LineOptions>, options?: LinefillOptions): Drawing<LinefillOptions>
Shade between two lines of this script, as drawn (extensions included). The fill goes when
either line is deleted.
Point
A point by time, or by bar number on the chart. Up to 500 bars into the future.LineStyleOptions
A soft glow in the line’s colour:
true for 8px of blur, or 1 to 24px. Lines, polylines and box and label borders.Drawing
LineOptions
BoxOptions
border: null draws no border, as Pine’s border_color = na; fill: null (the default) no fill. A fill may be a gradient.
LabelStyle
How a label sits at its point.up, down, left and right are boxes with a pointer at the
point (an up label sits below it and points up); the corner styles put the box’s corner on
the point; center centres the box on it; none is the text alone. A shape name draws that
shape at the point with the text above it.
LabelOptions
PolylineOptions
LinefillOptions
TablePosition
TableOptions
TableCellOptions
A rounded bar after the cell’s text, filled to
value (0 to 1): a conviction or a reading
against its range. color defaults to the cell’s text colour, track to a faint grey.Table
Text only; no markup, links or images.
Join the cells from (
fromColumn, fromRow) to (toColumn, toRow) into one, which shows
the first cell’s text and style. Merged areas may not overlap; a later merge that overlaps an
earlier one replaces it.