Skip to main content
Language version: 2 · Reference version: 2.7 · Date: 2026-10-25 · Compiler build: df7b3b14 · Entries: 8

display (enum)

Definition Controls where a plot or indicator output is visible in the UI (pane, price scale, status line, data window). Fields Example

font (enum)

Definition Font family constants for text drawn on boxes, labels, and table cells. Pass them to text_font_family on box.new and label.new, to table.cell, or to the matching *.set_text_font_family setter. The parameter type is font, not string. Fields Example

hlineStyle (enum)

Definition Three line styles for a horizontal level: solid, dashed and dotted. The smallest of the sets, and the only one used by hline. It is not interchangeable with plotStyle. Fields Example

location (enum)

Definition Five places a marker can sit: abovebar, belowbar, top, bottom and absolute. The first two are relative to the bar; top and bottom are relative to the pane; absolute places the mark at a price. It is the location parameter of plotshape and plotchar, and plotarrow has no such parameter at all. Fields Example

plotStyle (enum)

Definition The fourteen ways plot can draw a series: line, linebr, area, areabr, smoothedArea, stepLine, stepLinebr, stepArea, stepAreabr, bar, histogram, scatter, triangular and cross. Name a member with the set in front of it, as in plotStyle.histogram. The br endings are separate members, distinct from the plain forms. Fields Example

scale (enum)

Definition Price-scale placement for scripts declared with indicator() or strategy(). Use the scale argument on those declarations. Default is scale.none. Fields Example

shape (enum)

Definition The twelve markers plotshape can draw: xcross, cross, triangleup, triangledown, flag, circle, arrowup, arrowdown, labelup, labeldown, square and diamond. Written shape.triangleup and so on. Fields Example

size (enum)

Definition Six sizes for a marker: auto, tiny, small, normal, large and huge. Used by the size parameter of plotshape and plotchar. auto is a member like the rest, not the absence of a choice. Fields Example