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

Drawing / Reference

alerta.linefill.all

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

An array of every linefill the script has made and not deleted, oldest first.

alerta.linefill.all → array<linefill>

Returns

array<linefill>

Example

alerta.linefill.all
//@version=6indicator("Linefill count", overlay = true)var line a = line.new(bar_index, low, bar_index + 1, low)var line b = line.new(bar_index, high, bar_index + 1, high)var linefill f = linefill.new(a, b, color.new(color.blue, 80))if barstate.islast    log.info("linefills: " + str.tostring(array.size(linefill.all)))plot(close)

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.