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

Drawing / Reference

alerta.linefill

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

Fills the area between two line handles.

alerta.linefill(line1_id, line2_id, options) → linefill handle

Parameters

NameTypeRequiredDefaultDescription
line1_idline handleYes—First line handle.
line2_idline handleYes—Second line handle.
optionsobjectNot specified—{ color, title } object.

Returns

linefill handle

Example

alerta.linefill
line1 = line.new(bar_index - 10, low[10], bar_index, low)line2 = line.new(bar_index - 10, high[10], bar_index, high)lf = linefill(line1, line2, { color: "rgba(239,68,68,0.15)" })

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.