Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.chart.fg_color
On this pageSignatureReturnsExample

Metadata / Reference

alerta.chart.fg_color

TradingView-compatible spelling: chart.fg_color, runs without warnings

Pine v6: the chart's foreground (text/axes) color. Use to keep custom drawings legible across light/dark themes.

alerta.chart.fg_color → color

Returns

color

Example

alerta.chart.fg_color
label.new(bar_index, high, "tag", color=chart.fg_color)

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.