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 handleParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
line1_id | line handle | Yes | — | First line handle. |
line2_id | line handle | Yes | — | Second line handle. |
options | object | Not specified | — | { color, title } object. |
Returns
linefill handleExample
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.