plot - Pine Script Constants
Overview
Section titled “Overview”Constants under the plot namespace.
Constants
Section titled “Constants”| Name | Type | Description |
|---|---|---|
plot.linestyle_dashed | const plot_line_style | A named constant for use with the plot function’s linestyle parameter, which modifies the appearance of plotted lines. If the style argument of the function call specifies a plot style that displays a line, using this constant as the linestyle argument specifies that the plotted line is dashed. |
plot.linestyle_dotted | const plot_line_style | A named constant for use with the plot function’s linestyle parameter, which modifies the appearance of plotted lines. If the style argument of the function call specifies a plot style that displays a line, using this constant as the linestyle argument specifies that the plotted line is dotted. |
plot.linestyle_solid | const plot_line_style | A named constant for use with the plot function’s linestyle parameter, which modifies the appearance of plotted lines. If the style argument of the function call specifies a plot style that displays a line, using this constant as the linestyle argument specifies that the plotted line is solid. |
plot.style_area | const plot_style | A named constant for the ‘Area’ style, to be used as an argument for the style parameter in the plot function. |
plot.style_areabr | const plot_style | A named constant for the ‘Area With Breaks’ style, to be used as an argument for the style parameter in the plot function. Similar to plot.style_area, except the gaps in the data are not filled. |
plot.style_circles | const plot_style | A named constant for the ‘Circles’ style, to be used as an argument for the style parameter in the plot function. |
plot.style_columns | const plot_style | A named constant for the ‘Columns’ style, to be used as an argument for the style parameter in the plot function. |
plot.style_cross | const plot_style | A named constant for the ‘Cross’ style, to be used as an argument for the style parameter in the plot function. |
plot.style_histogram | const plot_style | A named constant for the ‘Histogram’ style, to be used as an argument for the style parameter in the plot function. |
plot.style_line | const plot_style | A named constant for the ‘Line’ style, to be used as an argument for the style parameter in the plot function. |
plot.style_linebr | const plot_style | A named constant for the ‘Line With Breaks’ style, to be used as an argument for the style parameter in the plot function. Similar to plot.style_line, except the gaps in the data are not filled. |
plot.style_stepline | const plot_style | A named constant for the ‘Step Line’ style, to be used as an argument for the style parameter in the plot function. |
plot.style_stepline_diamond | const plot_style | A named constant for the ‘Step Line With Diamonds’ style, to be used as an argument for the style parameter in the plot function. Similar to plot.style_stepline, except the data changes are also marked with the Diamond shapes. |
plot.style_steplinebr | const plot_style | A named constant for the ‘Step line with Breaks’ style, to be used as an argument for the style parameter in the plot function. |