Drawing / Reference
alerta.display.price_scale
TradingView-compatible spelling: display.price_scale, runs without warnings
Visibility location for plot output. Use display.price_scale as a value, without parentheses.
alerta.display.price_scale → const stringValue
price_scale
Returns
const stringExample
alerta.display.price_scale
//@version=6indicator("Constant example")selected = display.price_scaleplot(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.