Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.yloc.abovebar
On this pageSignatureReturnsExampleNotes

Drawing / Reference

alerta.yloc.abovebar

TradingView-compatible spelling: yloc.abovebar, runs without warnings

Selects whether label y-coordinates represent a price or a bar-relative location. Use yloc.abovebar as a value, without parentheses.

alerta.yloc.abovebar → const string

Value

yloc.abovebar

Returns

const string

Example

alerta.yloc.abovebar
//@version=6indicator("Constant example")selected = yloc.abovebarplot(close)

Notes

  • The value comes from AlertaScript's own constant table. A recognized option is not a promise that every data source supports it or that it behaves exactly as in Pine — check the entry of the function that takes it.

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.