Lipi Reference Lipi

Types

plotStyle

It defines the visual style of a plotted series in Pine Script. These styles determine how data is displayed on the chart, such as lines, histograms, crosses, or areas.

Fields / Members

line A named constant for the 'Line' style, to be used as an argument for the style parameter in the plot function.
linebr 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.
area A named constant for the 'Area' style, to be used as an argument for the style parameter in the plot function.
areabr 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.
smoothedArea A name constant used to used to create a smoothly filled area between the plotted values and the x-axis (zero level or another base value). It provides a gradient-like appearance instead of a sharp, rigid fill.
stepLine A named constant for the 'Step Line' style, to be used as an argument for the style parameter in the plot function.
stepLinebr A named constant for the 'Step line with Breaks' style, to be used as an argument for the style parameter in the plot function.
stepArea A name constant used to create a stepped area chart, where the filled area follows a step-like pattern instead of a smooth curve.
stepAreabr A name constant used to create a stepped background area fill. This style is similar to plotStyle.stepArea, but instead of filling the area with a standard overlay, it applies a background-style fill that integrates smoothly with the chart.
bar Vertical column bars
histogram A named constant for the 'Histogram' style, to be used as an argument for the style parameter in the plot function.
scatter A named constant used to plot individual data points as scattered dots on the chart, instead of a continuous line
triangular A named constant used to plot a triangular wave-like pattern instead of a standard line.
cross A named constant for the 'Cross' style, to be used as an argument for the style parameter in the plot function.