Skip to content
Algo Trade Analytics Docs

plot - Pine Script Constants

Constants under the plot namespace.

NameTypeDescription
plot.linestyle_dashedconst plot_line_styleA 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_dottedconst plot_line_styleA 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_solidconst plot_line_styleA 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_areaconst plot_styleA named constant for the ‘Area’ style, to be used as an argument for the style parameter in the plot function.
plot.style_areabrconst plot_styleA 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_circlesconst plot_styleA named constant for the ‘Circles’ style, to be used as an argument for the style parameter in the plot function.
plot.style_columnsconst plot_styleA named constant for the ‘Columns’ style, to be used as an argument for the style parameter in the plot function.
plot.style_crossconst plot_styleA named constant for the ‘Cross’ style, to be used as an argument for the style parameter in the plot function.
plot.style_histogramconst plot_styleA named constant for the ‘Histogram’ style, to be used as an argument for the style parameter in the plot function.
plot.style_lineconst plot_styleA named constant for the ‘Line’ style, to be used as an argument for the style parameter in the plot function.
plot.style_linebrconst plot_styleA 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_steplineconst plot_styleA named constant for the ‘Step Line’ style, to be used as an argument for the style parameter in the plot function.
plot.style_stepline_diamondconst plot_styleA 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_steplinebrconst plot_styleA named constant for the ‘Step line with Breaks’ style, to be used as an argument for the style parameter in the plot function.