Skip to content

display

Properties

all

Type: const plot_simple_display

A named constant for use with the display parameter of the plot*(), input*(), fill(), bgcolor(), barcolor(), and hline() functions.

Specifies that the values or visuals appear in all possible locations by default.


data_window

Type: const plot_display

A named constant for use with the display parameter of the plot*() and input*() functions.

Specifies that the values are available in the Data Window by default. The Data Window tab is accessible by clicking the "Object Tree and Data Window" icon in the chart's right sidebar.


none

Type: const plot_simple_display

A named constant for use with the display parameter of the plot*(), input*(), fill(), bgcolor(), barcolor(), and hline() functions.

Specifies that the values or visuals are not displayed anywhere by default.


pane

Type: const plot_display

A named constant for use with the display parameter of the plot*() functions.

Specifies that the plotted values are displayed in a chart pane by default.


pine_screener

Type: const plot_display

A named constant for use with the display parameter of the plot() function.

Specifies that, by default, the Pine Screener displays a column for the plot's values when the user applies the indicator to the chosen watchlist.


price_scale

Type: const plot_display

A named constant for use with the display parameter of the plot*() functions.

Specifies that the price scale displays a label for the plot's data, but only if the chart's settings allow it.


status_line

Type: const plot_display

A named constant for use with the display parameter of the plot*() functions.

Specifies that the price scale displays a label for the plot's data, but only if the chart's settings allow it.

Functions

operator+

Combines two display flags (bitwise OR).

Parameters

NameTypeDefaultDescription
aplot_display
bplot_display

Returns: plot_display

Combines display flags (bitwise OR).

Parameters

NameTypeDefaultDescription
aplot_display
bplot_simple_display

Returns: plot_display

Combines display flags (bitwise OR).

Parameters

NameTypeDefaultDescription
aplot_simple_display
bplot_display

Returns: plot_display

Combines display flags (bitwise OR).

Parameters

NameTypeDefaultDescription
aplot_simple_display
bplot_simple_display

Returns: plot_display


operator-

Removes display flags from the first operand (bitwise difference).

Parameters

NameTypeDefaultDescription
aplot_display
bplot_display

Returns: plot_display

Removes display flags (bitwise difference).

Parameters

NameTypeDefaultDescription
aplot_display
bplot_simple_display

Returns: plot_display

Removes display flags (bitwise difference).

Parameters

NameTypeDefaultDescription
aplot_simple_display
bplot_display

Returns: plot_display

Removes display flags (bitwise difference).

Parameters

NameTypeDefaultDescription
aplot_simple_display
bplot_simple_display

Returns: plot_display

基於 MIT 許可證發佈。