Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.linefill.get_line1
On this pageSignatureParametersReturnsExample

Drawing / Reference

alerta.linefill.get_line1

TradingView-compatible spelling: linefill.get_line1, runs without warnings

Returns the first line handle used by the linefill.

alerta.linefill.get_line1(id) → line handle

Parameters

NameTypeRequiredDefaultDescription
idlinefill handleYes—Linefill handle.

Returns

line handle

Example

alerta.linefill.get_line1
l1 = line.new(bar_index - 10, low[10], bar_index, low)l2 = line.new(bar_index - 10, high[10], bar_index, high)lf = linefill.new(l1, l2, "rgba(239,68,68,0.15)")a = linefill.get_line1(lf)

Names and aliases

Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.

AlertaScript

No results found.

Search by name, alias, or keyword.