Drawing / Reference
alerta.label.style_label_center
TradingView-compatible spelling: label.style_label_center, runs without warnings
Shape and anchor style for a label object. Use label.style_label_center as a value, without parentheses.
alerta.label.style_label_center → const stringValue
label_center
Returns
const stringExample
alerta.label.style_label_center
//@version=6indicator("Constant example")selected = label.style_label_centerplot(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.