Skip to content
Algo Trade Analytics Docs
Pine library page — review pending. This page is preserved for compatibility but is not part of the reviewed search index. Check the official Pine Script v6 reference before relying on its explanation, signature, or example.

line - Pine Script Constants

Constants under the line namespace.

NameTypeDescription
line.style_arrow_bothconst stringLine style for line.new and line.set_style functions. Solid line with arrows on both points.
line.style_arrow_leftconst stringLine style for line.new and line.set_style functions. Solid line with arrow on the first point.
line.style_arrow_rightconst stringLine style for line.new and line.set_style functions. Solid line with arrow on the second point.
line.style_dashedconst stringLine style for line.new and line.set_style functions.
line.style_dottedconst stringLine style for line.new and line.set_style functions.
line.style_solidconst stringLine style for line.new and line.set_style functions.